-
Notifications
You must be signed in to change notification settings - Fork 6
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
[#8467] Display questions (Filters and Like buttons) #5744
Conversation
353354d
to
671c9e2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work, I left you some remarks.
dcfb26b
to
68f2f1c
Compare
Thanks for your comments @vellip! Hopefully I've got all of them, alongside converting to functional components. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your changes! I left you some final few notes, after that feel free to merge.
useEffect(() => { | ||
setIsOnShortlist(isOnShortlist) | ||
}, [isOnShortlist]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's for users that are on "shortlists": I've reverted the HTML for this, in case there will be a future ticket to style it: https://github.com/liqd/a4-meinberlin/pull/5744/files#diff-049654a90fe27d059ce8bf97f8bfba60e7543bc13b2e847888e1010604fb2462R43-R47
68f2f1c
to
adcd33e
Compare
@vellip thanks for your comments as well! Merged 🚀 |
Describe your changes
This PR:
<Filters />
component and changes the filters to be submittable via a<button />
<LikeCard />
component used in both<QuestionModerator />
and<QuestionUser />
<Filters />
<LikeCard />
Tasks