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

229 - Basic home page with the list of datasets #237

Merged
merged 31 commits into from
Dec 20, 2023

Conversation

MellyGray
Copy link
Contributor

@MellyGray MellyGray commented Nov 21, 2023

What this PR does / why we need it:

This PR adds a basic home page to the SPA to display a list of available datasets to the user. Note that this is only the frontend so is not connected with the backend yet.

Which issue(s) this PR closes:

Special notes for your reviewer:

I refactored FilePaginationInfo class to extract a common class between FilePaginationInfo and DatasetPaginationInfo, this way we can rehuse the pagination functionality.

I'm aware that the Dataverse home page shows collections, datasets and files, but for the aim of simplicity in this first iteration only the datasets are being displayed.

Suggestions on how to test this:

  1. Install the necessary dependencies using npm install.
  2. Build the design system with cd packages/design-system && npm run build.
  3. Navigate back to the root directory with cd ../../.
  4. Start Storybook with npm run storybook.
  5. Visit the Home in the Storybook
  6. For detailed stories of the Home components you can go to the Home section of the storybook

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

Captura de pantalla 2023-11-15 a las 10 52 52

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

Datasets list added to the SPA home page

Additional documentation:

@MellyGray MellyGray linked an issue Nov 21, 2023 that may be closed by this pull request
@MellyGray MellyGray marked this pull request as ready for review November 21, 2023 15:50
@MellyGray MellyGray added the Size: 10 A percentage of a sprint. 7 hours. label Nov 21, 2023
@coveralls
Copy link

coveralls commented Nov 21, 2023

Coverage Status

coverage: 97.922% (-0.3%) from 98.222%
when pulling 99e16d3 on feature/229-basic-home-page-with-the-list-of-datasets
into 48c2521 on develop.

@MellyGray MellyGray added the UI Tasks related to the user interface (UI) or frontend development label Dec 4, 2023
@GPortas
Copy link
Contributor

GPortas commented Dec 11, 2023

@MellyGray Please, can you resolve conflicts?

…into feature/229-basic-home-page-with-the-list-of-datasets
@MellyGray
Copy link
Contributor Author

@GPortas conflicts resolved, there's an e2e test failing but it's the one that it's going to be fixed with

@MellyGray MellyGray removed their assignment Dec 11, 2023
Copy link
Contributor

@GPortas GPortas left a comment

Choose a reason for hiding this comment

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

Code looks good.

The UI looks good (Understanding that it is a boilerplate to build on):

rootdatasete

@GPortas GPortas removed their assignment Dec 12, 2023
@MellyGray
Copy link
Contributor Author

@GPortas I know the boilerplate UI is kind of ugly, we could merge this other PR here so the ugly UI doesn't make it into beta:

@GPortas
Copy link
Contributor

GPortas commented Dec 13, 2023

Waiting for #248 to be merged

@GPortas GPortas self-assigned this Dec 19, 2023
@GPortas
Copy link
Contributor

GPortas commented Dec 19, 2023

@MellyGray Can you please resolve the conflicts?

…into feature/229-basic-home-page-with-the-list-of-datasets
@MellyGray
Copy link
Contributor Author

@GPortas conflicts resolved

@MellyGray MellyGray removed their assignment Dec 19, 2023
@pdurbin
Copy link
Member

pdurbin commented Dec 19, 2023

Now that #248 has been merged into this PR, can we remove the "waiting" label?

@GPortas GPortas removed the Waiting label Dec 20, 2023
Copy link
Contributor

@GPortas GPortas left a comment

Choose a reason for hiding this comment

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

Looks good!

datasetshome

@GPortas GPortas merged commit bab6619 into develop Dec 20, 2023
10 of 12 checks passed
@GPortas GPortas deleted the feature/229-basic-home-page-with-the-list-of-datasets branch December 20, 2023 08:59
jayanthkomarraju pushed a commit to jayanthkomarraju/dataverse-frontend that referenced this pull request May 31, 2024
…h-the-list-of-datasets

229 - Basic home page with the list of datasets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Size: 10 A percentage of a sprint. 7 hours. UI Tasks related to the user interface (UI) or frontend development
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Basic Home Page with the list of datasets
4 participants