-
Notifications
You must be signed in to change notification settings - Fork 4.2k
feat(dashboard): Step conditions autosave #8134
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(dashboard): Step conditions autosave #8134
Conversation
✅ Deploy Preview for dashboard-v2-novu-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
3d42bc2 to
a0d365b
Compare
a0d365b to
9377221
Compare
LetItRock
left a comment
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.
hey, found a few things that we need to improve:
- When I pick the field value with keyboard the page gets refreshed.
Screen.Recording.2025-04-22.at.12.53.38.mov
- When the field value changes we don't save the form right away.
Screen.Recording.2025-04-22.at.12.53.54.mov
- When the group or rule is removed the form is not saved right away.
Screen.Recording.2025-04-22.at.12.56.01.mov
- When group or rule is duplicated the page get's refreshed.
Screen.Recording.2025-04-22.at.12.56.21.mov
| onAddRule={() => { | ||
| saveForm(); | ||
| return true; |
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.
please define one callback and reuse it between the props
| return { | ||
| ...uiSchemaDefaultValues, | ||
| ...controlValues, | ||
| }; |
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.
why we needed to update this?
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.
There's a bug where if you visit step conditions and make a change before touching the template, your app crashes when visiting the template afterwards.
9377221 to
e843f49
Compare
e843f49 to
d08d68a
Compare
d08d68a to
34e5fcd
Compare
LetItRock
left a comment
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.
nice, all works well! 🙌
What changed? Why was the change needed?