This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Nov 06, 2024
-
-
Jeff Bruemmer authored
-
- Oct 31, 2024
-
-
Jeff Bruemmer authored
-
- Oct 30, 2024
-
-
Denis Berezin authored
* fix(sdk): Editable dashboard should not overlap content below it * Add sizing note
-
- Oct 28, 2024
-
-
Mahatthana (Kelvin) Nomsawadi authored
-
- Oct 21, 2024
-
-
Nicolò Pretto authored
* run prettier on sdk readme * fix code snippets so that prettier can format them * put back the empty new line on the package.json
-
- Oct 18, 2024
-
-
Nicolò Pretto authored
* defineEmbeddingSdkConfig to make typing easier when the config is created outside of the jsx * also add defineEmbeddingSdkTheme, move them to index.ts as i don't have a good name for what file to put them into :shrugs: * updated the readme to use the defineXXX functions
-
Oisin Coveney authored
-
- Oct 17, 2024
-
-
Phoomparin Mano authored
* hide downloads by default in the sdk * update readme to reflect withDownloads prop * update readme formatting * update tests
-
- Oct 11, 2024
-
-
Mahatthana (Kelvin) Nomsawadi authored
* Add Next.js to SDK readme * Fix typo
-
- Oct 02, 2024
-
-
Alberto Perdomo authored
* Improvements to SDK readme * Add live demo site to SDK readme * Remove suggested workarounds for SSR * Use - for bullets for consistency * Remove Loom * Update enterprise/frontend/src/embedding-sdk/README.md Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev> --------- Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev>
-
- Sep 25, 2024
-
-
Oisin Coveney authored
-
- Sep 02, 2024
-
-
Oisin Coveney authored
Co-authored-by:
Bryan Maass <bryan.maass@gmail.com> Co-authored-by:
Nicolò Pretto <info@npretto.com>
-
Phoomparin Mano authored
* ask for tenancy isolation columns * deny all permissions for all users group * create new collections * add jwt group mappings * add the permissions step * add multi-tenancy message in helper text format * add permission graph * wire together permissions * use schema permissions * use fields from table metadata from query_metadata * add tenancy field reference * remove log messages * deny access to unsandboxed tables * make permission graph more explicit * deny access to sample database for customer groups * add unit test for permission graph * split permission groups and sandboxes * jwt settings and hard-coded user attributes * handle errors when updating sso mappings * add express api and user switcher * only fallback to api keys when license is invalid * add util to sample tenancy column values * conditional BASE_SSO_API imports * improve embedding error message * setup jwt configuration after license step * setup permissions at the last step * add missing import * update steps that requires license * fix incorrect imports * add missing useContext * handle permission update error * remove tenancyIsolationEnabled field * add tenancy column sampling * differentiate tenancy column query error * rename tenancyColumnValues to tenantIds * assign sampled tenant ids to user attributes * add tenant ids * define collection permissions * reference sandboxing group by name * update snippet to be same as the README * extract ask for tenancy columns to a separate step * use the customer_id attribute * query the table query metadata at origin * append tables correctly * improve error handling in table scanning * add retry logic to metadata fetching * only query metadata for selected fields * fix race condition with retry * update loading state and retries * update comments on jwt license Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev> * filter the target table by id * highlight last selected tenant column * use breakout to get list of ids * temporary workaround to reload the whole page * update row value types * update row value types * ask if they want to setup a pro license * post-installation improvements for cli * block non-selected tables * remove the source-field from sandboxing * use the fk_target_field_id as instead of target.id * update unit test * add learn more message * install mock server dependencies * fix post-setup step formatting * fix text wrapping * skip tenancy columns and permissions if token is not provided * only show the server dir step when license is enabled * skip permission setup if there is no tenancy column * remove source-field as we only reference our own column * add runIf flag to skip steps * remove the gitignore mention as this is automatic * configure permission if there are some tenancy columns * make native permission types more strict * add notice about setting up local mb instance * support multiple tenancy columns * map the tenancy column name as the user attribute * add component import guide * fix deprecated punycode in node-fetch * warn on unsampled tables * show helper text on tenancy columns * allow sampling repeated tenant * add instruction to change directory into mock server * align the learn more message --------- Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev> Co-authored-by:
Oisin Coveney <oisin@metabase.com>
-
- Aug 21, 2024
-
-
Oisin Coveney authored
-
- Aug 16, 2024
-
-
Denis Berezin authored
-
Oisin Coveney authored
-
- Aug 13, 2024
-
-
Phoomparin Mano authored
* add setup commands * fix settings definition * update environment variables for cli * handle instances not being ready * update error messages * add more specific loading messages * loading spinner state * improve error message * use a fixed demo setup token * remove extraneous spinner * update status checks * update container messages * update wait timing * create api keys * extract constants * remove manual steps * Add anonymous tracking + other things. will need to clean up * Modify SDK for better structure * remove line from print.ts * Update webpack.embedding-sdk-cli.config.js back to production * Add types and add quick note * Fix a typo * Add index file, simplify types, use an array * Add safer json parsing * use delay of 100ms between each setup call * Suggestions from review * ensure that cli works * Attempt to fix jest errors * Remove node-fetch from sdk code to hopefully get unit tests working again * add database connection * add connection details handling * refactor asking for database connection info * apply actual database id for syncing schema * fix failing database sync step * allow table selection * create model for each table * handle errors in model creation * fix incorrect model display name * create x-rays based on user data * consolidate instance setup message * workaround for inquirer eventemitter issue * add sample components * fix yarn.lock file * add sample components * set spinner to fail state when instance setup fails * use a transparent background by default * update cli welcome messages * add import notice * refactor imports * update snippet to add dashboard dropdown * cli add credential file to users .gitignore * add docs on quickstart * clear screen with console.clear * address code review feedback Co-authored-by:
Nicolò Pretto <info@npretto.com> * allow node 18 lts --------- Co-authored-by:
Oisin Coveney <oisin@metabase.com> Co-authored-by:
Nicolò Pretto <info@npretto.com>
-
- Aug 12, 2024
-
-
Denis Berezin authored
-
- Aug 06, 2024
-
-
Denis Berezin authored
-
- Jul 29, 2024
-
- Jul 24, 2024
-
-
Phoomparin Mano authored
-
- Jul 19, 2024
-
-
Alberto Perdomo authored
Warning about React 17 Update supported and planned features
-
- Jul 18, 2024
-
-
Phoomparin Mano authored
* customize popover z-index * make popover z-index customizable * make the popover z-index customizable * add tests for popover z-index * also specify z-index for mantine popover
-
- Jul 16, 2024
-
-
Phoomparin Mano authored
* rename scalar to number * try to update loki reference image * change scalar to number * update loki reference image
-
Phoomparin Mano authored
* add authentication status hook * update docs
-
Phoomparin Mano authored
* sync fetch request token function with store * update unit test * update docs * use re-render to rerender test
-
- Jul 15, 2024
-
-
Phoomparin Mano authored
* parameterized static questions * sdk parameter values * use parameters to construct parameter input * add a unit test for passing the correct parameters * fix parameter parsing * move TEST_PARAM to top of file * update readme docs * address code review
-
- Jul 12, 2024
-
-
Oisin Coveney authored
-
- Jul 11, 2024
-
-
Denis Berezin authored
* Add event handlers docs for SDK * Invert events logic and update documentation * Apply prettier
-
Phoomparin Mano authored
* create sdk load question * store question result in sdk context * remove dataset data type * update question * handle navigate to new card * add loading states * fix on query change * update question change logic * refactor question loading and query params * fix ad-hoc question in dashboards * extract useLoadQuestion into a separate hook * cleanup run question on load * revert changes in interactive question component * store original question in the question result state * turn the question into ad-hoc questions * refactor run question methods * add a separate isQueryRunning state for better ux * isQueryRunning should default to false * simulate re-running the query in unit tests * add tests for rendering multiple valid questions * refactor sync question method * extract raw series and computed pivot logic * add getCardAfterVisualizationClick * separate single and multiple question tests * fix import paths * is question native * pass queryResult instead of queryResults * temporarily remove checkNotNull for aggregation picker to avoid sdk crash
-
- Jul 10, 2024
-
-
Phoomparin Mano authored
* add refresh auth token function * provide a default implementation for refreshing auth tokens * rename getRequestToken to fetchRequestToken * add docs on customizing jwt authentication * clarify docs, add error handling and failing tests * update tests to pass * re-export FetchRequestTokenFn type * re-export EmbeddingSessionToken type
-
- Jul 09, 2024
-
-
Phoomparin Mano authored
-
- Jul 08, 2024
-
-
Mahatthana (Kelvin) Nomsawadi authored
* Document how to reload Metabase embedding SDK components * Improve readme clarity on useEffect block
-
- Jul 01, 2024
-
-
Oisin Coveney authored
-
- Jun 26, 2024
-
-
Phoomparin Mano authored
-
- Jun 21, 2024
-
-
Phoomparin Mano authored
-
- Jun 20, 2024
-
-
Mahatthana (Kelvin) Nomsawadi authored
-
Phoomparin Mano authored
* funnel start color should be text-dark * change pivot table font size unit to em for scaling * change funnel and legend item unit to em * change funnel font size to em * change object detail font size to em * change gauge font size to em * add cartesian chart padding config * update docs * remove isEmbeddingSdk prop * simulate the 0.875em base font size * chart padding override should apply in query builder * add cartesian padding to stories * update readme docs * fix collection browser option in readme docs * fix pivot table font size scaling * update loki * update loki * use em for smart scalar * update chart default padding * revert smart scalar font size scaling due to measurement * dynamic font family and font size as defaults * pivot table * add more properties to sdk docs * make FONT_SIZES constant local * link to discussion on query builder extra spacing * enforce that font is passed to getLeftHeaderWidths
-
Alberto Perdomo authored
Remove warnings about not using MB versions in production. This is a left over from the time we were pointing to builds off master and RCs.
-
- Jun 19, 2024
-
-
Denis Berezin authored
* Temp * Add support for saved questions * Try to fix question not found issue * Try to fix question not found issue * Fix unit tests * Add basic unit test * Fix unit tests * Fix unit tests, fix question not found issue * Review fixes * Review fixes * Refactor components structure, review fixes * Adjust readme
-