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

#6823 remove form update on file upload #7045

Merged
merged 2 commits into from Jul 9, 2020

Conversation

sekmiller
Copy link
Contributor

@sekmiller sekmiller commented Jul 1, 2020

What this PR does / why we need it:
The page refresh that happens when a file is uploaded to a dataset in Create mode is annoying to users. This fix will leave the focus on the file upload section of the page

Which issue(s) this PR closes:

Closes #6823 Add Dataset after file upload browser jumps to top of page

Special notes for your reviewer:

Suggestions on how to test this:
Upload files via native on Dataset Create. Also run under dual mode with dcm and upload under native on DS Create,

Does this PR introduce a user interface change? If mockups are available, please link/include them here:

Is there a release notes update needed for this change?:

Additional documentation:

@sekmiller sekmiller moved this from Code Review 🦁 to IQSS Team - In Progress 💻 in IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) Jul 1, 2020
Copy link
Contributor

@scolapasta scolapasta left a comment

Choose a reason for hiding this comment

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

Looks fine, but as @mheppler pointed out this @Form was originally added as part of the changes for dual mode. So I've asked @sekmiller to double check in that way to make sure that removing it doesn't break something there.

@coveralls
Copy link

coveralls commented Jul 1, 2020

Coverage Status

Coverage remained the same at 19.653% when pulling a160e55 on 6823-fix-page-refresh-after-upload into 6daf219 on develop.

@sekmiller
Copy link
Contributor Author

Verified that running in Dual Mode does not require the @Form update.

@sekmiller sekmiller moved this from IQSS Team - In Progress 💻 to Code Review 🦁 in IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) Jul 1, 2020
@sekmiller sekmiller added this to the Dataverse 5 milestone Jul 6, 2020
@djbrooke djbrooke removed this from the Dataverse 5 milestone Jul 7, 2020
IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) automation moved this from Code Review 🦁 to QA 🔎✅ Jul 7, 2020
@kcondon kcondon self-assigned this Jul 9, 2020
@kcondon kcondon merged commit 0636726 into develop Jul 9, 2020
IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) automation moved this from QA 🔎✅ to Done 🚀 Jul 9, 2020
@kcondon kcondon deleted the 6823-fix-page-refresh-after-upload branch July 9, 2020 20:03
@djbrooke djbrooke added this to the Dataverse 5 milestone Jul 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Add Dataset - After upload file complete, browser jumps to top of page
5 participants