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

Dataset Tabular File Ingest - Displaying both "success" and "ingest in process" message is confusing/wrong #2709

Closed
sbarbosadataverse opened this issue Oct 29, 2015 · 11 comments

Comments

@sbarbosadataverse
Copy link

There should maybe be no "success" message until the files completes ingest

@sbarbosadataverse sbarbosadataverse added this to the 4.3 milestone Oct 29, 2015
@mercecrosas mercecrosas modified the milestones: 4.3, In Review Nov 30, 2015
@scolapasta scolapasta removed their assignment Jan 27, 2016
@mheppler mheppler changed the title when upload tabular file, you get "success: files have been update" at the same time the ingesting file reads "ingest in process." Dataset Tabular File Ingest - Displaying both "success" and "ingest in process" message is confusing/wrong Jan 28, 2016
@mheppler mheppler added UX & UI: Design This issue needs input on the design of the UI and from the product owner Feature: File Upload & Handling labels Jan 28, 2016
@scolapasta scolapasta modified the milestone: Not Assigned to a Release Jan 28, 2016
@pdurbin
Copy link
Member

pdurbin commented Jun 25, 2017

@oscardssmith have you noticed this while working on #3767?

@mheppler
Copy link
Contributor

mheppler commented Apr 2, 2018

Closed the issue Tabular File Ingest: No message indicating page will refresh on its own, or if user needs to manually refresh #1798 as a duplicate of this issue.

Recently saw this issue in my localhost develop branch, build d317d23, and agree that is confusing and should be clearer in the UI what the process will be for the end user.

screen shot 2018-04-02 at 2 51 23 pm

The "Ingest in progess..." message will automatically be removed from the page, but the disabled state for the Publish, Edit and Upload buttons remains. In addition to the buttons, there is other functionality on the page that is broken when the page doesn't refresh properly, including the Explore button being added to the file table row, as well as the "Upload Completed with Errors" hover popover linked to the warning icon not working, as reported in issue #3491.

Recently, we have developed "workflows" for publish, that use the warning message block to inform the user about the dataset lock status. We should apply similar messaging to the file ingest workflow, explaining why those buttons are disable and for how long. We should also fix the page refresh to properly update everything on the page.

@djbrooke djbrooke added ready for estimation and removed Feature: File Upload & Handling UX & UI: Design This issue needs input on the design of the UI and from the product owner User Role: Depositor Creates datasets, uploads data, etc. labels Apr 9, 2019
@djbrooke
Copy link
Contributor

  • Improve messaging on the page (top of page and on ingesting files, possible lock messaging). The files are there and available for download, but the ingest process is not yet complete. Expectations setting is important.
  • Verify that the auto-page refresh is working as expected (work with @sbarbosadataverse on this one).

@TaniaSchlatter
Copy link
Member

Issues #3491 and #3794 are also page-refresh related, and might be able to be addressed with this issue.

@kcondon
Copy link
Contributor

kcondon commented May 7, 2019

@mheppler @sekmiller Issues found, testing with Chrome:
-The explore button still needs a manual refresh to appear, at least when a configure button is also configured. Happens with 50by1000 .dta and collier-1740.csv but not some very small .csv files. #3491 is not only about upload with errors but displaying explore on ingest.
-Getting weird upload failures for some larger files, eg. feaironlaitin.dta
Upload unsuccessful (400: Bad Request). (2MB): other failures say network error for 3MB zip files. Would someone try there against dataverse-internal?
Retested on dvn-build, works. This appears to be a server issue.
-Sometimes the configure/explore buttons appear immediately, while ingest is in progress. Noticed during multiple upload/delete/upload.

@mheppler
Copy link
Contributor

mheppler commented May 7, 2019

Coordinated with @kcondon to try and replicate some of the issues he saw. Here is what I confirmed locally in the 2709-ingest-warning-messaging branch.

  • fearonLaitainData.dta uploaded and ingested with no trouble, expect when the page refreshed when ingest completed, there was no success msg or Explore btn displayed -- the Explore btn appears if you manually refresh
  • 50by1000.dta had a completely different successful ingest... the Explore btn appears while "ingest in progress..." and "Dataset Lock" warning msg are displayed... the page never refreshes, no blue spinner checking on the ingest status... and you have manually refresh the page to remove the "ingest in progress..." msg and unlock the edit + upload btns... again, no success msg

Screenshot of the empty Dataset Lock warning msg, as well as Explore btn displaying before ingest completes.

Screen Shot 2019-05-07 at 9 26 52 AM

@sekmiller
Copy link
Contributor

The fix I put in to display the explore button when ingest completes wipes out the success message (you see it for a moment and then it goes away.) This is because the explore button is rendered based on the fileDownloadhelper which is injected into the DatasetPage bean. In order to refresh the "helper" you have to reload the whole page. I'll see if there's a tricky way to repost the success message after reloading the page.

@sekmiller
Copy link
Contributor

I fixed the ingest success message so that it will appear after the page reloads any explore buttons.

I haven't seen an empty locked message. Are there any tricky steps needed to recreate?

@mheppler
Copy link
Contributor

mheppler commented May 7, 2019

@sekmiller -- that could be due to a local dev setup error on my part, by not copying over the new bundle in this branch over to my local properties files directory that I configured for internationalization.

@sekmiller sekmiller removed their assignment May 8, 2019
sekmiller added a commit that referenced this issue May 8, 2019
@kcondon kcondon self-assigned this May 8, 2019
@kcondon kcondon closed this as completed May 8, 2019
@kcondon kcondon removed the Status: QA label May 8, 2019
@djbrooke djbrooke added the Medium label May 9, 2019
@pdurbin pdurbin added this to the 4.14 milestone May 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants