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

[UI/UX] More robust redirection for form create/update/delete #38

Closed
harryle95 opened this issue May 13, 2024 · 0 comments · Fixed by #40
Closed

[UI/UX] More robust redirection for form create/update/delete #38

harryle95 opened this issue May 13, 2024 · 0 comments · Fixed by #40
Assignees
Labels
current Issues to be focused on in the current milestone duplicate This issue or pull request already exists ui/ux UI/UX related issues

Comments

@harryle95
Copy link
Owner

Summary
Describe changes for the current UI/UX that you want to see.

Previously, form submissions trigger redirection to static routes - i.e. after submitting create, user is always directed to the details page. This is fine in most cases, except for when users want to create a new dependent entry in a create form. For instance, a user is creating a new study, but also wants to create a new investigation that the new entry references. Upon finishing creating the investigation, the previous logic redirects the user to the /study pages, whereas the ideal behavior is to direct the user to /study/create page.

This is probably solved using state and useLocation logic

Screenshots
If applicable, add screenshots to help explain your request.

@harryle95 harryle95 added ui/ux UI/UX related issues duplicate This issue or pull request already exists labels May 13, 2024
@harryle95 harryle95 added the current Issues to be focused on in the current milestone label May 13, 2024
@harryle95 harryle95 linked a pull request May 14, 2024 that will close this issue
@harryle95 harryle95 self-assigned this May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
current Issues to be focused on in the current milestone duplicate This issue or pull request already exists ui/ux UI/UX related issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant