-
- Downloads
try to restore correct position when undoing dashcard tab movement or deletion (#35502)
* try to restore the original position even when another card stole it * avoid calling fetchCardData in undoRemoveCardFromDashboard for virtual dashcards * test: e2e test for undo movement and card removal * test to make the ci pass * empty commit * restore old scrollbehaviour * refactored the magic number in a function so that also docs are in a single place
Showing
- e2e/support/helpers/e2e-dashboard-helpers.js 3 additions, 3 deletionse2e/support/helpers/e2e-dashboard-helpers.js
- e2e/test/scenarios/dashboard-cards/dashboard-card-undo.cy.spec.js 96 additions, 0 deletions.../scenarios/dashboard-cards/dashboard-card-undo.cy.spec.js
- frontend/src/metabase/dashboard/actions/tabs.ts 2 additions, 1 deletionfrontend/src/metabase/dashboard/actions/tabs.ts
- frontend/src/metabase/dashboard/reducers.js 9 additions, 2 deletionsfrontend/src/metabase/dashboard/reducers.js
- frontend/src/metabase/dashboard/utils.ts 10 additions, 0 deletionsfrontend/src/metabase/dashboard/utils.ts
Loading
Please register or sign in to comment