Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invite to team fixes, improvements and API implementation #828

Merged
merged 16 commits into from
Nov 19, 2024

Conversation

elboletaire
Copy link
Member

@elboletaire elboletaire commented Oct 31, 2024

  • Moved files from src/components/Organization/Dashboard to src/components/Organization
  • Removed unnecessary Teams component, the specific dashboard page was created in elements.
  • Created custom radio for the selection, and properly styled it.
  • Moved the invite screens to be in a modal rather than appearing on top of the list
  • Created a generic component for holding members' tables, and updated the TeamMembersList to follow this pattern
  • Created a new TeamPendingMembersList component to fetch and display the pending members list.
  • Implemented the roles fetching via the API, removing our previously hardcoded values.

While implementing the accept invitations flow...

  • Created Auth provider 401 response required changes #839 to tackle an issue I've found doing this
  • Changed how the auth.ts routes were sorted in order to be able to reuse the AuthLayout without requiring an account to not be logged in.
  • Updated the signup component to be reused in the verification for non-existing accounts.
  • Minor changes to AuthProvider to have errors in an Enum.
  • Most if not all cases covered, but the verification process needs a revamp, see Verify page should be interactive #840

Copy link

github-actions bot commented Oct 31, 2024

@github-actions github-actions bot temporarily deployed to pull request October 31, 2024 11:05 Inactive
Copy link

github-actions bot commented Oct 31, 2024

@github-actions github-actions bot temporarily deployed to pull request October 31, 2024 11:05 Inactive
@github-actions github-actions bot temporarily deployed to pull request October 31, 2024 11:36 Inactive
@github-actions github-actions bot temporarily deployed to pull request October 31, 2024 11:36 Inactive
@github-actions github-actions bot temporarily deployed to pull request October 31, 2024 15:01 Inactive
@github-actions github-actions bot temporarily deployed to pull request October 31, 2024 15:01 Inactive
@elboletaire elboletaire marked this pull request as ready for review October 31, 2024 15:03
@elboletaire elboletaire marked this pull request as draft November 5, 2024 09:40
@elboletaire
Copy link
Member Author

Set as draft since I'd like to implement the new invitations list here vocdoni/saas-backend#24

@github-actions github-actions bot temporarily deployed to pull request November 5, 2024 11:11 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 5, 2024 11:11 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 5, 2024 11:35 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 5, 2024 11:35 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 5, 2024 12:18 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 5, 2024 12:18 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 5, 2024 12:37 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 5, 2024 12:37 Inactive
@elboletaire elboletaire marked this pull request as ready for review November 7, 2024 09:19
@github-actions github-actions bot temporarily deployed to pull request November 7, 2024 09:20 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 7, 2024 09:20 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 12, 2024 12:07 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 12, 2024 12:07 Inactive
- Moved team members table to a new component and edited that one to use
  the common component instead
- Created a new PendingTeamMembersList component to show the pending
  members table/list
- Created a new wrapper component to have both of them as <TeamMembers
  />
Also changed the order of the members table order to be more consistent
@github-actions github-actions bot temporarily deployed to pull request November 14, 2024 11:52 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 14, 2024 11:52 Inactive
@elboletaire elboletaire marked this pull request as draft November 15, 2024 14:09
- Created #839 to tackle an issue I've found doing this
- Changed how the auth.ts routes were sorted in order to be able to
  reuse the AuthLayout without requiring an account to not be logged in.
- Updated the signup component to be reused in the verification for
  non-existing accounts.
- Minor changes to AuthProvider to have errors in an Enum
- Most if not all cases covered, but the verification process needs a
  revamp:
  + If the invited user has an unverified account, a page with a button to
    go to the verify page is shown, but such verify requires the params in
    the URL, which cannot be get from this point (at all). The verify user
    needs a revamp so it can be accessed without url params, and show
    there a button to request a new code if required
@elboletaire elboletaire marked this pull request as ready for review November 15, 2024 14:41
@github-actions github-actions bot temporarily deployed to pull request November 15, 2024 14:42 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 15, 2024 14:42 Inactive
@elboletaire
Copy link
Member Author

@emmdim I've added the accept invite flow, see 2668963

Note though that, as I've said in the commit message, the "verify account" page needs a bit of a revamp (mainly allow adding fields manually, and a button to re-request the code if necessary). I haven't attacked this, since it was gonna increase (even more) my PR size. I've created an issue for it though, see #840

src/i18n/locales/en.json Outdated Show resolved Hide resolved
src/i18n/locales/ca.json Outdated Show resolved Hide resolved
src/i18n/locales/es.json Outdated Show resolved Hide resolved
@elboletaire elboletaire merged commit 8b61573 into develop Nov 19, 2024
2 checks passed
@elboletaire elboletaire deleted the f/invite-to-team branch November 19, 2024 14:35
@github-actions github-actions bot temporarily deployed to pull request November 19, 2024 14:36 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 19, 2024 14:36 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants