This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Oct 08, 2024
-
-
Alexander Polyankin authored
Default to `=` operator when `Filtering on this field` is set to `A list of all values` or `Search box` (#48412)
-
Kamil Mielnik authored
* Maintain selected folder state in Entity Picker (#47309) * Keep tabs mounted * Rename TablePicker onChange to onItemSelect to match QuestionPicker and also call it for folders * Inline small functions * Remove unused type * Rename * Remove TODOs * Remove duplication * Reduce diff * Rename * Lift state from TabsView * Remove redundant callback * Store folder state in DataPickerModal * Refactor computing tabs * Consolidate search tab definition with recents tab definition * Simplify computeInitialTab interface * Extract RECENTS_CONTEXT * Store tab state in DataPickerModal * Propagate initial tab state * Fix a flicker * Keep tab state in EntityPickerModal * Fix typing computeInitialTab * Remove Notebook prefix * Pass onItemSelect to individual tabs from EntityPickerModal * Auto select folder * Fix types * Adjust remaining tabs definitions to use render * Adjust tabs definitions to use render in tests * Fix inverted condition * Fix TS error * Fix types * Rename EntityTab to EntityPickerTab, TabId to EntityPickerTabId * Rename EntityTabRenderProps to EntityPickerTabRenderProps * Separate tab models from tab ids * ESLint * ESLint * Recognize folders inside EntityPickerModal * Add missing prop * Remove console.log * Simplify handleFolderSelect * Revert changes that will go to a different PR * Fix unit tests * Refactor * Remove keepMounted prop * Fix type * Remove useMemo from tabs computation (#47505) * Extract getTabs for DataPickerModal * Extract getTabs for EntityPickerModal * Add explicit return type * Revert "Add explicit return type" This reverts commit feb3f58c. * Revert "Extract getTabs for EntityPickerModal" This reverts commit 4e875a1f. * Revert "Extract getTabs for DataPickerModal" This reverts commit cdda8ea1. * Remove useMemo * Maintain tab state in Entity Picker (#47794) * Store picker path state in data picker modal * Adjust remaining QuestionPicker usages * Store collection picker state * Use dedicated onPathChange prop * Store dashboard picker state * Improve naming * Fix unit tests * Remove accidental code * Return to previously opened tab when search input is cleared in Entity Picker (#47798) * Restore previous tab when clearing search input * Add a unit test for new behavior * Update comment * Don't use effect * Add more tests * Reduce diff * Fix flakes * Change search input placeholder depending on selected folder & tab in Entity Picker (#47801) * Make TabFolderState generic, pass folder to EntityPickerSearchInput * Simplify interface * Extract getSearchInputPlaceholder * Reduce diff * Remove TODO * Implement it * Shorten code * Reduce diff * Use database to scope search if there's only 1 schema * Add scoped search in the Search tab in Entity Picker (#47839) * Cleanup entity picker search types (#48098) * Add e2e tests for local search in the entity picker (#48122) * Sync the value back into selectedItem when it changes * Await element * Handle empty tabs * Pick everywhere tab * Click Everywhere in unit tests * Use deep equality to sync value * Sync back the path value to the dashboard too * Run test as admin to avoid (unrelated) permissions issues * Filter scoped results too * Fix post-merge issues * Fix type issues * Fix null scoped search results * Sign in as admin to appease the tests * Use useDeepCompareEffect when syncing back state * Add default value for searchResultFilter to avoid double condition * Avoid using useEffect to sync selectedItem * Avoid overwriting path in useEnsureCollectionSelected * Fix e2e test --------- Co-authored-by:
Alexander Polyankin <alexander.polyankin@metabase.com> Co-authored-by:
Romeo Van Snick <romeo@romeovansnick.be>
-
- Oct 07, 2024
-
-
Alexander Polyankin authored
-
metamben authored
Implement better partitioning and sorting in window functions
-
- Oct 05, 2024
-
-
Raphael Krut-Landau authored
-
Emmad Usmani authored
* sunburst click behavior e2e test * await error text before going back
-
- Oct 04, 2024
-
-
Aleksandr Lesnenko authored
* hide dashcard actions when editing iframe card content * spec * renaming * check if viz supports previewing
-
Ryan Laurie authored
* add update channels in product * support for changing release notes to show beta and nightly info * dont export setting * obey the linter and add tests * export setting * update e2e tests * clojure magic * clojure-foo * better localization * sorry mr linter * add more tests
-
Emmad Usmani authored
* sunburst improvements * fix dimension picker styles * simplify styles * update e2e test * add loki specs * add missing newlines
-
- Oct 03, 2024
-
-
Nick Fitzpatrick authored
-
lbrdnk authored
* Use context for field id computation while hydrating dashbaord * Update docstring * Fix target * Update lookup * Fix param-target usage * Unskip e2e * Bind *param-id-context* in public dashboard compputation * Fix context update * Fix field-ids->param-field-values-ignoring-current-user * Add tests * Comments * cljfmt * Update field-ids->param-field-values-ignoring-current-user * Update src/metabase/models/params.clj Co-authored-by:
Braden Shepherdson <braden@metabase.com> * Update src/metabase/models/params.clj Co-authored-by:
Braden Shepherdson <braden@metabase.com> * Use atom instead of volatile! * Avoid dynamic function var * Update src/metabase/models/params.clj Co-authored-by:
Braden Shepherdson <braden@metabase.com> * Address remarks --------- Co-authored-by:
Braden Shepherdson <braden@metabase.com>
-
Luiz Arakaki authored
* embed cards * safety * rename params * review, renaming * min and default size of iframe cards * move ml auto to parent * use truncate * spec failures * empty state * consistent iFrame copy * renaming, no fe tracking * iframe copy --------- Co-authored-by:
Aleksandr Lesnenko <alxnddr@gmail.com> Co-authored-by:
Aleksandr Lesnenko <alxnddr@users.noreply.github.com>
-
Nicolò Pretto authored
* wip locale header middleware * wip fe code for the locale provider for both public/static and sdk * clean up code * move api.baseurl assignment outside of useEffect to make it work on first render * e2e test for locale * Revert "wip locale header middleware" This reverts commit c215eac3. * remove public/static code as we want to focus on the sdk * adds docs for `X-Metabase-Locale` header and for why we don't use I18NApi.locale * Update frontend/src/metabase/lib/api.js * doc: explain why we have the unused state
-
Romeo Van Snick authored
* Update the labels for the Edit question action for models and metrics * Use the metric and model editor by default * Add e2e tests for metric and model cards * Remove console.log * Add extra mode for editing metrics or models * Use slug to do exact match of path * Rename editor mode to query * Rename as param to mode
-
- Oct 02, 2024
-
-
appleby authored
* Add BE test for exporting self-joined renamed columns * Add e2e test for exporting self-joined renamed columns See also - Not renamed fields in a same table join inherit the renamed name in exports #48046 - backport: Support both name & field ref-based column keys in viz settings on read and upgrade on write #48243
-
Emmad Usmani authored
* add sunburst to pie chart * fix type errors * consider all slice percent values for formatting percent on chart * fix lint error * refactor nested functions outside of parent * create and use getArrayFromMapValues helper * fix bug with percent significant digits * improve color picker * fix total visibility in small dashcards * fix missing field remappings * use aggregated value for click behavior * update minimum slice percentage logic * fix total text truncation * remove colors from tooltip for middle and outer slices * update e2e spec * update snapshot * update ring setting titles * address feedback * update comment
-
Aleksandr Lesnenko authored
-
Emmad Usmani authored
* fix aggressive legend truncation * add e2e test * revert LegendVertical changes * update legendTitles calculation in PieChart * restore size prop in LegendVertical * fix e2e test
-
Romeo Van Snick authored
* Remove value column from Browse metrics page * Remove tests for metric values * Fix markdown test
-
- Oct 01, 2024
-
-
Emmad Usmani authored
-
Emmad Usmani authored
-
Romeo Van Snick authored
* Add metrics to table pane * Add test for metric in data reference sidebar * Clean up other reference tests * Add test for when the table has no metrics * Use helper for sidebar header title * Rename sidebar to create distinction from existing helper
-
Romeo Van Snick authored
* Add 'New metric' action to command palette * Add test for 'New metric' in command palette
-
Romeo Van Snick authored
* Simplify browse components imports * Move metrics-related browse components to separate folder * Move models related browse components to separate subdir * Split up browse/test-utils * Move schemas related browse code to separate folder * Move databases related browse code to separate folder * Move tables related browse code to separate folder * Fix import paths * Avoid drilling into metric module * Avoid drilling into models module * Move enterprise tests for browse models * Format comments * Remove unused sortModelsByVerification plugin helper * Support skipToken in useFetchModels * Simplify models content verification * Fix filter button query * Do not filter recent models if there are no verified models * Use filterButton helper everywhere * Fixup comment * Use new var-style color
-
Romeo Van Snick authored
* Await dashcard query when editing * Reload to fix flake * Reset filters to fix flake * Await dashcard query when editing * Wait for query * WIP * Hard-visit dashboard * Split up test to avoid navigation issues
-
Kamil Mielnik authored
* Allow using metrics with offset in custom expressions * Unskip and update repro
-
- Sep 30, 2024
-
-
Nicolò Pretto authored
* putSetting helper * change all usages of cy.request("PUT" "api/setting/..." to putSetting(...) in e2e tests * Update e2e/support/helpers/api/putSetting.ts Co-authored-by:
Kamil Mielnik <kamil@kamilmielnik.com> * Update e2e/support/helpers/api/putSetting.ts Co-authored-by:
Kamil Mielnik <kamil@kamilmielnik.com> * sort exports * putSetting -> updateSetting as per PR suggestion --------- Co-authored-by:
Kamil Mielnik <kamil@kamilmielnik.com>
-
Romeo Van Snick authored
* Temporarily disable compare to the past ui components * Temporarily disable compare to the past tests * Skip Compare to past unit tests
-
Luiz Arakaki authored
* rename usage analytics and few fixes * update e2e tests * update some other strings too --------- Co-authored-by:
Ryan Laurie <iethree@gmail.com>
-
- Sep 27, 2024
-
-
Braden Shepherdson authored
This was old logic to support certain drivers (eg. pre-JDBC Druid) and isn't required for most. It's perfectly sound to filter or even break out on a datetime column without bucketing. Adds a new `:temporal/requires-default-unit` driver feature, and enables it only for the legacy Druid driver. Fixes #47341
-
Nicolò Pretto authored
-
Romeo Van Snick authored
* Reset the dashboard parameter when setting the default value * Fix test for filter default * Add test for setting parameters when editing the defaults * Use plain dispatch Co-authored-by:
Uladzimir Havenchyk <125459446+uladzimirdev@users.noreply.github.com> * Use cy.log instead of comments * Use icon selector --------- Co-authored-by:
Uladzimir Havenchyk <125459446+uladzimirdev@users.noreply.github.com>
-
Oisin Coveney authored
-
- Sep 26, 2024
-
-
Nicolò Pretto authored
* IS_EMBEDDING_SDK_BUILD -> IS_EMBEDDING_SDK to keep things simple, as we already have that name in other places * don't load metabase css in sdk stories * first two stories * make the store not a global "singleton" anymore * basic test for font-family styles in the SDK * allow any custom font in theme.fontFamily as we actually support it * fix tests using hardcoded default font family
-
- Sep 25, 2024
-
-
Noah Moss authored
Co-authored-by:
Thomas Schmidt <thomas@metabase.com>
-
Nick Fitzpatrick authored
* test with disabled query analysis and feature disabled in token * types * useSetting
-
Nemanja Glumac authored
* Pre-fill cloud user info from search params * Autofocus password field for hosted instances * Add tests * Parse setup user info and store it immediatelly * Autofocus password input field for hosted instances * Add e2e reproduction * Fix the user info * Fix unit test
-
Anton Kulyk authored
-
Sloan Sparger authored
-
Sloan Sparger authored
display warning that native query access is restricted if a table or schema is set to blocked (#47630)
-