This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Apr 22, 2024
-
-
Noah Moss authored
-
adam-james authored
* Dates Binned by Week Export Formatting Matches App Fixes: #41492 Before, the dates binned by week would be formatted as follows in CSV and JSON exports: `Week 1 - 2024` But that doesn't match the App's format of a Date Range: `January 1, 2024 - January 7, 2024` So, now the exports will apply formatting in this same way. Note that a second bug (#41616) exists on the Frontend preventing the column formatting being applied in the app. This is frontend only, and the csv and json exports will match the column formatting settings (eg. abbreviated dates and alternative separators will be used in the export). * add test and change default week style * Week format test change * also fix incorrect :hour formatting
-
A. Marius Rabenarivo authored
* [tech debt] Stop using ms/BooleanString and only use ms/BooleanValue ms/BooleanString will coerce to a string, and we should probably get rid of it and only ever use ms/BooleanValue which will always coerce to a boolean We want the coercion layer to give us values that are helpful, and true is more helpful than "true". So we should remove ms/BooleanString and calls to parseBoolean * Remove ms/BooleanString usage in api/native_query_snippet.clj * Remove test case related to ms/BooleanString * Remove the BooleanString schema def as no longer used
-
Raphael Krut-Landau authored
BaseItemsTable BaseTableItem BulkActions CollectionContentView CollectionCopyEntityModal ItemsTable
-
Oisin Coveney authored
-
bryan authored
-
Nemanja Glumac authored
* Throw for `Snippets.api.delete` * Add boilerplate `snippet` RTK API * Add boilerplate RTK-compatibility layer for main `Snippets.api` endpoints * Add types * Add cache invalidation
-
Mahatthana (Kelvin) Nomsawadi authored
* Fix not sending necessary HTTP headers when downloading results * Fix fail E2E tests * Add E2E test * Fix failed tests * Fix unit tests * Fix download on subpath * Fix unit tests for subpath
-
Tim Macdonald authored
-
Nemanja Glumac authored
* Add RTK Query `revision` API * Re-wire `Revisions` entity `list` to work with RTK Query * Re-wire the `Revisions` entity `revert` to work with RTK Query
-
- Apr 19, 2024
-
-
Noah Moss authored
-
Braden Shepherdson authored
These functions are implemented with hairy regular expressions, and it's more user-friendly and future-proof to name those functions in MBQL rather than baking the `regexextract` and regex into the user's query. It lets us evolve the regexes in the future if we detect a bug, and it improves the UX since the user sees a meaningful function instead of regexextract([My URL Column], "(?<=[@\.])(?!www\.)[^@\.]+(?=\.[^@\.]{1,3}\.[^@\.]+$|\.[^@\.]+$)") Also refactors the regexes somewhat so that they work for emails as well as URLs, and there's always just one layer of `:regex-match-first`. Previously this was separated into two steps: URL or email to host, and host to (sub)domain. Part of the follow-up for Extract Column epic #38964.
-
Noah Moss authored
-
Uladzimir Havenchyk authored
* Reset mapping after change of operator for native questions * Add a basic test * Better name for a test
-
lbrdnk authored
-
Alex Yarosh authored
* okta docs * clarifying group mapping methods * links * Apply suggestions from code review Co-authored-by:
Jeff Bruemmer <jeff.bruemmer@gmail.com> * review feedback * Typo --------- Co-authored-by:
Jeff Bruemmer <jeff.bruemmer@gmail.com>
-
Kamil Mielnik authored
* Account for non-hydrated properties in GET /api/dashboard * Fix provideTags --------- Co-authored-by:
Nemanja <31325167+nemanjaglumac@users.noreply.github.com>
-
Nicolò Pretto authored
-
lbrdnk authored
* Use dbname from details instead of from stats * Add mongo sharded cluster CI job
-
Nemanja Glumac authored
* Delete unused endpoint from `PermissionsApi` * Add group tag helpers * Define RTK Query 5 main endpoints for `permissionApi` (group) * Re-wire 5 main api methods in groups entity to work with RTK Query * Re-wire `clearMember` action to work with RTK Query * Add `Groups.api.update` * Update types * Fix membership failing to update after `CREATE_MEMBERSHIP` * Make sure `members` is not undefined * Fix cache invalidation
-
Noah Moss authored
Co-authored-by:
Noah Moss <noahbmoss@gmail.com> Co-authored-by:
Noah Moss <32746338+noahmoss@users.noreply.github.com> Co-authored-by:
Nick Fitzpatrick <nick@metabase.com> Co-authored-by:
John Swanson <john.swanson@metabase.com> Co-authored-by:
Sloan Sparger <sloansparger@users.noreply.github.com> Co-authored-by:
Sloan Sparger <sloansparger@gmail.com>
-
Kamil Mielnik authored
* Fix Dispatch type * Fix typing * Fix types
-
Mahatthana (Kelvin) Nomsawadi authored
* Migrate --border-* * Migrate *breadcrumb* * Migrate --color-bg-black * Migrate --color-bg-dark * Migrate --color-bg-light * Migrate --color-bg-medium * Migrate --color-bg-white * Migrate --color-border * Migrate --color-brand* * Migrate --color-error * Migrate --color-focus * Migrate --color-shadow * Migrate --color-success * Migrate --color-text-dark * Migrate --color-text-light * Migrate --color-text-medium * Migrate --color-text-white * Migrate --color-white * Migrate --default-border-radius * Migrate --default-button-border-radius * Migrate --default-font-family * Migrate --default-font-size * Migrate --default-header-margin * Migrate --gap-1 * Migrate --icon-width * Migrate --input-border-color * Migrate --input-border-radius * Migrate --margin-* * Migrate --muted-color * Migrate --padding-* * Migrate --page-header-padding * Migrate --subtitle-color * Migrate --title-color * Reset to master * Remove unused --color-text-default * Remove unused --color* * Remove unused CSS custom properties * Prefix only necessary CSS custom properties
-
Oisin Coveney authored
-
Uladzimir Havenchyk authored
-
- Apr 18, 2024
-
-
Nemanja Glumac authored
* Throw for unused Tasks endpoints * RTK Query `taskApi` * Wire tasks entity list and get endpoints to use RTK Query * Fix typo * Expose `taskApi` * Rework `TaskModal` to use RTK Query api * Throw on `Tasks.api.get` * Rework `TaskApp` to use RTK Query api * Delete `Tasks` entity ... which never should've been an entity in the first place. * Delete unused `TaskApi` entry * Fix next pagination page not being properly disabled * Do not export `isLastPage` function * Convert TasksApp to TS * Use Mantine Tooltip * Remove stray comment * Add empty lines for better legibility * Update the response type * Define `task_details` type more strictly * Use the existing `DatabaseId` type * Provide tags for `list` and `get` endpoints * Address code review * Handle error and loading in the `TasksApp` * Handle error and loading in the `TaskModal` * Extract the page size into a variable * Index databases without mutation * Refactor TaskModal
-
John Swanson authored
When we actually run the job to cache models, we select "refreshable models", which selects `PersistedInfo` where: - the `state` is something refreshable, and - the question marked for caching is actually a model, and - the question hasn't been archived. However, when we selected `PersistedInfo`s to display to the user, we didn't apply any conditions. Instead, we included PersistedInfo where the question was not a model, or where the question had been archived. To prevent confusion, let's hide these. Fixes https://github.com/metabase/metabase/issues/41318
-
Ryan Laurie authored
-
Raphael Krut-Landau authored
-
Denis Berezin authored
* Fix parameters parse * Add e2e test * Add e2e test
-
Jeff Bruemmer authored
-
Cal Herries authored
-
Raphael Krut-Landau authored
* Put Schedule in two columns * Simplify timezone display * Support 24-hour format * Fix bugs
-
Kamil Mielnik authored
-
Ryan Laurie authored
* WIP questionpicker * use to replace dashcard content * much better stuff * question picker * values source card modal * create action form * awesome hacky fix for crashing model detail page * use entity picker in sandboxing modal * deprecate ye olde question picker * keep old question picker in add-card dashboard sidebar * better last level check * update types * make stuff better * fix rebase conflicts * better initial value handling * update e2e tests * sweet sweet unit tests * fix sandbox tests * fix tests * type fix * fixes * search style improvements * remove unused prop * safer path detection * delayed loading spinner * change confirm default * set default collection for placeholder card * address review comments * update unit tests * update e2e tests * fix re-rebase * add some happy little comments
-
Braden Shepherdson authored
The filters for _numeric_ PK and FK filters are slightly different than a general numeric column. That's fine for numeric keys, but with string keys that same set of numeric filters was being returned, and then the ones for strings were removed. That left only `Is` and `Is Not` for a string PK or FK. This PR allows more flexibility in filtering by string PKs and FKs, by checking the base type of the column and using the right set of filters for the type of key. Closes #40665.
-
Mahatthana (Kelvin) Nomsawadi authored
-
Nemanja Glumac authored
* Add the pagination type * Add the pagination helper * Update types * Update `user` API * Update `collection` API * Update `search` API * Update `UserListQuery` type * Explicitly define default pagination inputs * Remove the pagination helper * Update and fix types `limit` and `offset` are actually nullable. * Separate types (again) * Fix `PaginationResponse` type
-
Chris Truter authored
-
Alexander Solovyov authored
-