-
- Downloads
Add basic sidebar for adding questions on a dashboard (#16242)
* add useDebounceValue hook
* add AddCardSidebar components
* extract DashboardSidebars component
* use AddCardSidebar component
* remove the old modal for adding questions
* fix specs, unify dashboard toolbar buttons
* fix enterprise specs
* lint
* fix more specs
* maz empty state tweaks
* review
* specs
* add role attributes
* `Add question` => `Add questions`
* add missing onkeydown handler to the QuestionPickerItem
Co-authored-by:
Maz Ameli <maz@metabase.com>
Showing
- frontend/src/metabase/collections/containers/CollectionSidebar.jsx 2 additions, 2 deletions...src/metabase/collections/containers/CollectionSidebar.jsx
- frontend/src/metabase/components/Breadcrumbs.css 1 addition, 0 deletionsfrontend/src/metabase/components/Breadcrumbs.css
- frontend/src/metabase/components/Breadcrumbs.styled.jsx 5 additions, 0 deletionsfrontend/src/metabase/components/Breadcrumbs.styled.jsx
- frontend/src/metabase/components/Header.jsx 5 additions, 6 deletionsfrontend/src/metabase/components/Header.jsx
- frontend/src/metabase/css/components/header.css 0 additions, 8 deletionsfrontend/src/metabase/css/components/header.css
- frontend/src/metabase/dashboard/components/AddToDashSelectQuestionModal.jsx 0 additions, 38 deletions...ase/dashboard/components/AddToDashSelectQuestionModal.jsx
- frontend/src/metabase/dashboard/components/Dashboard.jsx 20 additions, 90 deletionsfrontend/src/metabase/dashboard/components/Dashboard.jsx
- frontend/src/metabase/dashboard/components/DashboardActions.jsx 25 additions, 17 deletions...nd/src/metabase/dashboard/components/DashboardActions.jsx
- frontend/src/metabase/dashboard/components/DashboardHeader.jsx 28 additions, 22 deletions...end/src/metabase/dashboard/components/DashboardHeader.jsx
- frontend/src/metabase/dashboard/components/DashboardHeader.styled.jsx 21 additions, 0 deletions.../metabase/dashboard/components/DashboardHeader.styled.jsx
- frontend/src/metabase/dashboard/components/DashboardSidebars.jsx 141 additions, 0 deletions...d/src/metabase/dashboard/components/DashboardSidebars.jsx
- frontend/src/metabase/dashboard/components/RefreshWidget.jsx 13 additions, 7 deletionsfrontend/src/metabase/dashboard/components/RefreshWidget.jsx
- frontend/src/metabase/dashboard/components/Sidebar.jsx 2 additions, 2 deletionsfrontend/src/metabase/dashboard/components/Sidebar.jsx
- frontend/src/metabase/dashboard/components/add-card-sidebar/AddCardSidebar.jsx 18 additions, 0 deletions.../dashboard/components/add-card-sidebar/AddCardSidebar.jsx
- frontend/src/metabase/dashboard/components/add-card-sidebar/QuestionList.jsx 70 additions, 0 deletions...se/dashboard/components/add-card-sidebar/QuestionList.jsx
- frontend/src/metabase/dashboard/components/add-card-sidebar/QuestionList.styled.jsx 5 additions, 0 deletions...board/components/add-card-sidebar/QuestionList.styled.jsx
- frontend/src/metabase/dashboard/components/add-card-sidebar/QuestionPicker.jsx 115 additions, 0 deletions.../dashboard/components/add-card-sidebar/QuestionPicker.jsx
- frontend/src/metabase/dashboard/components/add-card-sidebar/QuestionPicker.styled.jsx 11 additions, 0 deletions...ard/components/add-card-sidebar/QuestionPicker.styled.jsx
- frontend/src/metabase/dashboard/components/add-card-sidebar/QuestionPickerItem.jsx 27 additions, 0 deletions...hboard/components/add-card-sidebar/QuestionPickerItem.jsx
- frontend/src/metabase/dashboard/components/add-card-sidebar/QuestionPickerItem.styled.jsx 33 additions, 0 deletions...components/add-card-sidebar/QuestionPickerItem.styled.jsx
Loading
Please register or sign in to comment