This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Oct 15, 2024
-
-
bryan authored
* adds data + schema for metrics stats ping * remove comment * annotate todos * fill in the rest of the metrics values - and add defaults * fix some definitions + use a single timestamp * shuffle stuff around to appease the namespace linter - we aren't reaching into the api API, so the linter is more of a formality here. * update docstring * fix jsonschema, maybe * review responses - revert changes to 1-0-0 - add metrics section to new file: 1-0-1 - bump ::instance_stats to "1-0-1" - add tags into 1-0-1 - make the code return tags (empty for now until we know what to tag things.) - also fix test that broke from shuffling settings around * remove a footgun * add tags to metrics, add grouped_metrics to jsonschema 1-0-1 format 1-0-1 * indent * cljfmt * version should match filename * update instance stats 1-0-1 schema * require `tags` in grouped_metric + snowcat comment * fix formatting noise * update schema to make it valid * remove grouped_metrics from instance_stats schema * cljfmt appeasement * unbin cache_num_queries_cached value - alphabetize metrics generation * we can now guarantee metric values will be ints * jsonschema for instance_uuid, settings, and grouped_metrics * add analytics_uuid and make it required * lint + alphabetize instance stats json schema * update setting key type - add maxLength to some strings * lint jsonschema - Add description to setting.items.tags - add maxLength, and {min,max}imum to setting.items.value * Bump instance stats to 2-0-0 - remove analytics_uuid string length == 36 check - adds assertion to ensure required fields are set (and it passes) - adds info for embedding settings * adds a grouped-metric to stats ping - adds length info to the schema to pass jsonschema linting * cljfmt
-
Aleksandr Lesnenko authored
-
- Oct 11, 2024
-
-
Nick Fitzpatrick authored
* adding snowplow event for archiving stale items * adding total_items_archived to cleanup events
-
- Oct 08, 2024
-
-
Aleksandr Lesnenko authored
* track iframe creation * Update Loki Snapshots * Update frontend/src/metabase/visualizations/visualizations/IFrameViz/utils.unit.spec.ts Co-authored-by:
Anton Kulyk <kuliks.anton@gmail.com> --------- Co-authored-by:
Metabase Automation <github-automation@metabase.com> Co-authored-by:
Anton Kulyk <kuliks.anton@gmail.com>
-
Nicolò Pretto authored
Co-authored-by:
Oisin Coveney <oisin@metabase.com> Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev> Co-authored-by:
bryan <bryan.maass@gmail.com> Co-authored-by:
Nicolò Pretto <info@npretto.com>
-
- Sep 25, 2024
-
-
Noah Moss authored
Co-authored-by:
Thomas Schmidt <thomas@metabase.com>
-
- Sep 04, 2024
-
-
Nicolò Pretto authored
* rename event -> simple_event and trackEvent -> trackSimpleEvent * add empty line at the end of the file Co-authored-by:
Thomas Schmidt <thomas@metabase.com> --------- Co-authored-by:
Thomas Schmidt <thomas@metabase.com>
-
- Aug 29, 2024
-
-
Thomas Schmidt authored
-
Thomas Schmidt authored
-
- Aug 12, 2024
-
-
Alexander Solovyov authored
-
- Aug 02, 2024
-
-
Nicolò Pretto authored
* update static_embed_code_copied to use downloads (#45944) * copy schema file for better diff * adds downloads field to appearance in embed_flow schema * update event to send `downloads` parameter, update e2e tests * fix test for dwonloads: false * fix: use correct schema version for embed flow analytics (#46053) * update `dashboard_pdf_exported` and use it in embedding context (#46076) * copy schema for better diff * adds `dashboard_accessed_via` to the `dashboard_pdf_exported` event * download_results_clicked event (#46132) * adds download_results_clicked event + e2e tests * make strings nullable * adds maxLength * switch back to if/then as it seems more readable * refactor: use the resourceType to determine the download params instead of re-doing the logic * fix ''question' is possibly 'undefined'.' * split resource_type into resource_type and accessed_via to also consider interactive-embedding and sdk * edit comment * adds test for ad-hoc-question * Update frontend/src/metabase/query_builder/actions/downloading.ts Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev> * makes describe message more consistent * "else if" => if * fix describe block name * convert downloads event to use enum for download_type and export_type * resource_type should be an enum too * fix line added in the wrong place during merges --------- Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev> * Update frontend/src/metabase/public/components/EmbedFrame/EmbedFrame.tsx Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev> * adds enum schema to dashboard_accessed_via * fix accessed_via for sdk embeds * update comments to explain why we send 0 when dashboardId is null * only send dashboard_id as a number when it is a number, as expected by snowplow * remove un-needed async/await from saveAsPDF function * rename frontend/src/metabase/redux/downloading-analytics.ts -> frontend/src/metabase/redux/downloads-analytics.ts * fix cy.log message --------- Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev>
-
- Jul 30, 2024
-
-
John Swanson authored
* Make an internal API for retrieving stale content This introduces the `metabase.stale` module, which has one public function (so far): `metabase.stale/find-candidates`. This takes a set of `collection-ids`, a cutoff date, and pagination/sort info. Next, we introduce an HTTP API endpoint that will figure out the appropriate set of `collection-ids` for a given user/request, call this function, and return the results in the shape we want. Also: for e2e tests, we need a way to mark a card or dashboard as stale. I think the easiest way to do this is to just create a testing endpoint that we can call to update the `last_used_at` or `last_viewed_at` of the card/dashboard to set it to ~7 months ago. --------- Co-authored-by:
bryan <bryan.maass@gmail.com>
-
- Jun 18, 2024
-
-
Benoit Vinay authored
* DWH plans added * UploadCSV button component created * Comments added * Main nav bar updates * Misc * Align main nav bar button with link * Misc comment * Upload package created * Various upload cleanup * Misc * Display button rule cleaned up * Tracking added to upload CSV button * Misc comment * e2e tests WIP * More comments * e2e tests basic created * NEw tracking schema * e2e tests updated / Tracking WIP * Analytics cleanup for button * Misc * Misc e2e tests Snowplow * Removed forced Upload CSV button in FE * Upload helpers created * Misc unit tests updates * Updated analytics * Fix for e2e tests * Upload fixture paths updated * Misc for Snowplow * Misc for plan * More tests cleanup * Misc * Source added to analytics * Plan unit tests fixed * Update frontend/src/metabase/nav/containers/MainNavbar/MainNavbarContainer/MainNavbarView.tsx Co-authored-by:
Ryan Laurie <30528226+iethree@users.noreply.github.com> * Update frontend/src/metabase/components/upload/constants.ts Co-authored-by:
Ryan Laurie <30528226+iethree@users.noreply.github.com> * Misc imports * Retrieving `uploads-settings` DB * Remove default UploadCSV component export * Misc * Button copy updated * Analytics updated with optional properties * Default upload file input id updated * csvupload schema updated * Removed before * No bad Snowplow events added --------- Co-authored-by:
Ryan Laurie <30528226+iethree@users.noreply.github.com>
-
- Jun 17, 2024
-
-
Nick Fitzpatrick authored
* search events 1-1-0 * backwards compatible adjustment * making context optional
-
- Jun 06, 2024
-
-
Nick Fitzpatrick authored
* new_search_query event * Filters in object, search click event * updating event schema * type and event schema adjustments * delete comments BE code * adjusting tests * PR feedback * typos and spacing
-
Kamil Mielnik authored
* Sort functions * Add boilerplate for aggregateOffset and tests * Simplify assertion * Make basic case work * Handle name generation * Do not require "lib/uuid" attribute to be present since MLv2 will normalize it under the hood anyway * Fix typing * Group tests * Refactor offsetClause to return a new clause instead of a new query - Move offsetClause to expressions.ts - Add assertion * Revert "Sort functions" This reverts commit ab9ce2b24ea6bdad5ff7e9bed8ef38d4b5923f00. * Move tests * Handle names dynamically * Shorten a test * Update comment * Add TODO * Update expression types * Add diffOffsetClause & percentDiffOffsetClause * Add a test for diffOffsetClause * Add TODOs * Add tests for diffOffsetClause and percentDiffOffsetClause * Unwrap tests * Add skeleton for new tests * Refactor first offsetClause tests * Add tests for names * Fix case of non-datetime columns * Handle a case with offset < 1 and no breakouts * Handle a case with offset < 1 and breakouts on non-datetime column * Handle a case with offset < 1 and breakouts binned datetime column * Handle a case with offset < 1 and breakout on non-binned datetime column * Refactor * Refactor * Remove TODO * Add tests for diffOffsetClause * Add tests for percentDiffOffsetClause * Move offset stuff to offset.ts and offset.unit.spec.ts * Use template string for prefixes * Use breakoutColumn + isDate to check column type * Refactor * Fix error message * Add boilerplate for CompareAggregations * Fix title * Render aggregations list * Style AccordionList * Sort props * Fix bucket name * Use displayName instead shortName * Support parseValue prop in NumberInput * Add period input accepting integers only * Accept non-negative values only * Do not accept zeros * Add state * Add submit button * Export offset functions via Lib * Make it possible to skip rightSection * Add column picker * Map offset user input to api input (negative value) * Add label * Fix crash * Extract shouldCreate * Make onSelect in AggregationPicker support multiple values * Extract ReferenceAggregationPicker * Extract ColumnPicker * Extract getAggregations * Rename * Add custom items * Refactor item component * Extract OffsetInput * Remove unused data-testid * Style OffsetInput * Generate titles according to specs * Generate label * Generate help * Extract utils * Use different width for the 1st step * Format code * Use MultiSelect directly * Avoid custom parseValue * Revert MultiaAutocomplete changes * Improve typing in describeTemporalInterval and describeRelativeDatetime * Use describeTemporalUnit to pluralize * Use interface * Avoid setting value as DOM attribute * Fix test * Add onAdd prop to AggregationPicker and revert the change to have onSelect pass multiple aggregations * Reduce number of props * Render checkboxes in custom items * Introduce and use --mb-color-brand-lighter * Avoid !important * Remove redundant prop * Rename ExtractColumn to ExtractColumnAction * Add lines.svg * Fix positioning in case dir attribute is not present in any parent component * Add CompareAggregationsAction * Fix warning about isSelected being used as DOM attribute * Fix positioning in case dir attribute is not present in any parent component * Remove redundant Box * Compute the title * Add compareAggregationsDrill boilerplate * Add compare-aggregations drill stub * Update comment * Compute title and aggregation * Add TODO * Use proper title when there's only 1 aggregation * Show visualization on submit * Limit aggregation choice to 1 in compare aggregations drill * Redirect to chart upon submission * Do not navigate to chart view * Do not navigate to chart view * Make drill-thru tests expect the new compare-aggregations drill * Add type attribute to all ListItems * Add aggregationIndex to drillInfo * Add aggregationDrillDetails and wire it up * Add tracking helpers * Add new schema * Add tracking in column header * Add tracking in plus modal * Add tracking in aggregation picker * Fix destructuring * Add functionsUsedByExpression * Fix schema number * Add tests boilerplate * Implement test for notebook editor * Add test for column header * Add a test for summarize sidebar * Add a test for the plus button * Add expectNoBadSnowplowEvents call in afterEach * Format code * Add missing redux store state in tests --------- Co-authored-by:
Braden Shepherdson <braden@metabase.com>
-
- May 28, 2024
-
-
Alexander Solovyov authored
-
- May 21, 2024
-
-
Ryan Laurie authored
* add snowplow tracking for upsells * add upsell snowplow test * appease the linter
-
- May 13, 2024
-
-
Romeo Van Snick authored
* Copy question event to new version * Add new events for adding column via plus modal * Add plus modal variants * Track combine column via plus header * Track extract column via plus header * Add test for combine question event * Add e2e test for extract column shortcut snowplow events
-
- May 03, 2024
-
-
Nicolò Pretto authored
* use css modules instead of inline styles for cursor: default (#41644) * add toast notification after the feedback (#41575) * fix modal submit sending data while button says skip (#41784) * fix: it should not send the feedback if button says skip * add comment explaining why we check that getLastFeedbackCall() is undefined * embedding homepage analytics (#41725) * rename defaultTab -> initialTab * add events schema for embedding-homepage * fix stories * add analytics, e2e tests and fix typo in dismiss reason * copy embed_flow schema for better diff in the next commit * adds isExampleDashboard to trackStaticEmbedPublished * utm tags * fix bug of is_example_dashboard * better test names * refactor embed homepage status type * "() => {}" => "_.noop" * add "Setup embedding" to the admin setup checklist (#41638) * add setup embedding to the admin setup checklist * restore whitespace as it was before * i miss prettier (whitespace again) * Clean up check list for embedding Largely making a new entry for the embedding info just to fight long lines. `:embedding-homepage-dismissed-as-done` just made the maps really long. If we have a `:done?` under an `:embedding` keyword it reads much more naturally. Also, The previous diff was calling `boolean` on a var rather than invoking the var: ```clojure :embedding-app-origin (boolean embed.settings/embedding-app-origin) ;; ^^^^^^^^^^^^^^ needs to be (invoked) ``` --------- Co-authored-by:
dan sutton <dan@dpsutton.com> * Change utm tags for embedding homepage links (#42042) * update utm tags * utm_media -> utm_content * add description to the checklist setup step (#42200) --------- Co-authored-by:
dan sutton <dan@dpsutton.com>
-
- Apr 30, 2024
-
-
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
-
- 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
-