Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Dec 13, 2022
    • Anton Kulyk's avatar
      Cherry pick new data picker component to master (#27174) · a0d9e138
      Anton Kulyk authored
      
      * Add basic raw data picker for app scaffolding (#25997)
      
      * Show data app page ID params in editing mode (#25943)
      
      * Data apps layout updates (#25930)
      
      * play with grid sizes to make apps feel appier [ci skip]
      
      * move app nav to bar inside app
      
      * only hide other header buttons outside of edit mode
      
      * tweak overflow issue
      
      * fix header width on data apps
      
      * add control to see app contents
      
      * set data apps layout constants contextually [ci skip]
      
      * remove hardcoded value [ci skip]
      
      * extract conextual header styles [ci skip]
      
      * set max-width on paramaters for data apps [ci skip]
      
      * move data apps nav deeper, only show if not editing [ci skip]
      
      * add spacing to contents trigger, rm old code [ci skip]
      
      * rm table thing for now [ci skip]
      
      * Fixes for data app layout updates (#25962)
      
      * Reorder import
      
      * Fix type
      
      * Fix missing translation, move out URL
      
      * Remove not used import
      
      * Rework `getSelectedItems` utility for data apps
      
      * Fix selected data app page highlighting
      
      * Don't reload app navbar on page change
      
      * Change nav item links look
      
      * Remove `DataAppPageSidebarLink`
      
      * Turn nav into HTML list
      
      * Use styled components
      
      * Fix edit button covered by visualizations
      
      * Fix opening homepage
      
      * Remove redundant prop
      
      Co-authored-by: default avatarAnton Kulyk <kuliks.anton@gmail.com>
      
      * First take at parameterized data app page titles (#25938)
      
      * Bring `DataAppContext` back
      
      * Pass `onFocus` and `onBlur` to `EditableText`
      
      * Export `EditableTextProps`
      
      * Add basic `DataAppPageTitle` component
      
      * Use `DataAppPageTitle`
      
      * Fix component name
      
      * Add primitive autocompletion to page title input
      
      * Add `title_template` to `DataAppNavItem` type
      
      * Tweak value management in `DataAppPageTitle`
      
      * Handle `null` values in titles more gracefully
      
      * Don't show suggestions without detail cards
      
      * Don't add whitespace when pasting a token
      
      * Don't update app's collection all the time
      
      * Add data app related selectors to dashboard selectors
      
      * Add redux state to keep title template changes
      
      * Update page title template on page save
      
      * Wire up `DataAppPageTitle` with dashboard code
      
      * Fix unit tests
      
      * Reset state on exiting editing mode
      
      * Add back button to template data picker
      
      * Add `PanePicker` UI component
      
      * Add basic `RawDataPanePicker` component
      
      * displays databases, schemas, tables
      * allows picking a database and a schema (no tables yet)
      
      * Allow picking tables
      
      Supports single-selection and multi-selection modes
      
      * Auto-select single database schema
      
      * Use `.ts` instead of `.tsx` for hook file
      
      * Style `PanePicker`
      
      * Add `onTablesChange` callback prop to data picker
      
      * Use new data picker in new app modal
      
      * Use new data picker in add data modal
      
      * Remove `DataAppDataPicker`
      
      Co-authored-by: default avatarKyle Doherty <5248953+kdoh@users.noreply.github.com>
      
      * Make `DataPicker` controlled (#26018)
      
      * Add data type picker to scaffolding data picker (#26019)
      
      * Move `useSelectedTables` one level up
      
      * Extract `DataPickerSelectedItem` type
      
      * Add `type` to `DataPickerValue` type
      
      * Handle `type` in `useDataPickerValue` hook
      
      * Add data type picker step
      
      * Add back button to raw data picker
      
      * Add `CardPicker`
      
      * Tweak spacing
      
      * Move `VirtualTable` to shared picker types
      
      * Temporary disable saved questions data type
      
      * Simplify schema loading for models and questions
      
      * Remove redundant `useMemo`
      
      * Rename `RawDataPanePicker` to `RawDataPicker` (#26020)
      
      * Add safety checks to scaffolding data picker (#26023)
      
      * Pass available data types as a prop to the picker
      
      * Use nested queries settings for data types list
      
      * Offer models only if instance has at least one
      
      * Check data access
      
      * Break `DataPicker` into container and view
      
      * Make `DataPicker` cover the whole container
      
      * Add items filters API to data app scaffolding data picker (#26024)
      
      * Uncomment saved questions data type
      
      * Add data picker filters API types
      
      * Apply data type filters
      
      * Auto pick a data type when only one is available
      
      * Export data picker types
      
      * Add `DataAppScaffoldingDataPicker` component
      
      * Use `DataAppScaffoldingDataPicker`
      
      * Improve collection selection for scaffolding data picker (#26033)
      
      * Add collection ID to data picker value type
      
      * Handle collection ID in `onChange`
      
      * Handle collection ID in `CardPicker`
      
      * Automatically open root collection
      
      * Add basic search to scaffolding data picker (#26039)
      
      * Add data picker context
      
      * Add global search to data picker
      
      * Add basic search UI to new app modal
      
      * Don't use database ID in search
      
      * Scope search depending on selected data type
      
      * Expose more data picker types
      
      * Style search input
      
      * Keep filtered out data types in mind for search
      
      * Move `MIN_SEARCH_LENGTH` to constants file
      
      * Fix can't select nested collection in card picker (#26122)
      
      * Fix conflicts
      
      Co-authored-by: default avatarKyle Doherty <5248953+kdoh@users.noreply.github.com>
      Unverified
      a0d9e138
    • Anton Kulyk's avatar
      Convert drill code to TypeScript (#27165) · d39dce81
      Anton Kulyk authored
      * Extend `field` types
      
      * Add series types
      
      * Fix `FieldId` type import
      
      * Add `metabase/visualizations/types`
      
      * Add drill types
      
      * Specify `Question.prototype.pivot` return type
      
      * Update `AutomaticDashboardDrill`
      
      * Update `ColumnFilterDrill`
      
      * Update `CompareToRestDrill`
      
      * Update `DashboardClickDrill`
      
      * Update `DistributionDrill`
      
      * Update `ForeignKeyDrill`
      
      * Update `ObjectDetailDrill`
      
      * Update `PivotByCategoryDrill`
      
      * Update `PivotByLocationDrill`
      
      * Update `PivotByTimeDrill`
      
      * Update `QuickFilterDrill`
      
      * Update `SummarizeColumnByTimeDrill`
      
      * Update `SummarizeColumnDrill`
      
      * Update `UnderlyingRecordsDrill`
      
      * Update `ZoomDrill`
      
      * Update `FormatDrill` (former `FormatAction`)
      
      * Update `SortDrill` (former `SortAction`)
      
      * Update `NativeDrillFallback`
      
      * Fix types
      
      * Fix handling missing `clicked` object
      
      * Simplify drill type hierarchy
      Unverified
      d39dce81
  2. Dec 12, 2022
  3. Dec 11, 2022
  4. Dec 09, 2022
  5. Dec 08, 2022
  6. Dec 07, 2022
  7. Dec 06, 2022
  8. Dec 05, 2022
  9. Dec 02, 2022
  10. 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
  11. Nov 30, 2022
Loading