This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Apr 30, 2024
-
-
Phoomparin Mano authored
* bump react embedding sdk version to 0.1.0 * publish to metabase-embedding-sdk-react using version 0.1.1 * add commands to copy LICENSE and README files to output * use the scoped metabase package * rename file content variable Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev> * update embedding sdk package description * update content variable in script Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev> --------- Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev>
-
Mahatthana (Kelvin) Nomsawadi authored
It should be capitalized
-
adam-james authored
* Store Parameter Values Set by User on a per-user basis This is a WIP for #28181 and the notion doc: https://www.notion.so/metabase/Tech-Maintain-user-level-state-in-dashboards-for-filters-fc16909a3216482f896934dd94b54f9a Still to do: - [ ] validate the table/model design - [ ] hook up the endpoints mentioned in the doc (2 in api/dashboard) - [ ] return the user specific parameter values on /api/dashboard/:dashboardID endpoints - [ ] write a few tests to capture the intent of this feature * Accidentally deleted a digit in the change ID timestamp * first pass at writing user param values to the db. It's in a doseq here which is probably not the correct way to go yet, but it's a step in the right direction. * Hydrate dashboard response with `:last_used_param_values` key If the user has previously set a parameter's value, it will show up in the map under that parameter id. If the user has no parameter value set, that entry will be 'null'. * Use proper fn name * Only save or retreive user params if there's a current user id * Add model to necessary lists * Only run query when there are parameter ids to run it with * Add a test to confirm that last_used_param_values works * Add models test namespace for CRUD test * The hydration is checked in the dashboard api test already
-
Cal Herries authored
-
Nemanja Glumac authored
* Remove `dataset_duration` from MetabaseApi * Remove unused endpoint
-
Mahatthana (Kelvin) Nomsawadi authored
* Fix `sdk` key not expected on a reducer * Use existing type instead Co-authored-by:
Oisin Coveney <oisin@metabase.com> * Add default SDK state when using `renderWithProvider` with `sdk` mode --------- Co-authored-by:
Oisin Coveney <oisin@metabase.com>
-
Uladzimir Havenchyk authored
-
Ryan Laurie authored
* Revert "Fix default font in mantine (#41858)" This reverts commit 131594bc. * define font fallbacks
-
Raphael Krut-Landau authored
Since `ItemsTable` will be used in Browse models, this PR moves that file and related components to `metabase/components/ItemsTable`.
-
Mahatthana (Kelvin) Nomsawadi authored
This reverts commit e8636656.
-
Mahatthana (Kelvin) Nomsawadi authored
We should change this back once we can publish the package with the desired name.
-
Romeo Van Snick authored
* Add analytics event for combine columns shortcut * Add new version for question analytics schema * Add column_combine_via_shortcut event * Add custom_expressions_used field * Use trackSchemaEvent to track combine column event * Move trackColumnCombineViaShortcut to separate file * Fix typo in event key * Add column_combine_via_column_header * Add column_extract_via_shortcut * Add column_extract_via_column_header * Add database id for question * Move analytics file to frontend/src/metabase/query_builder * Allow null for custom_expressions_used * Add test for snowplow event * Fix typo in schema * Add max length to custom expressions * Add description to list item
-
Mahatthana (Kelvin) Nomsawadi authored
-
Oisin Coveney authored
-
Alexander Solovyov authored
-
- Apr 29, 2024
-
-
Alexander Polyankin authored
-
-
lbrdnk authored
* Update resolve-private-key and add test
-
Braden Shepherdson authored
Previously they could only be added to the query with `Lib.extract`, but this returns the expression the extract would add.
-
Cam Saul authored
* Fix add-alias-info matching for nominal field literal refs * Minor cleanup * Minimize diff * A bit more cleanup * Cumulative aggregations w/ multiple breakouts should reset counts (#2862) * Update dox * Do the nesting FIRST before adding alias info. * Remove unused * FE for Offset() * Cleanup stray code * Prettier * Kondo * Test fixes
* Better error message when no breakout * Support offset as an expression with no breakouts. Still require an ORDER BY tho. * Fix most stuff * Hack city?????? * Revert nest-query changes and disable the offset-no-breakout test for now. * Appease TypeScript * Test fix * Oracle & MySQL test fixes * Test fixes * Remove maxWorkers for FE unit tests -
Jeff Bruemmer authored
-
Nemanja Glumac authored
Resolves #41467
-
Luis Paolini authored
-
Nemanja Glumac authored
-
Noah Moss authored
-
Phoomparin Mano authored
* add metabase commercial license to embedding-sdk * attach commercial license file to npm package * refactor license file generation
-
Alex Yarosh authored
-
Jeff Bruemmer authored
-
Uladzimir Havenchyk authored
-
Raphael Krut-Landau authored
preliminary work for https://github.com/metabase/metabase/pull/41614
-
Tim Macdonald authored
* Missing sentence for NQA documentation * Add a test for optional field filter parsing
-
Aleksandr Lesnenko authored
-
Mahatthana (Kelvin) Nomsawadi authored
* Add Embedding SDK readme * Update enterprise/frontend/src/embedding-sdk/docs/README.md Co-authored-by:
Nicolò Pretto <info@npretto.com> * Update enterprise/frontend/src/embedding-sdk/docs/README.md Co-authored-by:
Phoomparin Mano <poom@metabase.com> * Update enterprise/frontend/src/embedding-sdk/docs/README.md Co-authored-by:
Phoomparin Mano <poom@metabase.com> * Clarify the result from `useQuestionSearch` * Remove the mentioning of API key Since we want to drop API key support for embedding SDK * Add more detail * Update enterprise/frontend/src/embedding-sdk/docs/README.md Co-authored-by:
Oisin Coveney <oisin@metabase.com> * Update enterprise/frontend/src/embedding-sdk/docs/README.md Co-authored-by:
Phoomparin Mano <poom@metabase.com> * Update enterprise/frontend/src/embedding-sdk/docs/README.md Co-authored-by:
Oisin Coveney <oisin@metabase.com> * Update enterprise/frontend/src/embedding-sdk/docs/README.md Co-authored-by:
Oisin Coveney <oisin@metabase.com> * Update enterprise/frontend/src/embedding-sdk/docs/README.md Co-authored-by:
Phoomparin Mano <poom@metabase.com> * Update enterprise/frontend/src/embedding-sdk/docs/README.md Co-authored-by:
Oisin Coveney <oisin@metabase.com> * Remove private GH repo * Remove the compatibility table until we've made the first release * Fix typo * Add details how to run with locally built SDK * Correct Metabase Embedding SDK case * Make the instruction more concise * Add a disclaimer * Update config removing deleted property * Add Oisin suggestion that was missed from rebasing * Clarify plugin section * Tweak SDK Readme * Polish the limitation section * Update the code sample into 4 sections making it easier to read * Tweak overview and features section of README * Add metabase configuration section * Clean up section * Replace the doc in the root embedding SDK directory * Some tweaks and improvements to SDK README * Tweaks to SDK README: wording, change flow, add section on running MB from master * Update enterprise/frontend/src/embedding-sdk/README.md Co-authored-by:
Oisin Coveney <oisin@metabase.com> * Feedback section * Add simple InteractiveQuestion example * SDK README: Tweak Slack wording * Standardize fullstops + fix typo * Clean up formatting --------- Co-authored-by:
Nicolò Pretto <info@npretto.com> Co-authored-by:
Phoomparin Mano <poom@metabase.com> Co-authored-by:
Oisin Coveney <oisin@metabase.com> Co-authored-by:
Alberto Perdomo <alberto.perdomo@gmail.com>
-
Mahatthana (Kelvin) Nomsawadi authored
-
Cal Herries authored
-
Romeo Van Snick authored
-
- Apr 26, 2024
-
-
Aleksandr Lesnenko authored
Co-authored-by:
Emmad Usmani <emmadusmani@berkeley.edu> Co-authored-by:
Adam James <adam.vermeer2@gmail.com> Co-authored-by:
Mark Bastian <markbastian@gmail.com> Co-authored-by:
Jesse Devaney <22608765+JesseSDevaney@users.noreply.github.com> Co-authored-by:
Anton Kulyk <kuliks.anton@gmail.com>
-
John Swanson authored
* Add `collection.effective_ancestors` to search Fixes #41909 The ultimate goal here is to be able to display a UI that showed the entire (effective) path to each collection. This was a bit more painful than I'd hoped. The primary issue is that we tied two things together: - scoring results - "serializing" results (really, partially serializing results, because we do more work to shape the data later) Why is this a problem? The `top-scorers` function took a transducer and returned the *serialized* top scorers. Later, when we need to operate on *all* the top results (in this case, to collect all the collection IDs and names that we know of), we're looking at the serialized results. In our case, we needed some data (collection location) that wasn't included after serialization. We could add it, of course, but it's frustrating to need to change the API of what data is *returned* from the endpoint for purely internal purposes (changing the data available during *processing*). I ended up pulling serialization out of the scoring function. At some point down the road, we should go ahead and move the `serialize` function out of the `search.scoring` namespace entirely - there's really no reason for it to belong there as far as I can tell.
-
Sloan Sparger authored
-
Ryan Laurie authored
* remove popular items entity * support secondary icons
-