MS1: Open notebook data source in new tab (#46228)
* WIP Open notebook data source in new tab * WIP * Implement the new functionality with `pickerInfo` * Use destructured value * Add the simplest possible E2E test as PoC * Smoke test * Add basic coverage for questions * Add basic coverage for models * Source question has been archived scenario * Add basic permissions test * Expand to the user without wite query permissions * Fix title * Add another permission scenario * Add E2E coverage for a source being native * Add coverage for the native model * Address review comment re: `pickerInfo` * Extract `getUrl` to utils * Add support for the middle/scroll click * Add unit tests * Add a negative test case * Fix title
Showing
- e2e/test/scenarios/question/notebook-link-to-data-source.cy.spec.ts 457 additions, 0 deletions...cenarios/question/notebook-link-to-data-source.cy.spec.ts
- frontend/src/metabase/query_builder/components/notebook/NotebookDataPicker/NotebookDataPicker.tsx 30 additions, 2 deletions...onents/notebook/NotebookDataPicker/NotebookDataPicker.tsx
- frontend/src/metabase/query_builder/components/notebook/NotebookDataPicker/utils.ts 46 additions, 0 deletions...y_builder/components/notebook/NotebookDataPicker/utils.ts
- frontend/src/metabase/query_builder/components/notebook/steps/DataStep/DataStep.unit.spec.tsx 54 additions, 1 deletion...components/notebook/steps/DataStep/DataStep.unit.spec.tsx
Please register or sign in to comment