Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Dec 05, 2022
  2. Dec 02, 2022
  3. Dec 01, 2022
    • Mahatthana (Kelvin) Nomsawadi's avatar
      Respect chart orders in static viz (#26797) · 95bc8834
      Mahatthana (Kelvin) Nomsawadi authored
      
      * Refactor so static combo chart is ready for reordering
      
      * Correct test names
      
      * Clean up static viz combo chart BE API
      
      * sort static combo chart
      
      * Order static funnel chart
      
      * Remove unused import and function
      
      * Fix BE tests
      
      * Remove custom column name tests since logic is moved to FE
      
      * Remove graph.series_order when changing dimensions (#26842)
      
      * review
      
      Co-authored-by: default avatarNick Fitzpatrick <nick@metabase.com>
      Co-authored-by: default avatarAleksandr Lesnenko <alxnddr@gmail.com>
      Unverified
      95bc8834
    • Anton Kulyk's avatar
    • Cal Herries's avatar
      now function (#26548) · fe0b8e90
      Cal Herries authored
      
      * Implement now for sql drivers
      
      * Remove unused import
      
      * Add tests
      
      * Add more tests
      
      * Implement bigquery, mysql, postgres
      
      * Test now as argument
      
      * Fix FE type inferencer
      
      * Change feature flag to date-arithmetics
      
      * Implement h2 driver
      
      * Fix tests for sqlite
      
      * Add snowflake implementation
      
      * Remove type test
      
      * Fix test for sqlite
      
      * Update how we handle autocomplete and format for zero-arity functions in ExpressionEditor (#26563)
      
      * Update suggestionText function
      
      * Suggest with closing parens if zero-arity
      
      * Format zero-arity functions with ()
      
      * Refactor formatFunction
      
      * Remove unused imports
      
      * Add presto implementation
      
      * Add sqlserver implementation
      
      * Test in multiple timezones
      
      * Remove setting test driver
      
      * Add sparksql implementation
      
      * Fix count() fe unit test
      
      * Add fe MBQL unit test for now()
      
      * Fix sparksql implementation
      
      * Add vertica implementation
      
      * Add oracle implementation
      
      * Add vertica implementation
      
      * Remove accidental form
      
      * Fix vertica implementation for report timezones
      
      * Remove unused multimethod
      
      * Remove unused feature
      
      * Update sparksql
      
      * Fix fe unit tests
      
      * Fix fe unit tests
      
      * Update hive implementation
      
      * Revert "Fix fe unit tests"
      
      This reverts commit fde4dd0d.
      
      * Revert "Fix fe unit tests"
      
      This reverts commit 7b7429ea.
      
      * Revert "Fix count() fe unit test"
      
      This reverts commit c5c6f6f9.
      
      * Revert "Refactor formatFunction"
      
      This reverts commit ac50e73e.
      
      * Revert "Update how we handle autocomplete and format for zero-arity functions in ExpressionEditor (#26563)"
      
      This reverts commit cf39634e.
      
      * Update hive
      
      * snowflake: convert type to timestamptz
      
      * sqlserver: rename date-trunc to zeroed-date-part
      
      * Wrap with database type info
      
      * Change fe unit test back to now without parens
      
      * Change MBQL clauses config for now to return type "datetime"
      
      * Fix presto
      
      * Add some fe unit tests for parsing and resolving
      
      * Update helper-text-strings
      
      * Change from second to millisecond precision
      
      * Remove test for second precision
      
      * presto: Change from second to millisecond precision
      
      * vertica: Change from second to millisecond precision
      
      * vertica: Change from second to millisecond precision
      
      * Change feature flag from date-arithmetics to now
      
      * Change feature flag from date-arithmetics to now, mbql schema
      
      * Allow now to be used in filter clauses
      
      * Add test for filter
      
      * Implement driver/database-supports? for each driver that implements :now
      
      * Tidy tests
      
      * Add back default sql implementation
      
      * Add sqlite feature flag
      
      * Add mongo implementation
      
      * Fix mongo
      
      * Format rows
      
      * Change vertica to return timestamp with time zone
      
      * Fix presto tests
      
      * Remove unused require
      
      * Update h2 function to return timestamp with time zone
      
      * mongo: calculate now during query execution, not processing, for versions >=4.2 (#26822)
      
      * replace with $$NOW
      
      * Remove unused import
      
      * Add back previous now implementation for versions <4.2
      
      * Throw an error if version is <4.2
      
      * Add i18n
      
      * Ignore patch version
      
      * Clean up `SchedulePicker` component (#26839)
      
      * Move `SchedulePicker` to its own directory
      
      * Sort imports
      
      * Do basic clean up
      
      * Extract `DEFAULT_DAY` to a constant
      
      * Extract styled components
      
      * Convert `SchedulePicker` to TypeScript
      
      * Add `SchedulePicker` container
      
      * Export `SchedulePicker` options
      
      * Add basic `SchedulePicker` story
      
      * Fix `SchedulePicker` crashes Storybook
      
      * Tweak Storybook file
      
      * Build datetime filters as datetime before question is saved (#26679)
      
      * Revert "Update h2 function to return timestamp with time zone"
      
      This reverts commit f7cce3ea7ccbbfc886d0942d66b1f8f60feb6aba.
      
      Co-authored-by: default avatarGustavo Saiani <gus@metabase.com>
      Co-authored-by: default avatarAnton Kulyk <kuliks.anton@gmail.com>
      Unverified
      fe0b8e90
    • Aleksandr Lesnenko's avatar
      Fixes remapped columns support for the row chart type (#26845) · 11ac4434
      Aleksandr Lesnenko authored
      * fix row chart for remapped columns
      
      * static viz remapped values
      Unverified
      11ac4434
    • Aleksandr Lesnenko's avatar
      inputs ui unification (#26593) · fde11b5e
      Aleksandr Lesnenko authored
      Unverified
      fde11b5e
    • Alexander Polyankin's avatar
    • Alexander Polyankin's avatar
    • Gustavo Saiani's avatar
    • Anton Kulyk's avatar
      Clean up `SchedulePicker` component (#26839) · b6e50930
      Anton Kulyk authored
      * Move `SchedulePicker` to its own directory
      
      * Sort imports
      
      * Do basic clean up
      
      * Extract `DEFAULT_DAY` to a constant
      
      * Extract styled components
      
      * Convert `SchedulePicker` to TypeScript
      
      * Add `SchedulePicker` container
      
      * Export `SchedulePicker` options
      
      * Add basic `SchedulePicker` story
      
      * Fix `SchedulePicker` crashes Storybook
      
      * Tweak Storybook file
      Unverified
      b6e50930
    • Aleksandr Lesnenko's avatar
      allow null dataset query (#26654) · 29639ff1
      Aleksandr Lesnenko authored
      Unverified
      29639ff1
  4. Nov 30, 2022
  5. Nov 29, 2022
    • Nick Fitzpatrick's avatar
      Adjusting style of Column Title label in Table Viz (#26757) · ad64ba77
      Nick Fitzpatrick authored
      * Adjusting style of Column Title label in Table Viz
      
      * removing all form-field lable types
      Unverified
      ad64ba77
    • Nick Fitzpatrick's avatar
      Doing isBreakout check sooner, removing column formatting from 2nd dimension (#26777) · 811ecb6d
      Nick Fitzpatrick authored
      * Doing isBreakout check sooner, removing column formatting from 2nd dimension
      
      * PR Feedback
      
      * separating showColumnSettings and showColumnSettingsForIndicies
      Unverified
      811ecb6d
    • Alexander Polyankin's avatar
    • Anton Kulyk's avatar
      Basic clean up for the root `Visualization` component (#26791) · fd84af1d
      Anton Kulyk authored
      * Move visualization errors messages to viz lib
      
      * Sort imports
      
      * Clean up comments
      
      * Clean up state definition and default props
      Unverified
      fd84af1d
    • Anton Kulyk's avatar
      Clean up routes (#26789) · d0ab6c0e
      Anton Kulyk authored
      * Remove not used route
      
      * Add space between imports
      
      * Remove not used collection URL helper
      
      * Remove not used dashboard URL helper
      Unverified
      d0ab6c0e
    • Anton Kulyk's avatar
    • Anton Kulyk's avatar
      Migrate new dashboard form to formik (#26770) · 6ff54cd4
      Anton Kulyk authored
      * Add `isValidCollectionId` helper
      
      * Add `FormCollectionPicker` component
      
      * Add `FormFooter` component
      
      * Fix `FormProvider` template types
      
      * Add `CreateDashboardForm`
      
      * Reimplement `CreateDashboardModal`
      
      * Fix type error
      
      * Use new `CreateDashboardModal`
      
      * Delete old `CreateDashboardModal`
      
      * Accept root collection's `null` id
      
      * Remove console errors/warns overwrite in tests
      
      * Remove flaky test
      
      * Use `getBy*` element selectors instead of `queryBy*`)
      
      * Fix creating new dashboard for a question
      
      * Open new dashboards in editing mode
      
      * Rely on validation schema to set initial values
      
      * Make `description` input `nullable`
      
      * Use `userEvent` instead of `fireEvent` in tests
      
      * Move `FormCollectionPicker` to collections module
      Unverified
      6ff54cd4
    • Alexander Polyankin's avatar
      Add database form skeleton (#26766) · b0f7d8a1
      Alexander Polyankin authored
      Unverified
      b0f7d8a1
    • Mahatthana (Kelvin) Nomsawadi's avatar
      Match static combo chart colors and legends with app viz colors (#26211) · c6e41b75
      Mahatthana (Kelvin) Nomsawadi authored
      * Match static combo chart colors with app viz colors
      
      * Match colors when individual series color is set
      
      * Remove tests that test colors
      
      Since colors is now determined in FE
      
      * Fix static viz Series type
      
      * Match static progress bar colors with app viz colors
      
      * Simplify Clojure code, makes it more idiomatic
      
      * Fix certain combo charts don't respect whitelabel colors
      
      * Make Clojure code more idiomatic
      
      * Fix Series type
      
      * Add colors back to static internal page
      
      * Simplify type predicate
      
      * fix colors matching for multiple series with mulitple metrics or dimensions
      
      * Handle legends not formatted in static viz in some cases
      
      * Fix failed BE tests after BE API changed
      
      * Fix failed BE tests after BE API changed
      
      * Add multiple series dashcard test to `getSeriesWithColors` test
      
      * Add `getSeriesWithLegends` tests
      
      * Fix URL `/_internal/static-viz` not loading due to API change
      
      * Correctly render legend when having dashcard title set
      
      * Simplify combo-chart API
      
      don't really need `settings-seqs` yet
      
      * Make static combo chart component type easier to understand
      
      * Address review: refactor `render-multiple-lab-chart`
      
      * Make variable names easier to understand
      
      * Simplify color API
      
      * Address review on `body.clj`
      
      * Address review, make parameter name more consistent
      
      * Fix multiple scalars not rendering
      
      * Remove unused imports
      Unverified
      c6e41b75
  6. Nov 28, 2022
  7. Nov 25, 2022
Loading