Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. May 28, 2024
  2. Apr 01, 2024
  3. Feb 27, 2024
  4. Feb 26, 2024
  5. Feb 21, 2024
  6. Feb 19, 2024
  7. Feb 09, 2024
    • Oisin Coveney's avatar
      Add snowplow events for embedding setup flow (#37617) · d43863a2
      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 :tada:
      
      
      
      * 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: default avatarCal Herries <39073188+calherries@users.noreply.github.com>
      
      * Update src/metabase/util/embed.clj
      
      Co-authored-by: default avatarCal Herries <39073188+calherries@users.noreply.github.com>
      
      * Fix backend linter error, hopefully.
      
      ---------
      
      Co-authored-by: default avatarMahatthana Nomsawadi <mahatthana.n@gmail.com>
      Co-authored-by: default avatarMahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev>
      Co-authored-by: default avatarCal Herries <39073188+calherries@users.noreply.github.com>
      Co-authored-by: default avatarNicolò Pretto <info@npretto.com>
      d43863a2
  8. Feb 08, 2024
    • Nicolò Pretto's avatar
      Meet embedders - minimal version (#38520) · d88d32e5
      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: default avatarMahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev>
      
      ---------
      
      Co-authored-by: default avatarMahatthana (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: default avatarMahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev>
      d88d32e5
    • Alexander Solovyov's avatar
  9. Feb 02, 2024
  10. Dec 22, 2023
  11. Nov 15, 2023
  12. Nov 10, 2023
  13. Nov 03, 2023
  14. Oct 31, 2023
    • Nicolò Pretto's avatar
      Move card to tab - analytics event (#35151) · c10a995f
      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
      c10a995f
  15. Jul 31, 2023
  16. Jul 05, 2023
  17. Jul 03, 2023
  18. Jun 27, 2023
  19. Jun 26, 2023
  20. Jun 21, 2023
  21. Jun 20, 2023
  22. Jun 19, 2023
    • Mahatthana (Kelvin) Nomsawadi's avatar
      Merge Encourage admins to add a database to master (#31610) · 31951b43
      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: default avatarUladzimir Havenchyk <uladzimir.dev@gmail.com>
      Co-authored-by: default avatarKamil Mielnik <kamil@kamilmielnik.com>
      
      ---------
      
      Co-authored-by: default avatarUladzimir Havenchyk <uladzimir.dev@gmail.com>
      Co-authored-by: default avatarKamil 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: default avatarUladzimir Havenchyk <uladzimir.dev@gmail.com>
      Co-authored-by: default avatarKamil Mielnik <kamil@kamilmielnik.com>
      31951b43
  23. Jun 13, 2023
  24. Jun 12, 2023
  25. Jun 09, 2023
  26. May 26, 2023
  27. May 22, 2023
  28. Apr 21, 2023
  29. Apr 05, 2023
    • Mark Bastian's avatar
      Metabot version 2 -- LLM based metabot (#29646) · 93c96217
      Mark Bastian authored
      Added both FE and BE tooling for integration with LLMs, called "metabot". FE adds prompts for querying models and databases. BE takes these prompts, calls a LLM, parses the response, and returns the result.
      93c96217
  30. Mar 03, 2023
  31. Nov 16, 2022
  32. Aug 01, 2022
Loading