This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Dec 10, 2024
-
-
github-automation-metabase authored
Co-authored-by:
Phoomparin Mano <poom@metabase.com>
-
- Dec 03, 2024
-
-
github-automation-metabase authored
* add withVisualizationSelector prop * add tests * add to docs * use default layout in tests * only use custom layout when needed * make withChartTypeSelector false by default Co-authored-by:
Phoomparin Mano <poom@metabase.com>
-
- Nov 27, 2024
-
-
github-automation-metabase authored
* add background-inverse color mapping * add tooltip themes * tooltip theming * apply to echarts tooltip * update tooltip default color * update tooltip defaults * add sdk color mapping * add additional theme colors * add echarts tooltip story * add loki tests * remove background-inverse theme color option * add to docs * use ChartTooltipRoot for story and update loki snapshot * update secondaryTextColor docstring * fix unit tests Co-authored-by:
Phoomparin Mano <poom@metabase.com>
-
- Nov 23, 2024
-
-
Denis Berezin authored
* feat(sdk): migrate existing sdk tests to cypress component testing * Self review
-
- Nov 21, 2024
-
-
Phoomparin Mano authored
* add stories for dark theme * add dark theme editor stories * add entity picker colors * add editor-only picker * remove redundant story wrapper for dark theme stories * add theme keys to docs * add warning message
-
- Nov 13, 2024
-
-
Nicolò Pretto authored
* wip: Alert component for SDKError * use the alert component for the default sdk error component * fix tests * update e2e
-
- Nov 12, 2024
-
-
Phoomparin Mano authored
* add filter picker skeleton * add filter picker skeleton * add picker in popover use case * reuse FilterColumnPicker * add question filter logic * remove fixed width from popover * add onClose handler * add e2e test skeleton * contain FilterBar in Box in story * add a test for adding filters * update e2e tests * add filter picker to the docs * inline props and functions * update the props
-
Oisin Coveney authored
-
- Nov 07, 2024
-
-
Oisin Coveney authored
-
- Nov 04, 2024
-
-
Phoomparin Mano authored
feat(sdk): ability to enforce the destination collection to save to and hide the collection picker (#49251) * add ability to hide the collection picker * add save options * make sure collectionId is fresh * update sdk question form component * make collectionId accept null * apply saveOptions to sdk components * revert to use initialCollectionId as context name * target the correct collection id * add e2e tests * update e2e tests * move into within * update test * remove collectionId from default args * revert e2e of hide columns * make e2e helper more generic * use saveToCollectionId prop to save to a specific collection * update e2e tests * update comment formatting Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev> * clean up leftover changes from an earlier version * readme update * indicate that saveToCollectionId is only applicable to static questions * revert QuestionEditor.isSaveEnabled defaults * update comment format * remove unused initialCollectionId prop * experiment: try to fix failing custom-columns e2e --------- Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev>
-
- Oct 29, 2024
-
-
Oisin Coveney authored
-
- Oct 24, 2024
-
-
Phoomparin Mano authored
* implement saving questions in interactive question * close modal on create question * add e2e test for saving questions
-
Denis Berezin authored
-
- Oct 18, 2024
-
-
Oisin Coveney authored
-
- Oct 14, 2024
-
-
Oisin Coveney authored
-
- Sep 25, 2024
-
-
Oisin Coveney authored
-
- Sep 03, 2024
-
-
Oisin Coveney authored
-
- Sep 02, 2024
-
-
Oisin Coveney authored
Co-authored-by:
Bryan Maass <bryan.maass@gmail.com> Co-authored-by:
Nicolò Pretto <info@npretto.com>
-
- Aug 21, 2024
-
-
Oisin Coveney authored
-
- Aug 20, 2024
-
-
Uladzimir Havenchyk authored
* refactor: sort import members inside destructuring * Show an error message when the temporal unit is not applicable to a dashboard card (#46983) * Fix tests * Add tests * Add tests * Fix types * Fix types --------- Co-authored-by:
Alexander Polyankin <alexander.polyankin@metabase.com>
-
- Aug 16, 2024
-
-
Oisin Coveney authored
-
- Aug 14, 2024
-
-
Phoomparin Mano authored
* update question state * update question state * reload metadata for runQuestionOnNavigate * fix runnable queries * fix cannot run question * extract question predicate functions to question.ts * update types * create utils subfolder for query builder * fix query builder predicate imports * naming tweaks to be more self-explanatory * document the non-intuitive loadQuestion useEffect * change imports to support metric * remove unused import * revert originalQuestion check to try to fix e2e failures --------- Co-authored-by:
Oisin Coveney <oisin@metabase.com>
-
Romeo Van Snick authored
* Add defaultTemporalBucket helper * Add helper to pick default breakout * Move breakout to the front or add one if it does not exist * Add updateQuery to AggregationPicker props * Add tests for creation and reordering of temporal breakouts * Reuse defaultTemporalBucket in withDefaultTemporalBucket * Reorder query operations to make sure the correct names get generated * Remove dependency on referential equality of breakout * Rename updateQuery to onQueryChange * Remove onAddAggregations and onUpdateAggregation for onQueryChange * Extract query update in to separate function * Remove on{Add,Update,Remove}Aggregation in favor of onQueryChange * Remove aggregations from summarize details * Fix e2e tests * Remove conflicting test * Fix recent clause in unit tests * Fix superflouous check for columnAndBucket * Future proof breakout check * Remove reliance on details in the useSummarize hook * Remove details in unit tests * Removal of default summarization should not trigger a query change
-
- Aug 12, 2024
-
-
Denis Berezin authored
-
Oisin Coveney authored
-
- Aug 02, 2024
-
-
Ryan Laurie authored
* YOLO * fix a lot of tests * fix more tests * fix unit tests * remove comment * update tests and formatting * add debug code * remove debug code
-
Ryan Laurie authored
* hide notebook button for brand new questions * test notebook button visibility for new questions * move brand new check inside shouldRender * test embedding SDK notebook button * update unit tests * add spy to shouldRender
-
- Jul 29, 2024
-
- Jul 25, 2024
-
-
Oisin Coveney authored
-
- Jul 24, 2024
-
-
Phoomparin Mano authored
* polyfill useSyncExternalStore for React 17 * adds the shim * use ReactDOM.render instead of createRoot for backwards compat * use createRoot for React 18 environment * refactor renderRoot compatibility * remove semver dependency * add small test for version * use the same check for react 17
-
- Jul 15, 2024
-
-
Alexander Polyankin authored
* Remove default Count aggregation without triggering a query update * Fix flaky test
-
- Jul 11, 2024
-
-
Phoomparin Mano authored
* create sdk load question * store question result in sdk context * remove dataset data type * update question * handle navigate to new card * add loading states * fix on query change * update question change logic * refactor question loading and query params * fix ad-hoc question in dashboards * extract useLoadQuestion into a separate hook * cleanup run question on load * revert changes in interactive question component * store original question in the question result state * turn the question into ad-hoc questions * refactor run question methods * add a separate isQueryRunning state for better ux * isQueryRunning should default to false * simulate re-running the query in unit tests * add tests for rendering multiple valid questions * refactor sync question method * extract raw series and computed pivot logic * add getCardAfterVisualizationClick * separate single and multiple question tests * fix import paths * is question native * pass queryResult instead of queryResults * temporarily remove checkNotNull for aggregation picker to avoid sdk crash
-
- Jul 09, 2024
-
-
Denis Berezin authored
* feat(sdk): Add Dashboard loading event handlers * Refactor to redux state * Fix logic with load with cards data * Fix nasty e2e fails * Fix nasty e2e fails * Add global events * Fix issue with loading event * Fix issue with loading event * Review fixes * Add unit tests * Fix unit tests
-
Oisin Coveney authored
-
- Jul 03, 2024
-
-
Oisin Coveney authored
-
- Jul 01, 2024
-
-
Oisin Coveney authored
-
- Jun 28, 2024
-
-
Oisin Coveney authored
fix(sdk): Fix SDK types, split files, and improve navigation within SDK `InteractiveQuestion` (#44898)
-
Oisin Coveney authored
-
- Jun 27, 2024
-
-
Oisin Coveney authored
-
Oisin Coveney authored
-