Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Aug 14, 2024
    • Romeo Van Snick's avatar
      Automatically select offset breakout or move it to the front (#46573) · 9fa749d6
      Romeo Van Snick authored
      * Add defaultTemporalBucket helper
      
      * Add helper to pick default breakout
      
      * Move breakout to the front or add one if it does not exist
      
      * Add updateQuery to AggregationPicker props
      
      * Add tests for creation and reordering of temporal breakouts
      
      * Reuse defaultTemporalBucket in withDefaultTemporalBucket
      
      * Reorder query operations to make sure the correct names get generated
      
      * Remove dependency on referential equality of breakout
      
      * Rename updateQuery to onQueryChange
      
      * Remove onAddAggregations and onUpdateAggregation for onQueryChange
      
      * Extract query update in to separate function
      
      * Remove on{Add,Update,Remove}Aggregation in favor of onQueryChange
      
      * Remove aggregations from summarize details
      
      * Fix e2e tests
      
      * Remove conflicting test
      
      * Fix recent clause in unit tests
      
      * Fix superflouous check for columnAndBucket
      
      * Future proof breakout check
      
      * Remove reliance on details in the useSummarize hook
      
      * Remove details in unit tests
      
      * Removal of default summarization should not trigger a query change
      Unverified
      9fa749d6
    • Mahatthana (Kelvin) Nomsawadi's avatar
  2. Aug 13, 2024
  3. Aug 12, 2024
Loading