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 User recoil hooks #1960

Closed
6 tasks
RomaricMourgues opened this issue Feb 16, 2022 · 0 comments
Closed
6 tasks

Refactor User recoil hooks #1960

RomaricMourgues opened this issue Feb 16, 2022 · 0 comments
Assignees

Comments

@RomaricMourgues
Copy link
Contributor

RomaricMourgues commented Feb 16, 2022

  • Read then remove the useGetOrFetchUser, search-user.ts, selector/current-user, atoms/user-list (they are unused)
  • Use a list of users instead of a atom family
  • Create a selector to get a single user
  • A function to set the userState from different places in the app (when getting workspace users, channel members etc) (see image 1)
  • Extend the search function to get frontend results too
  • Update the useUser hook to get a user without suspense (see image 2 in case we still have await in the default)

Screenshot 2022-02-16 at 12.19.28.png

Screenshot 2022-02-16 at 12.22.15.png

stephanevieira75 pushed a commit to stephanevieira75/Twake that referenced this issue Mar 4, 2022
stephanevieira75 pushed a commit to stephanevieira75/Twake that referenced this issue Mar 4, 2022
stephanevieira75 pushed a commit to stephanevieira75/Twake that referenced this issue Mar 7, 2022
stephanevieira75 pushed a commit to stephanevieira75/Twake that referenced this issue Mar 8, 2022
stephanevieira75 pushed a commit to stephanevieira75/Twake that referenced this issue Mar 8, 2022
stephanevieira75 pushed a commit to stephanevieira75/Twake that referenced this issue Mar 8, 2022
stephanevieira75 pushed a commit to stephanevieira75/Twake that referenced this issue Mar 8, 2022
stephanevieira75 pushed a commit to stephanevieira75/Twake that referenced this issue Mar 8, 2022
stephanevieira75 pushed a commit to stephanevieira75/Twake that referenced this issue Mar 9, 2022
stephanevieira75 pushed a commit to stephanevieira75/Twake that referenced this issue Mar 9, 2022
stephanevieira75 pushed a commit to stephanevieira75/Twake that referenced this issue Mar 9, 2022
stephanevieira75 pushed a commit to stephanevieira75/Twake that referenced this issue Mar 9, 2022
stephanevieira75 pushed a commit to stephanevieira75/Twake that referenced this issue Mar 9, 2022
stephanevieira75 pushed a commit to stephanevieira75/Twake that referenced this issue Mar 9, 2022
stephanevieira75 pushed a commit to stephanevieira75/Twake that referenced this issue Mar 10, 2022
stephanevieira75 pushed a commit to stephanevieira75/Twake that referenced this issue Mar 10, 2022
stephanevieira75 pushed a commit to stephanevieira75/Twake that referenced this issue Mar 10, 2022
stephanevieira75 pushed a commit to stephanevieira75/Twake that referenced this issue Mar 10, 2022
stephanevieira75 pushed a commit to stephanevieira75/Twake that referenced this issue Mar 10, 2022
stephanevieira75 pushed a commit to stephanevieira75/Twake that referenced this issue Mar 10, 2022
stephanevieira75 pushed a commit to stephanevieira75/Twake that referenced this issue Mar 10, 2022
stephanevieira75 pushed a commit to stephanevieira75/Twake that referenced this issue Mar 11, 2022
stephanevieira75 pushed a commit to stephanevieira75/Twake that referenced this issue Mar 11, 2022
stephanevieira75 pushed a commit to stephanevieira75/Twake that referenced this issue Mar 11, 2022
stephanevieira75 pushed a commit to stephanevieira75/Twake that referenced this issue Mar 11, 2022
stephanevieira75 pushed a commit to stephanevieira75/Twake that referenced this issue Mar 11, 2022
stephanevieira75 pushed a commit to stephanevieira75/Twake that referenced this issue Mar 11, 2022
stephanevieira75 pushed a commit to stephanevieira75/Twake that referenced this issue Mar 11, 2022
stephanevieira75 pushed a commit to stephanevieira75/Twake that referenced this issue Mar 11, 2022
RomaricMourgues pushed a commit that referenced this issue Mar 21, 2022
* #1960 Implement users list search in frontend

* #1960 Implement workspace list in user object

* #1960 Add missing translations in workspace members table

* #1960 Filter results in channel participants popup

* #1960 Add guests in user list state

* #1960 Allow mentions to use user list state

* #1960 Add ellipsis in member channel row

* #1960 Resolve threads
RomaricMourgues pushed a commit that referenced this issue Mar 22, 2022
* #1960 Implement users list search in frontend

* #1960 Implement workspace list in user object

* #1960 Add missing translations in workspace members table

* #1960 Filter results in channel participants popup

* #1960 Add guests in user list state

* #1960 Allow mentions to use user list state

* #1960 Add ellipsis in member channel row

* #1960 Resolve threads
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

No branches or pull requests

3 participants