-
Notifications
You must be signed in to change notification settings - Fork 242
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
feat: add gift button to dropdowns #4092
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
This reverts commit 3f53473.
openModal({ | ||
type: LazyModal.GiftPlus, | ||
props: { | ||
preselected: comment.author as UserShortProfile, |
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.
@sshanzel is there maybe an even simpler profile type we can use in the gift modal so that we dont have to pass "as userShortProfile" a lot of places? Stuff like reputation, createdAt etc aren't always required in many places, but are in UserShortProfile
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.
They are pretty much the same if I'm not mistaken. So we can probably just delete one or the other. I would recommend deleting the Author
since the UserShortProfile
is directly based from a GraphQL fragment. And also that the Author
from GraphQL is based from the same fragment.
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.
🚀
Changes
Events
Did you introduce any new tracking events?
Experiment
Did you introduce any new experiments?
Manual Testing
Caution
Please make sure existing components are not breaking/affected by this PR
Preview domain
https://mi-754.preview.app.daily.dev