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

Refactor some user invite code #514

Merged
merged 8 commits into from
Sep 4, 2024

Commits on Sep 2, 2024

  1. Refactor some user invite code

    ## Why?
    I'm about to change the functionality to allow user invitations to still work when the user already belongs to another participant. I'm doing this refactoring to make it easier for me to add that functionality as well as make it easier to be reviewed.
    
    ## What?
    - Rename a function to avoid confusion with an upcoming function to send an invite to an existing user
    - Split out the handler for inviting a new participant/user to participantsUsers
    - Break down the handler for creating a new participant
    alex-yau-ttd committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    ce66901 View commit details
    Browse the repository at this point in the history
  2. Remove unused imports

    alex-yau-ttd committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    f479ea9 View commit details
    Browse the repository at this point in the history
  3. Create wrapper method to assign keycloak user role

    We only have the one keycloak user role, so extracted into it's own method and constant, so we have less magic strings.
    alex-yau-ttd committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    5b776c4 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

  1. Delete userStore.ts

    alex-yau-ttd committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    3f6273a View commit details
    Browse the repository at this point in the history
  2. Rename and move const

    alex-yau-ttd committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    1ea6565 View commit details
    Browse the repository at this point in the history
  3. Fix build

    alex-yau-ttd committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    e9f26d5 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. Re-add trailing commas

    My alt+shift+O command removed them. Saving the file added them back
    alex-yau-ttd committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    1d39485 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8a0108e View commit details
    Browse the repository at this point in the history