This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Oct 08, 2024
-
-
Phoomparin Mano authored
-
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>
-
Oisin Coveney authored
-
Cam Saul authored
* Parallel driver tests PoC * Set fail-fast to false for now * Try splitting up non-driver tests to see how broken tests are * Whoops fix plain BE tests * Ok nvm I'll test this in another branch * Fix fail-fast * Experiment with the improved Hawk split logic * Fix some broken/flaky tests * Experiment: try splitting MySQL 8 tests into FOUR jobs * Divide other Postgres and MySQL tests up and use num-partitions = 2 * Another test fix
* Flaky test fix * Try making more stuff fast * Make athena fast?? * Fix a few more things * Test fixes? * Fix configs * Fix Mongo job syntax * Fix busted test from #46942 * Fix Mongo config again * wait-for-port needs to specify shell I guess * More cleanup * await-port can't have a timeout-minutes I guess * Let's only parallelize MySQL for now. * Cleanup action * Cleanup wait-for-port action * Fix another flaky test * NOW driver tests will be FAST * Need to mark driver tests too * Fix wrong tag * Use Hawk 1.0.5 * Fix busted metabase.public-settings-test/landing-page-setting-test * Fix busted `metabase.api.database-test/get-database-test` etc. (hopefully) * Fix busted `metabase.sync.sync-metadata.fields-test/sync-fks-and-fields-test` for Oracle * Maybe this fixed `metabase.query-processor.middleware.permissions-test/e2e-ignore-user-supplied-perms-test` maybe not * Fix busted metabase.api.dashboard-test/dependent-metadata-test because endpoint had differemt sort order than test * Ok my test fix did not work * Fix metabase.sync.sync-metadata.fields-test/sync-fks-and-fields-test for Redshift * Better test name * More test fixes * Schema fix * PR feedback * Split off test partitioning into separate PR * Fix failing Oracle tests * Another round of test fixes, hopefully * Fix failing Redshift tests * Maybe the last round of test fixes * Fix Oracle * Fix stray line
-
- Oct 07, 2024
-
-
Alexander Polyankin authored
-
Jeff Bruemmer authored
-
metamben authored
Implement better partitioning and sorting in window functions
-
Alexander Polyankin authored
-
Alex Yarosh authored
* gauge * progress addition * alternatives * update link * Apply suggestions from code review Co-authored-by:
Jeff Bruemmer <jeff.bruemmer@gmail.com> --------- Co-authored-by:
Jeff Bruemmer <jeff.bruemmer@gmail.com>
-
Raphael Krut-Landau authored
-
Case Nelson authored
* feat: move auth providers behind ee token Fixes #48235 Introduces new premium feature `database-auth-providers`. Moves fetch-auth behind defenterprise - oss will always return an empty map. Add metabase.util.http to test outbound http requests. * Fix broken refs * Drop defmethod as adhoc overrides aren't desirable outside ee * Drop unessary require * Fix token and tests * Fix tests * Fix formatting * Fix var cast exception * Fix connection test * Move test to ee namespace * Move more tests behind enterprise * Fix checked-section hiding
-
Vamsi Peri authored
-
Jeff Bruemmer authored
-
Ryan Laurie authored
* look I did a clojure! * only show entity ids when serialization is enabled * update tests * ok fine typescript * fix test
-
Ryan Laurie authored
* support for pre-release suffixes * handle milestones better * update prerelease function in github action * update zero coalescing
-
Ngoc Khuat authored
-
- 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
-
Jeff Bruemmer authored
-
Aleksandr Lesnenko authored
* fix incorrect handling of offset-based timezones * Update Loki Snapshots --------- Co-authored-by:
Metabase Automation <github-automation@metabase.com>
-
Nick Fitzpatrick authored
-
Alex Yarosh authored
-
Emmad Usmani authored
* sunburst improvements * fix dimension picker styles * simplify styles * update e2e test * add loki specs * add missing newlines
-
Jeff Bruemmer authored
-
Raphael Krut-Landau authored
-
Ngoc Khuat authored
-
Oisin Coveney authored
-
- Oct 03, 2024
-
-
Ryan Laurie authored
* fix root collection links in sidebars * use collection url function
-
Jeff Bruemmer authored
-
Nick Fitzpatrick authored
-
Oreon Lothamer authored
-
Luiz Arakaki 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>
-
Aleksandr Lesnenko authored
-
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
-
Nick Fitzpatrick authored
* isLoadingTabs * skeleton loading state * adjusting skeleton colors * maz color tweak --------- Co-authored-by:
Maz Ameli <maz@metabase.com>
-
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
-