Add toast after moving questions and models (#23756)
* Add toast message after moving questions or models * Add test * Address feedback: extract component into its own file * Remove undo action on question move because it doesn't work in all cases * Fix failed test nodata user can't turn a question into a model * Remove commented code that could confuses more people
Showing
- frontend/src/metabase/entities/questions.js 7 additions, 0 deletionsfrontend/src/metabase/entities/questions.js
- frontend/src/metabase/nav/containers/MainNavbar/SidebarItems/SidebarCollectionLink.tsx 1 addition, 0 deletions...tainers/MainNavbar/SidebarItems/SidebarCollectionLink.tsx
- frontend/src/metabase/query_builder/components/QueryModals.jsx 27 additions, 6 deletions...end/src/metabase/query_builder/components/QueryModals.jsx
- frontend/src/metabase/query_builder/components/QuestionMoveToast/QuestionMoveToast.styled.tsx 13 additions, 0 deletions...components/QuestionMoveToast/QuestionMoveToast.styled.tsx
- frontend/src/metabase/query_builder/components/QuestionMoveToast/QuestionMoveToast.tsx 40 additions, 0 deletions...uilder/components/QuestionMoveToast/QuestionMoveToast.tsx
- frontend/src/metabase/query_builder/components/QuestionMoveToast/index.ts 1 addition, 0 deletions...abase/query_builder/components/QuestionMoveToast/index.ts
- frontend/test/metabase/scenarios/question/question-management.cy.spec.js 87 additions, 11 deletions...etabase/scenarios/question/question-management.cy.spec.js
Loading
Please register or sign in to comment