This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- May 30, 2024
-
-
Braden Shepherdson authored
These databases previously had impoverished support for regular expressions. The `:regex` driver feature requires advanced, "Perl-compatible" regular expressions that can do things like lookahead assertions. - MySQL supports this from 8.0.4; we recommend 8.0.33+. - MariaDB supports this from 10.0.5; we recommend 10.4+. Fixes #43180.
-
Aleksandr Lesnenko authored
-
Ryan Laurie authored
-
Romeo Van Snick authored
* Avoid overflowing dropdown menus * Hide most bucket picker items behind a More... button * Add test for More… button on TimeseriesBucketPicker * Add color to More... button * Add test for showing all columns when a lower bucket is picked
-
metamben authored
-
Anton Kulyk authored
-
Cam Saul authored
* Remove Google Analytics driver * Remove more GA-related tests * Un-remove tests that aren't related to GA
-
Chris Truter authored
-
bryan authored
* Handles card events for CRU (not D) => recent view * add tests * avoid some errors in dev We expect recent-views/post-process to return nil occasionally (for permissions reasons, or more), so let's filter those out instead of printing a noisy unactionable warning * uncomment and fix test * fix some cypress tests + docs improvements * update more cypress tests * more cypress test updates * adding a card puts it into your recents now * fix notebook-data-source * fix notebook-data-source * fixing more e2e tests * fix command palette e2e tests * run prettier * fix style issue * update notebook-data-source tests * update homepage e2e tests * Next question is in recents, now * update command palette: skip the first pagedown, since it is a noop * check the buttons for their respective names * ensure that the model is there, and no questions are
-
Sloan Sparger authored
* pulls out test changes from react 18 / rtl 15 refactor that are comptable with react 17 / rtl 12 * impls pr feedback
-
Anton Kulyk authored
* Keep a single null dimension value * Add Loki test * Remove Loki test * Throw an error if dataset is empty after filtering * Extract error message into a constant
-
Romeo Van Snick authored
* Add color to icon directly * Remove unused css file * Only show info icon when the field is focussed * Use metabase blue for background on value tags * Use larger font size for value labels * Make the value labels bold * Tweak padding on search input * Move custom MultiAutocomplete styles to MultiSelect overrides and adapt to accept xs size too
-
Uladzimir Havenchyk authored
-
Uladzimir Havenchyk authored
-
Anton Kulyk authored
-
Alexander Polyankin authored
-
metamben authored
Fixes #43089.
-
Ryan Laurie authored
-
Ryan Laurie authored
* combine question reproductions into one spec * split question reproductions * split reproductions three ways * fix sample db id
-
Alexander Polyankin authored
-
Anton Kulyk authored
* Use internal Link for relative and same-origin URLs * Update frontend/test/metabase/lib/formatting.unit.spec.js Co-authored-by:
Uladzimir Havenchyk <125459446+uladzimirdev@users.noreply.github.com> * Update frontend/test/metabase/lib/formatting.unit.spec.js Co-authored-by:
Uladzimir Havenchyk <125459446+uladzimirdev@users.noreply.github.com> --------- Co-authored-by:
Uladzimir Havenchyk <125459446+uladzimirdev@users.noreply.github.com>
-
Alexander Polyankin authored
-
Phoomparin Mano authored
* feat(sdk): colors for pivot tables * fix theme type * feat(sdk): basic pivot table theming * fix emphasis hover color * customizable row toggle color * add storybook story and refactor hover color logic * add sdk visualization wrapper * make theme values with defaults internally non-optional but externally optional * update test to render with providers * update test wrapper to have height container * update pivot table loki reference image * update theme names * make all theme options optional in the public config * update readme * readme update for consistency
-
metabase-bot[bot] authored
Co-authored-by:
Metabase bot <metabase-bot@metabase.com> Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev>
-
lbrdnk authored
- Update how base type and effective type is added in query-method :mbql/query. - Base type and effective type is added also during the conversion of query-method :query. - Adds warning suppression for expressions to places where normalize is called something that does not conform schme (eg. ->pMBQL :dispatch-type/map called in query-method :query).
-
- May 29, 2024
-
-
Cal Herries authored
-
Sloan Sparger authored
* syncs with BE better for using prod/staging store links * updates init step, fixes tests * updates start confirmation modal design * copy changes * adjusting unit test * removing unneeded code * PR feedback, updating tests --------- Co-authored-by:
Nick Fitzpatrick <nickfitz.582@gmail.com>
-
Case Nelson authored
-
Alexander Polyankin authored
-
Braden Shepherdson authored
Fixes #42831. Co-authored-by:
Alexander Polyankin <alexander.polyankin@metabase.com>
-
Aleksandr Lesnenko authored
-
Oisin Coveney authored
-
Filipe Silva authored
-
Anton Kulyk authored
* Use `useBrowserRenderingContext` in most charts * Add font family fallbacks
-
John Swanson authored
* Allow disabling encryption for settings For two settings, we want to disable encryption entirely. On the way out of the data source, we don't need to worry - the decryption is already backwards-compatible with non-encrypted data. On the way in, things are a bit less straightforward. The core of the change is replacing the `t2/deftransform` that *always* runs `encryption/maybe-encrypt` on the value with: - a define-after-select that always tries to decrypt the value (so we can handle existing encrypted values in the db) - a define-before-insert that encrypts the value if the `defsetting` told us to, and - a define-before-update that does the same thing. For now, set two settings to be never-encrypted: `analytics-uuid` and `anon-tracking-enabled`.
-
Kamil Mielnik authored
* Sort functions * Add boilerplate for aggregateOffset and tests * Simplify assertion * Make basic case work * Handle name generation * Do not require "lib/uuid" attribute to be present since MLv2 will normalize it under the hood anyway * Fix typing * Group tests * Refactor offsetClause to return a new clause instead of a new query - Move offsetClause to expressions.ts - Add assertion * Revert "Sort functions" This reverts commit ab9ce2b24ea6bdad5ff7e9bed8ef38d4b5923f00. * Move tests * Handle names dynamically * Shorten a test * Update comment * Add TODO * Update expression types * Add diffOffsetClause & percentDiffOffsetClause * Add a test for diffOffsetClause * Add TODOs * Add tests for diffOffsetClause and percentDiffOffsetClause * Unwrap tests * Add skeleton for new tests * Refactor first offsetClause tests * Add tests for names * Fix case of non-datetime columns * Handle a case with offset < 1 and no breakouts * Handle a case with offset < 1 and breakouts on non-datetime column * Handle a case with offset < 1 and breakouts binned datetime column * Handle a case with offset < 1 and breakout on non-binned datetime column * Refactor * Refactor * Remove TODO * Add tests for diffOffsetClause * Add tests for percentDiffOffsetClause * Move offset stuff to offset.ts and offset.unit.spec.ts * Use template string for prefixes * Use breakoutColumn + isDate to check column type * Refactor * Fix error message * Use displayName instead shortName
-
Romeo Van Snick authored
* Use sentence case for suggestion headers * Remove suggestion group dividers * Highlight suggestions when mousing over them * Remove unused hoverparent * Remove custom highlighting for icons * Allow passing color to metadata info icon * Make suggestions icons have a consisten color * Update documentation suggestion style * Add margin to suggestion sections * Reorder suggestion sections * Add test for mouse over highlight on suggestions * Fix test for suggestion footers * Remove debugging true * Rename 'Most used functions/aggregations' to 'Common functions/aggregations' * Highlight suggestion on mouse move * Only call onHighlightSuggestion if it is not already highlighted * Use arrow functions * Fix test for suggestion highlight
-
Romeo Van Snick authored
* Do not render 'Add column' shortcut when viewing a raw table * Do not show 'Add column' shortcut when a query has aggregations * List shortcut guards out of component * Make 'Add column' icon sticky in the header * Add test for hiding the column shortcut * Remove Number wrapper * Move padding to a constant * Use actions directly to determine if there are any shortcuts * Make sure there are expressionable columns for the combine columns shortcut * Make sure there are extractable columns for the extract column shortcut * Remove padding when not overflowing * Do not shadow query in popover components * Allow combine and extract for raw tables * Add test for combining summarization columns * Add test for combining summarization columns * Use a more precise way of calculating the offset for the 'Add column' button * Handle null question * Change to the outline button * Use actual column widths to calculate total width * Handle empty mode * Remove extra measure call * Move shortcutColumn to separate method and avoid looping over all available actions when possible
-
Nicolò Pretto authored
* Revert "Revert "minimal support for multiple values for Access-Control-Allow-Origin (#42888)" (#43125)" This reverts commit a4312230. * refactor: extracted parse-approved-origins + supported "*" without special case * fix: parse-approved-origins won't break on multiple spaces in a row * handles invalid urls in the origins + some formatting * log instead of throwing in parse-url + simplify the logic in parse-approved-origins * simplify parse-approved-origins logic by splitting on "at least one space" * remove extra boolean call * approved-origins -> approved-origins-raw to better reflect that it's a raw string * swap the order of the arguments to `is` in the tests * indentation
-
Phoomparin Mano authored
-