This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Jun 10, 2024
-
-
Chris Truter authored
-
Cal Herries authored
-
Denis Berezin authored
* Migrate success * Migrate summarize * Migrate warning * Migrate white * Add colors to storybook * Fix CI * Fix CI * Codereview fixes * Convert warning color
-
Jeff Bruemmer authored
-
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 * Add data for tests * Move createQuestion call out of beforeEach * Add tests for labels when there are no aggregations * Add describe * Add group helper * Revert "Add group helper" This reverts commit e047a223e954804c63cf0c519389aee6b99240b7. * Optimize: use cy.log() instead of it() * Format code * Add tests for 1 breakout, add helpers * Add test for non-binned datetime column text * Add test for non-datetime column text * Nest tests * Add test for multiple aggregations and no breakout, fix getTitle in this case * Add all text tests * Reduce nesting * Enable test * Format code * Add tests * Rename function * Format code * Simplify code * Add assertions * Format code * Add column assertions * Run tests with all 3 aggregations * Remove logs * Introduce CUSTOM_EXPRESSIONS_USED * Avoid force click * Remove explicit assertion * Use be.visible instead of exist --------- Co-authored-by:
Braden Shepherdson <braden@metabase.com>
-
Ngoc Khuat authored
-
Uladzimir Havenchyk authored
-
Ngoc Khuat authored
-
Ngoc Khuat authored
-
- Jun 09, 2024
-
-
Jesse Devaney authored
* fix stacked bar chart tooltips when total value is negative * add E2E test
-
Nick Fitzpatrick authored
* Initial commit * unit test, always white on active * Run Prettier
* removing yellow color from verified model icon * linter and type fix -
Nick Fitzpatrick authored
-
- Jun 08, 2024
-
-
Braden Shepherdson authored
I'm not sure it's any less hacky in the CLJS but it keeps the TS wrappers thin. Context: - #43799 is the original issue - #43848 added the hack being removed here
-
- Jun 07, 2024
-
-
Aleksandr Lesnenko authored
-
Ryan Laurie authored
-
Alexander Polyankin authored
-
Raphael Krut-Landau authored
This PR simplifies a bit of text used in the cache cron schedule component: we can say "spaces" (which is normal English) not "white spaces" (which is developerese)
-
Raphael Krut-Landau authored
-
Aleksandr Lesnenko authored
-
Nemanja Glumac authored
Resolves #41511
-
Jeff Bruemmer authored
-
Raphael Krut-Landau authored
-
Raphael Krut-Landau authored
Closes #43251
-
Noah Moss authored
-
Nemanja Glumac authored
* Type `TaskInfo` * Re-write `JobInfoApp` to use RTK Query * Re-write `JobTriggersModal` to use RTK Query * Remove unused `fetchJobInfo` action * Remove `TaskApi` from `services.js` * Remove `JobApp` styled component * Simplify fetching logic
-
Nemanja Glumac authored
-
Jeff Bruemmer authored
-
Sloan Sparger authored
-
Raphael Krut-Landau authored
Fixes a small typo
-
Mahatthana (Kelvin) Nomsawadi authored
* Automate SDK doc PR * Prevent auto merge * Dry run npm publish for testing * Speed up testing by not building jars * Fix auto approve step * disable concurrency so I could test multiple runs in parallel * Test auto-merge * Fix auto merge * Revert "disable concurrency so I could test multiple runs in parallel" This reverts commit 60e90076. * Revert "Speed up testing by not building jars" This reverts commit 4e53a544. * Revert "Dry run npm publish for testing" This reverts commit 9b5d761c. * Enable all commented out steps * Remove unnecessary steps
-
github-automation-metabase authored
-
Mahatthana (Kelvin) Nomsawadi authored
* Mock that the changelog is different from the one in master * Apply changelog patch incase the changelog is created from another branch * Dry run npm publish so I could test * Fix failed patch * Speed up testing by not building jar * Fix adding new changelog to master * feat(sdk): A placeholder for an actual feature in the changelog * Mock that the changelog diverges from master * Revert "Speed up testing by not building jar" This reverts commit acb80d74. * Revert "Dry run npm publish so I could test" This reverts commit f4e679ef. * Revert "Mock that the changelog diverges from master" This reverts commit 0e77a68e.
-
Phoomparin Mano authored
* dashcard background color * add bg-dashboard and bg-dashboard-card * rename background-visualization to background-question * apply bg-question to embedded questions * use CSS variables along with theme object * add css variables to more places * add ability to reference design system colors for defaults * use CSS variables for defaults * fix chart skeleton test * fix legend item title
-
Alexander Solovyov authored
-
Alexander Polyankin authored
-
Ryan Laurie authored
* run smaller smoke test suite for pre-release check * fix run command
-
Alex Yarosh authored
-
Romeo Van Snick authored
* Move expressionClause to handleSubmit * Allow passing the first column as a prop and allow auto picking of columns * Use CombineColumns component in header drills * Remove duplicate CombineColumnsDrill component and helpers * Allow separators to be null * Calculate example in Example component to avoid useMemo call * Fix test reference in test * Append suffix to duplicate columns * Rename parameter to something more expressive * Enable autoPickColumn for all instances of the combine column popover * Fix tests * Fix notebook tests * Make test typescript * Correct types of openTable function
-
Mahatthana (Kelvin) Nomsawadi authored
-
Cal Herries authored
-