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

Sending state between pages #31

Open
Edward-Upton opened this issue Mar 22, 2022 · 1 comment
Open

Sending state between pages #31

Edward-Upton opened this issue Mar 22, 2022 · 1 comment

Comments

@Edward-Upton
Copy link
Contributor

To show feedback to the user (for example on saving/editing) we need to show a notification popup of the action that has been done.

To do this we need to provide context on redirect to show a popup, @Samueljh1 suggested you can send state with a redirect but don't know if this is possible using NextJS router.

Instead, we could "send" it by using a context variable that only the Page component needs access to, and other components will update.

@Edward-Upton Edward-Upton added enhancement New feature or request high-priority labels Mar 22, 2022
@Edward-Upton Edward-Upton added this to To Do in Enhanced MVP via automation Mar 22, 2022
@Edward-Upton
Copy link
Contributor Author

Since you now edit everything live, we should probably instead give status notifications on successful changes, actions, or errors. We can use ChakraUI's Toasts for this.

@Edward-Upton Edward-Upton added this to To do in Fully Customizable Platform via automation Sep 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request high-priority
Development

No branches or pull requests

1 participant