This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Apr 05, 2024
-
-
Alexander Polyankin authored
-
- Apr 04, 2024
-
-
Alexander Polyankin authored
-
- Apr 03, 2024
-
-
Nemanja Glumac authored
* Bump the question schema and update it with the new events * Enable snowplow tracking on the frontend * Add E2E test for tracking snowplow events related to native preview sidebar * Fix question id type in the schema
-
- Apr 02, 2024
-
-
Chris Truter authored
-
- Mar 27, 2024
-
-
Raphael Krut-Landau authored
-
- Mar 25, 2024
-
-
Nicolò Pretto authored
-
- Mar 21, 2024
-
-
Chris Truter authored
-
- Mar 18, 2024
-
-
Chris Truter authored
-
- Mar 01, 2024
-
-
Nicolò Pretto authored
* adds /api/setup/token-check and add license-token to POST /api/setup (#38858) * adds /api/setup/token-check and add license-token to POST /api/setup * refactor tests * license-token => license_token for consistency * fixed test message * fix nesting in test * Add the step in the FE and pass the token to the setup api call (#38953) * refactor: go back to saving the index for the step, to avoid having to use a selector that needs global state in the reducer * Revert "refactor: go back to saving the index for the step, to avoid having to use a selector that needs global state in the reducer" This reverts commit ee7e44f48788528e059c3f1f8816a73b675e082b. * feat: adds UI and token api logic * test structure for paid features * initSetup action as workaround * pass token to the /setup endpoint * add jest tests for ee without token case * add warning comment on getIsPaidPlan * copy old schema for better diff * add license_token step seen event in the schema * update e2e tests to make them pass * should make e2e pass * explicitly check that the license activation step is not rendered * useStep hook * refactor: simplify logic in step_number * refactor: getInactiveStepTitle * fix too many slashes in import * refactor: rename selectThisStep to handleStepSelect * use isSetupCompleted from useStep * adds expect().toBeInTheDocument * remove waitFor in favor of await findBy * add submit snowplow event and increase the onboarding version in the events (#39151) * trackLicenseTokenStepSubmitted * adds a test and makes sure we're passing the token as undefined, not as null * clean up * remove waitFor * goToNextStep in all thunks (#39103) * Revert "initSetup action as workaround" This reverts commit 0318a55b. * goToNextStep thunk * Change the Next button to skip for the license activation step (#39292) * change the Next button to be Skip * trim token input * fix e2e test * fix quotes * hide error when the user changes the token (#39440) * keep token visible when going back (#39443)
-
- Feb 27, 2024
-
-
Oleg Gromov authored
-
- Feb 26, 2024
-
-
Ryan Laurie authored
* Add two Snowplow click tracking events to the Browse Data page, for clicks on models and tables # Conflicts: # frontend/src/metabase/browse/components/BrowseModels.tsx # frontend/src/metabase/browse/components/TableBrowser/TableBrowser.jsx * add backend event * fix event tracking * test snowplow even * update schema type field * more prettier --------- Co-authored-by:
Raphael Krut-Landau <raphael.kl@gmail.com>
-
- Feb 23, 2024
-
-
Mark Bastian authored
* Endpoint stubs * It's alive!!! The summarization endpoint is live, calling OpenAI, and connected to the `POST "metabot/card/summarize"`. `POST card/` also taps the results. * Updating prompt * Updated response shape * [WIP] working front-end suggest button * Incorporating viz settings * add suggest description to save question modal * Updating prompt * merge title and description suggestion into one button * Updating prompt * Removing dead code * Removing unused param and fn cleanup * Fix string comment * Adding dashboard summary endpoint stubs * auto-request title and description * dashboard summary wip * dashboard summary wip * dashboard summary wip * better prompt * remove dead component * add suggest description button in dashboard sidebar * fix dashboard description suggestion request * better prompt * swap out button when generating dashboard suggestion * adding keywords * adding keywords * adding keywords * adding keywords * polish loading question name and description suggestions * polish UI for dashboard description suggestion * Stubbed in usage middleware * Beginning EE Push Moved metabot/summarize endpoints to autodescribe/summarize in the ee codebase to push this towards being an ee feature and distinguish it from metabot features. Added snowplow tracking. * Isolating EE LLM Code This change completely separates metabot code from ee llm code. It also introduces a composable client mechanism for creating LLM clients for different tasks. * Task-Oriented LLM Refactoring LLM code is now organized clearly into a directory of tasks. Each ns in the tasks package provides a certain LLM task to be used in the API. * Adding unit test * Adding admin UI elements for EE OpenAI key * prettier on frontend/src/metabase/services.js * Cleaning up description text * Updating api calls * FE stuff -- hiding things when feature not enabled. * Figuring out linting for snowplow file * Figuring out linting for snowplow file * Fixing unit test * add token feature llm-autodscription * change added from 0.50 to 0.49 * extract logic from SaveQuestionModal into ee plugin * extract logic from DashboardInfoSidebar to ee plugin * Fixing unit test * tests * cleaning up code for SaveQuestionModal * gate llm question name behind openAI key setting * remove styles from SaveQuestionModal.css * clean up code for dashboard * lint * Enabling triggering based on `:llm-autodescription` feature flag * Starting to look at using a badge for LLM results (#38797) * Starting to look at using a badge for LLM results * WIP - Using an Indicator to show AI "stuff" * Prototype of LLM with badge/indicator * Removing dashboard description AI * Ensuring LLM icon only shows when key is present. Updating icon to newer design. TODO: Put the icon in the right place. * Cleanup -- still need to figure out how to position the indicator and not collapse the radio when selected. * Updating save question form with LLM values does not reset form * Cleanup * Correct icon placement * Adding MB branding to star * add ai icon, tweak display * Fix z-index, tweak padding * cleanup * remove inactive code * Cleaning llm description task cobwebs out * fix collection creation * Cleaning lint and merge errors * Adding "save-question-modal" test id back in * Fixing jest test * Touching a file to unstick CI * Untouching a file to unstick CI * Fixing some includes from the rebase. * eslint fixes * eslint fixes * Fixing types * Using `PLUGIN_IS_EE_BUILD.isEEBuild()` instead of `isEnterprise()` * Removing dead styling * Adding test ids and fixing cypress tests * Fixing e2e tests * Incorporating feedback * Update frontend/src/metabase-types/api/settings.ts Co-authored-by:
Jesse Devaney <22608765+JesseSDevaney@users.noreply.github.com> * Update frontend/src/metabase/core/components/EditableText/EditableText.tsx Co-authored-by:
Jesse Devaney <22608765+JesseSDevaney@users.noreply.github.com> * Update frontend/src/metabase/core/components/Input/Input.tsx Co-authored-by:
Jesse Devaney <22608765+JesseSDevaney@users.noreply.github.com> * Update frontend/src/metabase/core/components/TextArea/TextArea.styled.tsx Co-authored-by:
Jesse Devaney <22608765+JesseSDevaney@users.noreply.github.com> * Update frontend/src/metabase/core/components/TextArea/TextArea.styled.tsx Co-authored-by:
Jesse Devaney <22608765+JesseSDevaney@users.noreply.github.com> * Update frontend/src/metabase/dashboard/components/DashboardInfoSidebar/DashboardInfoSidebar.tsx Co-authored-by:
Jesse Devaney <22608765+JesseSDevaney@users.noreply.github.com> * Fixing import * Rebasing on master to fix conflicts * Fixing types * Revert "Update frontend/src/metabase/core/components/EditableText/EditableText.tsx" This reverts commit fe11817086bff50f90336f30d33a1431cae662c5. * Revert "Update frontend/src/metabase/core/components/Input/Input.tsx" This reverts commit eef21407ee32e636a8b4e2594d502d5bbaa36870. * Revert "Update frontend/src/metabase/core/components/TextArea/TextArea.styled.tsx" This reverts commit dd1c22b993a6576d92547749d2eb93cb68411585. * Revert "Update frontend/src/metabase/core/components/TextArea/TextArea.styled.tsx" This reverts commit b169d05364e92c032ae5b6c972888a86079921e2. * Fixing e2e tests * address feedback * Fixing e2e tests * Fixing modal for models --------- Co-authored-by:
Jesse Devaney <22608765+JesseSDevaney@users.noreply.github.com> Co-authored-by:
Emmad Usmani <emmadusmani@berkeley.edu> Co-authored-by:
Kyle Doherty <5248953+kdoh@users.noreply.github.com> Co-authored-by:
Anton Kulyk <kuliks.anton@gmail.com> Co-authored-by:
Ryan Laurie <iethree@gmail.com>
-
- Feb 21, 2024
-
-
Anton Kulyk authored
-
- Feb 19, 2024
-
-
Anton Kulyk authored
* Implement `dashboard_width_toggled` event * Implement `dashboard_section_added ` event * Add a new snowplow schema file (1-1-4) * Use 1-1-4 schema file
-
- Feb 09, 2024
-
-
Oisin Coveney authored
* Add snowplow events for embedding setup flow * Fix dashboard model tests * Fix dashboard tests * Fix card tests * Fix dashboard API tests * Fix type error * Implement analytics 2/7 1. public_link_copied 2. public_link_removed * Fix snowplow schema enum Removing null as we don't seem to put `null` in `enum` * Complete the embed_flow snowplow schema * Modify `initial_published_at` to not be overridden * Implement analytics 4/7 1. public_link_copied 2. public_link_removed 3. public_embed_code_copied 4. static_embed_published 5. static_embed_unpublished * Prevent accidental ESLint log in Cypress * Differentiate `EmbeddingParametersSettings` from `EmbeddingParametersValues` We were mixing the type before, as the former one are the type of the setting values, not the actual values for the parameters. * Fix dashboard and card types * Fix `params` count for `static_embed_published` event * fixup! Prevent accidental ESLint log in Cypress * Fix ESlint from the result of upgrading ESLint package * Fix Snowplow schema enum to include null * Fully implement `static_embed_code_copied` * Finish embed_flow snowplow
* Fix unit tests because markup change * Fix E2E tests * Fix E2E CI failure Apparently using `.realClick()` on copy button could fail locally, but pass on CI and vice-versa. I couldn't replicate this all the time. I'm not sure why it would fail locally. * Fix copy to clipboard not working on CI * Improve test readability * Remove extra test-id * Fix refactor `*CodeOptionId` * Restrict Snowplow schema * Revert unnecessary change * Apply Cal's suggestions for BE improvements Co-authored-by:Cal Herries <39073188+calherries@users.noreply.github.com> * Update src/metabase/util/embed.clj Co-authored-by:
Cal Herries <39073188+calherries@users.noreply.github.com> * Fix backend linter error, hopefully. --------- Co-authored-by:
Mahatthana Nomsawadi <mahatthana.n@gmail.com> Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev> Co-authored-by:
Cal Herries <39073188+calherries@users.noreply.github.com> Co-authored-by:
Nicolò Pretto <info@npretto.com>
-
- Feb 08, 2024
-
-
Nicolò Pretto authored
* refactor: prepare SettingsPage to have conditionally rendered steps (#38201) * refactor: prepare SettingsPage to have conditionally rendered steps * fix tests missing props * Usage reason question (#38267) * Invactive -> Inactive * add question * fix e2e test * small refactor * Update frontend/src/metabase/setup/components/UsageQuestionStep/UsageQuestionStep.tsx Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev> --------- Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev> * Hide "Add your data" step for people interested in embedding (#38390) * hide 'Add your data' step when user is interested in embedding * add other test cases * refactor: create selector * address pr feedback * adds minimal embed focused homepage (#38402) * very minimal homepage * fixed text color * minimal e2e + actual logic that i forgot lol * refactor the list to not have the numbers in the content * rename util functions * use button to have cursor when hovering + accessibility * refactor: move the waitFor inside the submit step * fix: make sure state is clean on multiple installs in a row * test: check that the homepage persists reload + removed typos * rename s to state * moved util functions up to home/utils.ts * adds key to avoid react warning * refactor and tests for [meet embedders] (#38465) * test: check all numbered steps during the setup flow * refactor: introduce getSteps and start using the step name instead of a number to identify steps * refactor: remove map of the steps, use step names directly * refactor: getNextStep * include 'hidden' steps in getSteps so that it won't mess up with analytics * fix after rebase issue * use full name instead of s, s -> step * analytics for meet-embedders (#38521) * refactor: extract schema version and onboarding version into constants * remove old ga events * trackUsageReasonSelected * update trackStepSeen to send the correct index * copy old schema for better diff * adds new snowplow event for usage_reason step * schema and e2e update for usage_reason_selected * adds utm tag to the link in the minimal embed homepage --------- Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev>
-
Alexander Solovyov authored
-
- Feb 02, 2024
-
-
Emmad Usmani authored
Part of https://github.com/metabase/metabase/issues/36497 ### Description In https://github.com/metabase/metabase/pull/36744 we tracked dashcard replacement with a new event name, but did not add this event name to the dashboard snowplow schema. In this PR we add the name to the schema, and update an e2e test to ensure the event is being tracked. ### How to verify Follow this [guide](https://www.notion.so/metabase/Snowplow-integration-5da1f874beda4153b4fccfa6c1e77caa) to run snowplow, then try replacing a dashcard locally, you should see the log in the console. ### Demo https://github.com/metabase/metabase/assets/37751258/e8566f09-b9b8-47de-b215-fe0e25c7d920 ### Checklist - [x] Tests have been added/updated to cover changes in this PR
-
Emmad Usmani authored
Part of https://github.com/metabase/metabase/issues/38208 ### Description Adds snowplow event tracking for dashboard card and tab duplication. No snowplow schema changes were made, we just added a couple of new event names. ### How to verify Follow this [guide](https://www.notion.so/metabase/Snowplow-integration-5da1f874beda4153b4fccfa6c1e77caa) on running snowplow locally, then go to a dashboard and duplicate some cards and tabs, confirm the logs appear. ### Demo https://github.com/metabase/metabase/assets/37751258/db59337d-a3aa-4d5d-afd0-fdd9998b13ed ### Checklist - [x] Tests have been added/updated to cover changes in this PR
-
- Dec 22, 2023
-
-
Noah Moss authored
-
- Nov 15, 2023
-
-
Cal Herries authored
-
- Nov 10, 2023
-
-
Ngoc Khuat authored
-
- Nov 03, 2023
-
-
Oisin Coveney authored
-
- Oct 31, 2023
-
-
Nicolò Pretto authored
* move cards analytics event, closes #35123 * change test to check specific analytics event * fix version in schema * update src/metabase/analytics/snowplow.clj with 1-1-2 schema version * update all dashboard schema events to use version 1-1-2 * refactor: exctracted "DASHBOARD_SCHEMA_VERSION" variable * refactor: use camelCase for local constant
-
- Jul 31, 2023
-
-
Alexander Polyankin authored
-
- Jul 05, 2023
-
-
Aleksandr Lesnenko authored
-
- Jul 03, 2023
-
-
Jerry Huang authored
-
Nick Fitzpatrick authored
* moving dashboard events 1-0-2 to 1-1-2 * update version number --------- Co-authored-by:
Ryan Laurie <iethree@gmail.com>
-
- Jun 27, 2023
-
-
Aleksandr Lesnenko authored
-
Ryan Laurie authored
* track dashcard events
-
Cal Herries authored
-
- Jun 26, 2023
-
-
Nick Fitzpatrick authored
* Adding snowplow events for custom homepage and dashboard pdf downloads * PR Feedback * rebase fix
-
- Jun 21, 2023
-
-
Alexander Polyankin authored
-
Alexander Polyankin authored
-
- Jun 20, 2023
-
-
Jerry Huang authored
* rename folder * rename folder
-
Jerry Huang authored
* initial commit * add snowplow schema * change indexmodel to model
-
- Jun 19, 2023
-
-
Mahatthana (Kelvin) Nomsawadi authored
* Encourage admin users to connect to a database (#31210) * Encourage admin users to connect to a database * Only render either payment banner or database prompt banner Discussed here: https://metaboat.slack.com/archives/C057T1QTB3L/p1685549180307149?thread_ts=1685547913.580079&cid=C057T1QTB3L * Improve mobile view layout * Address review: Remove `withRouter` HoC * Address review: Remove optional chaining * Address review: Refactor a component's deprecated `shouldRender` property * Add an e2e test to cover happy path * Remove new translation in `aria-label` * Fix sticky parameter widgets when showing database prompt banner * Fix E2E tests * Address review: Add missing unit tests * Fix a failed E2E test from rebasing off `master` branch * Add analytics (#31470) * 2/x Add analytics * Fix a failed E2E test from merging code from master * Prevent rendering the database prompt banner when white labeling (#31471) * 3/x Convert enterpise settings selectors to TypeScript * Add missing enterprise settings selectors tests * Don't render db prompt banner when white labeling * Reorganize the test to make an EE test more standing out * Address review: Remove unused function * 4/x Follow up reviews and tests (#31545) * 4/x Address review: Simplify code structure * Address review: Fix variable name collision * Move logic to display database banner to a hook * Remove unnecessary await * Restructure AppBanner tests * Swap test position to match the defined test matrix * Address review: removed outdated comment * Address review: Make `useShouldShowDatabasePromptBanner` hook tests clearer * Address review: Make conditions easier to follow Co-authored-by:
Uladzimir Havenchyk <uladzimir.dev@gmail.com> Co-authored-by:
Kamil Mielnik <kamil@kamilmielnik.com> --------- Co-authored-by:
Uladzimir Havenchyk <uladzimir.dev@gmail.com> Co-authored-by:
Kamil Mielnik <kamil@kamilmielnik.com> * 5/x Add embedding tests (#31557) * 5/x Add embedding tests * Clean up: Fix a selector signature * Address review: Using existing utility * Ensures that embedding pages are loaded before asserting UI not existing * Ready to write PublicQuestion tests * Move public and signed embeds tests to unit tests * Removed outdated eslint comment --------- Co-authored-by:
Uladzimir Havenchyk <uladzimir.dev@gmail.com> Co-authored-by:
Kamil Mielnik <kamil@kamilmielnik.com>
-
- Jun 13, 2023
-
-
Cal Herries authored
* Add snowplow event tracking * Use integer type for model_id and size_mb instead of size_bytes * Rename upload_speed to upload_seconds and avoid wasting time if the upload was successful
-
- Jun 12, 2023
-
-
Cal Herries authored
-
- Jun 09, 2023
-
-
Oisin Coveney authored
-