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: prompt modal on edit #3800

Merged
merged 15 commits into from
Nov 14, 2024
Merged

feat: prompt modal on edit #3800

merged 15 commits into from
Nov 14, 2024

Conversation

AmarTrebinjac
Copy link
Contributor

@AmarTrebinjac AmarTrebinjac commented Nov 14, 2024

Changes

Added prompt modal on edit, as well as moving remaining create/edit flows into usePostToSquad.

Originally when I updated this I tried to consolidate everything in as few callbacks as possible. That was a mistake. Made it confusing to work with and caused some weird behaviors, so I decided on just giving each action its own callback.

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

MI-584 #done
MI-619 #done

create post

working create

created individual callbacks

remove unnecessary callbacks

switch edit and create text

Minor refactors
Copy link

vercel bot commented Nov 14, 2024

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

Name Status Preview Updated (UTC)
daily-webapp ✅ Ready (Inspect) Visit Preview Nov 14, 2024 9:48pm
1 Skipped Deployment
Name Status Preview Updated (UTC)
storybook ⬜️ Ignored (Inspect) Nov 14, 2024 9:48pm

@AmarTrebinjac
Copy link
Contributor Author

Anyone know why preview isn't working properly?

Copy link
Contributor

@rebelchris rebelchris left a comment

Choose a reason for hiding this comment

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

Besides Lee's feedback looks good

Copy link
Contributor

@ilasw ilasw left a comment

Choose a reason for hiding this comment

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

Great! Looks good to me, tested in local env and works like a charm :)

Just coordinate with @sshanzel before merge pls

@sshanzel sshanzel merged commit 75aeb0d into MI-521 Nov 14, 2024
9 checks passed
@sshanzel sshanzel deleted the MI-584 branch November 14, 2024 21:51
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.

4 participants