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

feat: add gift button to dropdowns #4092

Merged
merged 35 commits into from
Jan 24, 2025
Merged

feat: add gift button to dropdowns #4092

merged 35 commits into from
Jan 24, 2025

Conversation

AmarTrebinjac
Copy link
Contributor

@AmarTrebinjac AmarTrebinjac commented Jan 21, 2025

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

Copy link

vercel bot commented Jan 21, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
daily-webapp ✅ Ready (Inspect) Visit Preview Jan 24, 2025 1:47pm
1 Skipped Deployment
Name Status Preview Updated (UTC)
storybook ⬜️ Ignored (Inspect) Jan 24, 2025 1:47pm

@AmarTrebinjac AmarTrebinjac changed the title feat: add gift butto to dropdowns feat: add gift button to dropdowns Jan 23, 2025
openModal({
type: LazyModal.GiftPlus,
props: {
preselected: comment.author as UserShortProfile,
Copy link
Contributor Author

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

Copy link
Member

@sshanzel sshanzel Jan 24, 2025

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.

Base automatically changed from MI-755 to MI-746-gifting-plus January 24, 2025 13:10
Copy link
Member

@sshanzel sshanzel left a comment

Choose a reason for hiding this comment

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

🚀

@AmarTrebinjac AmarTrebinjac merged commit a1cfa8f into MI-746-gifting-plus Jan 24, 2025
10 checks passed
@AmarTrebinjac AmarTrebinjac deleted the MI-754 branch January 24, 2025 13:59
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.

2 participants