-
- Downloads
Add sorting to collection items (#16385)
* Add sorting params to Search entity * Remove pinned items sorting by `collection_position` * Add default sorting to collection items * Add sorting controls * Add test IDs to table head and columns * Move pagination tests into separate file * Make pagination tests independent from dataset * Allow creating pinned items via API in Cypress * Add sorting E2E tests * Fix sorting by "Last edited at" column * Add sorting by "Last edited by" column * Fix BaseItemsTable unit test
Showing
- frontend/src/metabase/collections/components/BaseItemsTable.jsx 90 additions, 5 deletions...nd/src/metabase/collections/components/BaseItemsTable.jsx
- frontend/src/metabase/collections/components/BaseItemsTable.styled.jsx 29 additions, 0 deletions...metabase/collections/components/BaseItemsTable.styled.jsx
- frontend/src/metabase/collections/components/BaseTableItem.jsx 4 additions, 4 deletions...end/src/metabase/collections/components/BaseTableItem.jsx
- frontend/src/metabase/collections/containers/CollectionContent.jsx 32 additions, 8 deletions...src/metabase/collections/containers/CollectionContent.jsx
- frontend/src/metabase/entities/search.js 4 additions, 0 deletionsfrontend/src/metabase/entities/search.js
- frontend/test/__support__/e2e/commands/api/dashboard.js 10 additions, 4 deletionsfrontend/test/__support__/e2e/commands/api/dashboard.js
- frontend/test/__support__/e2e/commands/api/question.js 2 additions, 0 deletionsfrontend/test/__support__/e2e/commands/api/question.js
- frontend/test/metabase/collections/BaseItemsTable.unit.spec.js 6 additions, 1 deletion...end/test/metabase/collections/BaseItemsTable.unit.spec.js
- frontend/test/metabase/scenarios/collections/collection-items-listing.cy.spec.js 297 additions, 0 deletions...scenarios/collections/collection-items-listing.cy.spec.js
- frontend/test/metabase/scenarios/collections/collections.cy.spec.js 0 additions, 58 deletions...est/metabase/scenarios/collections/collections.cy.spec.js
Loading
Please register or sign in to comment