This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Jun 06, 2024
-
-
Alexander Solovyov authored
-
Jeff Bruemmer authored
-
Ryan Laurie authored
* WIP backport reminder bot * polish and automate backport reminder * do better english
-
Ryan Laurie authored
* fix OSS tests in CI * update tests that went on vacation for a while * do safer cypress things * better helper name
-
Oisin Coveney authored
-
Alexander Polyankin authored
* adhoc-query-metadata * Get ad-hoc query metadata from the BE * Fix broken ad-hoc queries * Fix broken ad-hoc queries * Fix tests * Add a test * Add tests * Add tests * Fix whitespace * Fix whitespace * Fix tests
-
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>
-
Kamil Mielnik authored
* Use createQueryWithClauses in createQueryWithCountAggregation * Support column-specific aggregations in createQueryWithClauses * Add tests for compare option presence * Fix case * Add a test for onAdd * Split tests * Rename tests * Add boilerplate for CompareAggregations unit tests * Fix assertion * Add more tests * Add offset input tests * Add tests * Update frontend/src/metabase/query_builder/components/CompareAggregations/CompareAggregations.unit.spec.tsx * Update tests after merge * Use constants instead of factory functions
-
Mahatthana (Kelvin) Nomsawadi authored
* Check git tag for an exact match * Set npm publish to dry run, so I can test * Uses new github automation account for creating a PR * Remove unnecessary step * Automatically set `no-backport` on the SDK doc version bump PR * Fix step to edit PR with correct permission * Remove npm dry run after finished testing
-
- Jun 05, 2024
-
-
Denis Berezin authored
* Migrate danger * Migrate dark * Migrate error * Migrate filter * Migrate focus * Migrate saturated * Migrate shadow * Fix CI * Fix CI * Fix CI
-
metamben authored
-
Ryan Laurie authored
-
Denis Berezin authored
* Migrate brand * Migrate brand-light, brand-lighter * Fix unit tests * Code review fixes * Fix CI
-
Jesse Devaney authored
* return empty string so non-empty labels do not get hidden by empty labels * fix function name * apply scaling in transformed dataset * add missing option to OptionsType * fix double scaling * add column scaling to waterfall transformed dataset * add column value scaling to dataset transform * fix stacked bar segment labels not responding to column scaling * fix tooltip values displayed * since scaling as added to transformedDataset, use transformedDataset for formatters * revert changes to display percentage instead of absolute value * fix stacked data labels * add loki variant for custom y-axis range with column scaling * fix stack segmented label formatters compact calculation * scale original dataset and use that instead of modifying transformedDataset * update loki snapshots * fix scatter plot dataset scaling * fix tooltip values being double scaled * add E2E test to validate behavior * add helper for not duplicating the column scaling * port multiple y-axis metrics with column scaling fixes to RowChart * add waterfall and scatterplot loki variants * fix type errors and failing unit tests * fix failing unit tests * update loki snapshots
-
Nemanja Glumac authored
* Add E2E reproduction for #39150 * Fix typo in the test title * Move the viewport config to the `describe` block * Add the second repro scenario as per the review comment * Scope the variable to the relevant test
-
Anton Kulyk authored
* Fix long names in model editor * Fix long names in series name input
-
Alexander Polyankin authored
* Simple performance fix for getUrlWithParameters * Fix tests
-
Jeff Bruemmer authored
-
Dennis Schridde authored
This allows frontend code to conveniently check whether the feature flag is enabled or disabled. This is in addition to the raw flag's presence (or absence) in `(:features token-status)`. References: https://github.com/metabase/metabase/issues/42381 References: https://github.com/metabase/metabase/pull/43511
-
Denis Berezin authored
* Migrate bg-error * Migrate bg-medium * Migrate bg-night * Migrate bg-white * Migrate border * Fix CI * Fix unit tests * Fix unit tests * Code review fixes * Code review fixes
-
Chris Truter authored
-
Chris Truter 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 * Fix destructuring * Fix tests --------- Co-authored-by:
Braden Shepherdson <braden@metabase.com>
-
Oisin Coveney authored
-
Ryan Laurie authored
* Add DevEx to team.json * no trailing commas in json
-
Ryan Laurie authored
* tag flakiest tests as such * let well behaved tests out of flake jail * more bad actors off the streets * add another flake * sandboxes re-offended already
-
Alexander Polyankin authored
-
Aleksandr Lesnenko authored
* set min bar height for non-zero values * fix y-axis split logic uses transformed dataset instead of actual data
-
Aleksandr Lesnenko authored
* fix memoization * extend the basic row chart e2e spec
-
Tim Macdonald authored
(When scrolling through CI logs I always do a double-take when I see a huge stack trace with "Just an error". I think this is a little clearer?)
-
Oisin Coveney authored
-
Ngoc Khuat authored
-
Mahatthana (Kelvin) Nomsawadi authored
* Fix flaky test * Fix the flake for real * Fix stress test failing because of mismatched height * Review: Move viewport setting to shared config
-
Alexander Solovyov authored
-
- Jun 04, 2024
-
-
Ryan Laurie authored
-
Sloan Sparger authored
uses data-autofocus attribute to avoid mantine modal moving focus to the modal close button (#43546)
-
Ryan Laurie authored
-
Ryan Laurie authored
-
Ryan Laurie authored
* consolidate e2e native filter specs * fix helper * fix runQuery call
-
Ryan Laurie authored
* consolidate dashboard e2e specs * fix import
-