Skip to content

Comments

Draft/experimental user dataset upload tab UX improvements#1394

Draft
bobular wants to merge 8 commits intomainfrom
user-upload-experimental-ux
Draft

Draft/experimental user dataset upload tab UX improvements#1394
bobular wants to merge 8 commits intomainfrom
user-upload-experimental-ux

Conversation

@bobular
Copy link
Member

@bobular bobular commented May 8, 2025

End of summer 2025 update

It seems that just this poorly named commit contains the business logic for upload-form-subtype remembering
e7c5235

It may be possible to cherry-pick it in to a new branch if we need it.

I'm not sure why this branch has all the other commits in it. Merging from main is a no-no!


Something to discuss in our meeting.

If the user navigates to the phenotype upload form, then the help tab, and then back to the upload form, it should
a) remember that they were on the phenotype form
b) remember anything they filled in

This PR achieves a) but I have tried several things for b) and couldn't get them to work.

  1. keepalive-for-react - just couldn't get the basic version to work. The react-router-dom version requires an upgrade to react-router-dom and looks like it would require a major rewrite
  2. react-keepalive - 6 years old and didn't work

One solution would be to have the tabs all rendered but not visible, but this would require a major rewrite also.

Another solution is to keep saving the upload form state via redux.

@bobular bobular marked this pull request as draft May 8, 2025 22:04
Base automatically changed from fix-1371-user-upload-fixes to main May 14, 2025 20:30
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