This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Oct 25, 2024
-
-
Chris Truter authored
This standards on a "just maps" approach to returning disabled, disallowed, or failed query analysis. This is as opposed to the hodgepodge approach of significant `nil`, untagged unions with keywords, and exceptions. Essentially we have a classic "either" style tagged union, where `:error` is the tag.
-
Nicolò Pretto authored
* test(sdk): add tests for auth flow * make the fetch token fn return something that will pass the validations we'll add in the next project * waitForRequest helper + add expects for card endpoints on api key test
-
Nicolò Pretto authored
-
Oisin Coveney authored
-
Phoomparin Mano authored
* cancel request on unmount in static question * use deferred promise * remove logs * alias cancelled to deferred.promise * extract useLoadStaticQuestion hook * add tests for request cancellation * change updateQuestion method * add sanity check with fetchMock
-
- Oct 24, 2024
-
-
bryan authored
* upgrades is-airgapped? defn to defsetting airgap-enabled - uses the airgap-enabled settings value to remove Cloud section in SettingsEditor - "Metabase Enterprise Airgap" -> "Enterprise Airgap" * hide still need help section in airgap mode * move flag checking into selectors * fe lint * ts type check * use optional chaining and nullish coalescing * hide StillNeedHelp in ag mode * adding airgap-enabled to createMockSettings --------- Co-authored-by:
Nick Fitzpatrick <nickfitz.582@gmail.com>
-
lbrdnk authored
* Format databricks as spark in prettify-native-form * Add test to be generalized in follow up
-
Phoomparin Mano authored
* implement saving questions in interactive question * close modal on create question * add e2e test for saving questions
-
Nick Fitzpatrick authored
* Update X-ray to use rtk query * PR feedback
-
Jeff Bruemmer authored
-
Jeff Bruemmer authored
-
Alexander Polyankin authored
* Fix date formatting of parameter values with time * Update frontend/src/metabase/parameters/utils/date-formatting.ts Co-authored-by:
Kamil Mielnik <kamil@kamilmielnik.com> * Adjust E2E test * Fix tests --------- Co-authored-by:
Kamil Mielnik <kamil@kamilmielnik.com>
-
Jeff Bruemmer authored
-
Alexander Polyankin authored
* Fix boolean parameter parsing from query string in dashboards * Adjust E2E test * Adjust E2E test * Adjust E2E test * Update e2e/test/scenarios/filters-reproductions/dashboard-filters-reproductions.cy.spec.js Co-authored-by:
Kamil Mielnik <kamil@kamilmielnik.com> * Update e2e/test/scenarios/filters-reproductions/dashboard-filters-reproductions.cy.spec.js Co-authored-by:
Kamil Mielnik <kamil@kamilmielnik.com> --------- Co-authored-by:
Kamil Mielnik <kamil@kamilmielnik.com>
-
Alexander Polyankin authored
-
Alexander Polyankin authored
-
Chris Truter authored
-
Oisin Coveney authored
-
Mahatthana (Kelvin) Nomsawadi authored
-
Denis Berezin authored
-
Mahatthana (Kelvin) Nomsawadi authored
* Remove outdated comment * Add logic for automating npm dist tags * Fix deprecated GitHub action output command * Update .github/workflows/release-embedding-sdk.yml Co-authored-by:
Denis Berezin <denis.berezin@metabase.com> * Add comment and correct 51 dist tag --------- Co-authored-by:
Denis Berezin <denis.berezin@metabase.com>
-
Anthony Lio authored
-
Mahatthana (Kelvin) Nomsawadi authored
-
Alexander Solovyov authored
-
- Oct 23, 2024
-
-
Aleksandr Lesnenko authored
-
github-automation-metabase authored
Co-authored-by:
Metabase bot <metabase-bot@metabase.com>
-
Alex Yarosh authored
* pie charts * Apply suggestions from code review Co-authored-by:
Jeff Bruemmer <jeff.bruemmer@gmail.com> --------- Co-authored-by:
Jeff Bruemmer <jeff.bruemmer@gmail.com>
-
Nick Fitzpatrick authored
* converting UpdateAlertModalContent and CreateAlertModalContent to functional * lint stuff * e2e adjustments: * type and e2e adjustments
-
Noah Moss authored
Co-authored-by:
Ryan Laurie <iethree@gmail.com>
-
Aleksandr Lesnenko authored
* add allowed iframe host setting wip * use allowed-iframe-hosts setting in the CSP header * add a test for the frame-src csp directive * Update allowed-iframe-hosts setting definition * Add error state for forbidden iframe url domains * Move out iframe e2e test suite * Add e2e test * Update error message in view mode * Fix unit tests * Update setting on the admin page * Update error state * Add links to error states * Update docs links * Update link anchors * Add default allowed hosts to public setting * Update allowed domain check logic * Fix default value display in admin page * Don't update setting without changes * Update error message spacing * correct the parsing of allowed-hosts string for CSP header entries * fix test * fix not handling wildcard ports * Fix failing e2e test * Fix subdomain test * address review - the parse-allowed-iframe-hosts fn is now memoized - a * entry is handled and doesn't produce a weird *:* entry - no more try/catch, errors in parsing will be logged but the list returns all valid entries - when www. is encountered, an entry including www. is added - trailing / is 'cleaned' and the entry is used as if there was no trailing / * Fixup test for expecting a few more frame sources * indentation fix for linter
* Fix type error --------- Co-authored-by:Adam James <adam.vermeer2@gmail.com> Co-authored-by:
Anton Kulyk <kuliks.anton@gmail.com> Co-authored-by:
dan sutton <dan@dpsutton.com>
-
Jeff Bruemmer authored
-
Oleksandr Yakushev authored
-
Aleksandr Lesnenko authored
-
Nicolò Pretto authored
* ui implementation of new emb homepage, tests will come later * change padding of the last card to be consistent with the top one * update beta badge spacing * update tests * fix stories type error * use quick-start for url * update HomeContent tests * update events + related e2e * Update frontend/src/metabase/home/components/EmbedHomepage/StaticEmbedContent.tsx
-
John Swanson authored
* Do not create personal collections for API keys Co-authored-by:
Noah Moss <32746338+noahmoss@users.noreply.github.com>
-
Alexander Solovyov authored
-
Anton Kulyk authored
* Add `graph.max_categories` viz setting * Allow grouping series into "other" category * Add tooltip * Toggle "other" series visibility * WIP: new implementation for `graph.series_order` * Remove not used function * Make "other" series a regular `SeriesModel` * Fix stacked bar charts * Remove colors from "other" tooltip * Sort "other" tooltip values * Update `graph.max_categories` setting - negative number validation - 0 value turns off grouping * Fix Loki test * Add basic loki test * Add loki test for stacked chart * Add loki test for stacked normalized chart * slight refactor of series_order setting * Add screenshots * Handle different kinds of aggregations for "other" * Handle different aggregation kinds in tooltips * Add `graph.other_series_aggregation_fn` viz setting * Fix type errors * Fix unit tests * settings ui * remove sorting by value to match series order setting, other color * hide grouped series controls * Add e2e test * Update screenshots * Fix incorrect series grouping for stacked charts * group series into other settings * Update e2e test to work with new viz settings * Disable drills for the "Other" series * fix max_categories setting popover positioning * fix total row has misaligned columns on other series values * Remove redundant `click({ force: true })` * Rename aggregation fn viz setting * Move aggregation fn setting to the popover * WIP * Update popover * Fix `it.only` * Fix legend sync issue * Disable "Other" category by default (temporary) * Enable aggregation fn picker for MBQL queries (temporary) * Move "Other" category summary to a tooltip row * Add `graph.max_categories_enabled` to viz settings type * Reuse already computed "Other" value in tooltips * Add null check * Fix series length check --------- Co-authored-by:
Aleksandr Lesnenko <alxnddr@gmail.com>
-
appleby authored
This is to allow for the possibiliy of adding more metricsv2 usage and error metrics in the future while still distinguishing the source of the errors.
-
Chris Truter authored
### Description This is a low level step towards applying table-level permissions to native queries. It replaces the more generic and powerful `:ast-walker-1` analyzer with the more conservative `:basic-select` version we recently landed. The advantage of this version is that it protects against dynamic table references and false negatives due to masking.
-
Oleksandr Yakushev authored
-