-
- Downloads
Fix the stale collection information when the source in the data selector changes (#40063) (#40167)
* Bridge out of sync collection information between the card and the state * Account for models * Use existing helpers * Create virtual schema if it doesn't exist yet * Add E2E reproduction for #39812 * Create virtual schema if it doesn't exist yet * Create virtual schema if it doesn't exist yet * Create virtual schema if it doesn't exist yet * Expand the reproduction to include the nested question scenario * Improve assertions * Convert E2E repro to TS * Fix tests --------- Co-authored-by:Nemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com> Co-authored-by:
Alexander Polyankin <alexander.polyankin@metabase.com>
Showing
- e2e/test/scenarios/question/reproductions/39812-data-selector-virtual-table-collection-change.cy.spec.ts 103 additions, 0 deletions...-data-selector-virtual-table-collection-change.cy.spec.ts
- frontend/src/metabase/entities/schemas.js 17 additions, 11 deletionsfrontend/src/metabase/entities/schemas.js
- frontend/src/metabase/entities/schemas.unit.spec.js 10 additions, 2 deletionsfrontend/src/metabase/entities/schemas.unit.spec.js
- frontend/src/metabase/entities/tables.js 23 additions, 10 deletionsfrontend/src/metabase/entities/tables.js
Please register or sign in to comment