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

Create StudioTable components #12731

Merged
merged 78 commits into from
May 15, 2024
Merged

Create StudioTable components #12731

merged 78 commits into from
May 15, 2024

Conversation

ErlingHauan
Copy link
Contributor

@ErlingHauan ErlingHauan commented Apr 30, 2024

Description

Created two new Studio components, StudioTableRemotePaginationand StudioTableLocalPagination. They are visually identical, but handles pagination and sorting differently.

StudioTableRemotePagination should be used where pagination and sorting is handled externally, and data is fetched pagewise in chunks. This will be the replacement of the MUI DataGrid component that is currently used in the dashboard.

StudioTableLocalPagination is a wrapper around StudioTableRemotePagination. It should be used when a complete data set has been fetched. Here, the pagination and sorting will be handled internally by the component itself.

Screenshot

image

Related Issue(s)

#9191

Verification

  • Your code builds clean without any errors or warnings
  • Manual testing done (required)
  • Relevant automated test added (if you find this hard, leave it and we'll help out)

Documentation

  • User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)
  • Added documentation to Storybook

@github-actions github-actions bot added the solution/studio/designer Issues related to the Altinn Studio Designer solution. label May 8, 2024
Copy link
Collaborator

@framitdavid framitdavid left a comment

Choose a reason for hiding this comment

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

@ErlingHauan, solid work! 👏

@ErlingHauan ErlingHauan merged commit a4dae1e into main May 15, 2024
10 checks passed
@ErlingHauan ErlingHauan deleted the studio-table-components branch May 15, 2024 18:22
Jondyr pushed a commit that referenced this pull request Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dashboard Area: Related to the dashboard area/ui-component Area: Related to UI components in Altinn Studio solution/studio/designer Issues related to the Altinn Studio Designer solution.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants