This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Oct 01, 2024
-
-
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)
-
- Sep 24, 2024
-
-
Alexander Polyankin authored
-
Romeo Van Snick authored
* Support skipToken in useFetchMetrics * WIP * Add user setting for verified metrics * Add verified metrics to the VERIFIED_CONTENT plugin * Use metric plugins for verified metrics * Move helpers down * Do not filter for verified metrics if there are none, regardless of user setting * Add label to filter button * Revalidate search when card gets (un-)verified * Add e2e test for verified metrics * Avoid checking for verified metrics on when content-verification is not enabled * Fix broken test * Simplify content verification plugin structure for metrics * Add content moderation types and API helpers * Update content moderation plugin to make use of the moderation api in metabase/api * Fix lint * Fix missing list tag * Store verified metric filter preference * Move all helpers to the bottom * Ensure the user setting gets updated when chaning the filter * Add comment about component similarity * Undo changes to embedding-sdk
-
Romeo Van Snick authored
* Use default values for parameters in dashboard filters when used from click action * Add test for setting non-specified parameters to default in dashboard accessed via click action
-
Ryan Laurie authored
* create dashboard settings sidebar * update e2e tests fix * only show settings to dashboard editors * update copy * update e2e test * fix types * update tests for new copy * fix import
-
- Sep 23, 2024
-
-
Sloan Sparger authored
* removes the default-ee snapshot in favor for a blockUserGroupPermissions util * commit default-ee removal i forgot, replace default strings with undefined * fix oopsie * fixes failures for not removing enough permissions for tests in sandboxes.cy.spec.js * rename var
-
Nicolò Pretto authored
-
Nicolò Pretto authored
-
- Sep 20, 2024
-
-
Sloan Sparger authored
* fixes some tests where data permissions were overwriting sandboxing permissions, makes assertions in tests where sandboxing user is used but the test also passes if you were to sign in as the normal user, fixes one test that sandboxes the wrong table for the test * do not push - wip changes * add assertions to that network requests are provided sandboxed data, fix faulty test in dashboard-filters-source.cy.spec.js * use helpers to clean up parts of pagination assertions * rename assertDatasetIsSandboxed to assertDatasetReqIsSandboxed * adds assertions on api response data * clean up * fix typo * refactor helper to be easier to follow * golfing * pr feedback * fix * fix
-
- Sep 17, 2024
-
-
Uladzimir Havenchyk authored
* increase timeout to fix flakiness * add more timeout * timeout * WIP * bypass race condition
-
- Sep 13, 2024
-
-
appleby authored
* Rollback to legacy unique-name-generator in annotate-native-cols * Add native query long column alias test to nested queries tests * Add native query long column alias test to dataset api tests * Add native query long column alias test to models e2e tests * Move limit into inner native query * PR suggestion: simplify lambda argslist Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com> * PR suggestion: remove unnecessary mt/with-temp-copy-of-db * Tweak test name --------- Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com>
-
Uladzimir Havenchyk authored
* add offset e2e tests * mark test not flaky * add basic tests * add more tests * WIP * working version * cleanup * oops * improve naming * fix test * improve formatting * update comment and ts * add a test for metric * space * update tests and create a new issue * add one more test * re-enable test * make imports consistent * rewrite tests to put data through UI
-
Ryan Laurie authored
* Dashboard Info Sidebar * e2e test updates * add unit tests * e2e test updates * fix e2e tests * fix more e2e tests * update back behavior
-
Nick Fitzpatrick authored
-
Aleksandr Lesnenko authored
* dedupe a bit * remove pie row settings for values not from dataset * remove unnecessary filtering * series -> rows * extend spec * feedback
-
Uladzimir Havenchyk authored
* fix broken test about resizing column by readonly user * Update e2e/test/scenarios/question/saved.cy.spec.js Co-authored-by:
Nemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com> --------- Co-authored-by:
Nemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com>
-
- Sep 12, 2024
-
-
Ryan Laurie authored
* cleanup data reference tooltips * update test
-
Nicolò Pretto authored
-
Romeo Van Snick authored
* Render values for temporal metrics * Render data as rich * Add tests for temporal metric * Add TODO about isDate * Check for errors in dataset * Add unit test for timeseries dataset * Add check for rows earlier * Group tests better * Add e2e test for metrics with no value * Add test for metric with error
-
Alexander Polyankin authored
-
- Sep 11, 2024
-
-
Alexander Solovyov authored
-
Raphael Krut-Landau authored
This PR tests that the user can assign any of three cache invalidation strategies ("duration", "adaptive", and "don't cache") to dashboards and questions. The tests check that the following things are true: * These strategies can be applied directly (via the sidebar) * Dashboards and questions can inherit their caching strategy from the database that underlies them * Dashboards and questions can inherit their caching strategy from the instance-wide default policy * When a question inside a dashboard has been assigned a strategy, this is overridden by the strategy assigned to the dashboard. What these tests do not examine: * the schedule strategy * the minimum query duration * edge-case strategies, such as very long durations or very large values for the adaptive strategy multiplier These may be addressed in follow-up work. Closes #45355
-
Mahatthana (Kelvin) Nomsawadi authored
-