IQSS / dataverse-frontend

An upcoming and modernized UI for Dataverse

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'Loading' text briefly appears when navigating from Home Page to View Dataset Page

ekraffmiller opened this issue Β· comments

From Guillermo's QA comments, steps to reproduce:

I have done different tests, which I share below with videos and the steps to reproduce.

I'm using emojis (🚨 and βœ…) to explain if the behavior is working as expected or if revision is required.

TEST 1 - Create first dataset from empty installation

creatingvideo.mov

Steps:

  1. Dataverse is empty, so I log in via JSF to create a data set.
  2. I create a test dataset through JSF
  3. I navigate to the JSF home page to see how the created dataset card is displayed in the list.
  4. βœ… I navigate to the SPA home page to verify that the new dataset is displayed in the list with the same appearance as in JSF.
  5. 🚨 I click the dataset in the list and navigate to the dataset page. I see that when navigating, instead of directly opening the dataset page, it goes through an intermediate page where a text "loading" appears (very quickly, but noticeable). See the following screenshot:
LOADINGPAGE
  1. βœ… The dataset page correctly displays the requested dataset

Originally posted by @GPortas in #274 (review)

I think the loading functionality should appear lower in the component hierarchy, possibly including a skeleton component. In my opinion there should be some visual communication to the user that there is data being fetched and the website is actively working. Attempting to recreate every aspect of the JSF site (including the not ideal ones) would be counterproductive I think. Happy to take this item and work with stakeholders.