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

fix: project user list updating #494

Merged
merged 35 commits into from
Oct 16, 2023
Merged

Conversation

david-code
Copy link
Contributor

@david-code david-code commented Oct 12, 2023

Description

Previously this screen just accepted a list of users as a route param and removed the user when they clicked on the remove button. I've updated this to instead read the list of users/members from the redux store, which makes more sense.

Relies on techmatters/terraso-client-shared#122

Also includes some styling fixes.

Checklist

  • Corresponding issue has been opened
  • New tests added

Related Issues

Fixes #....

Verification steps

David Code Howard added 30 commits October 3, 2023 14:23
This input is intended for the add user to project screen. It will
just encapsulate the logic of validating the user emails exists and
displaying an error message if invalid. In the future the error
message may be more complex, like displaying a modal or something, so
I've decided to make this a whole separate component.
The GraphQL query does not return user preferences, which is kind of
what we want anyways!
(The alt text will likely be removed at a certain point, need to
figure out what the best practice is here).
@david-code david-code force-pushed the fix/project-user-list-updating branch 2 times, most recently from 4598bc0 to e405dfd Compare October 12, 2023 20:00
@david-code david-code force-pushed the fix/project-user-list-updating branch from e405dfd to 34ad9e9 Compare October 12, 2023 20:11
Copy link
Contributor

@ajabeckett ajabeckett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@david-code david-code merged commit 4b6435b into main Oct 16, 2023
4 checks passed
@david-code david-code deleted the fix/project-user-list-updating branch October 16, 2023 22:15
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