Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. May 02, 2024
  2. May 01, 2024
  3. Apr 30, 2024
    • Cam Saul's avatar
      Fix Snowflake/Redshift filtering on date for timestamp with time zone columns (#41864) · 856b4496
      Cam Saul authored
      * Fix Snowflake filtering on date for `timestamp with time zone` columns
      
      * Snowflake should just generate raw SQL for literals
      
      * Go ahead and fix other Snowflake stuff and reenable a bunch of disabled tests
      
      * Snowflake test fixes :wrench:
      
      * Minor test improvements
      
      * Fix Redshift and Vertica as well.
      
      * Address PR feedback
      Unverified
      856b4496
    • adam-james's avatar
      Store Parameter Values Set by User on a per-user basis (#40415) · 2d29f05f
      adam-james authored
      * Store Parameter Values Set by User on a per-user basis
      
      This is a WIP for #28181 and the notion doc:
      
      https://www.notion.so/metabase/Tech-Maintain-user-level-state-in-dashboards-for-filters-fc16909a3216482f896934dd94b54f9a
      
      Still to do:
      
      - [ ] validate the table/model design
      - [ ] hook up the endpoints mentioned in the doc (2 in api/dashboard)
      - [ ] return the user specific parameter values on /api/dashboard/:dashboardID endpoints
      - [ ] write a few tests to capture the intent of this feature
      
      * Accidentally deleted a digit in the change ID timestamp
      
      * first pass at writing user param values to the db.
      
      It's in a doseq here which is probably not the correct way to go yet, but it's a step in the right direction.
      
      * Hydrate dashboard response with `:last_used_param_values` key
      
      If the user has previously set a parameter's value, it will show up in the map under that parameter id.
      
      If the user has no parameter value set, that entry will be 'null'.
      
      * Use proper fn name
      
      * Only save or retreive user params if there's a current user id
      
      * Add model to necessary lists
      
      * Only run query when there are parameter ids to run it with
      
      * Add a test to confirm that last_used_param_values works
      
      * Add models test namespace for CRUD test
      
      * The hydration is checked in the dashboard api test already
      Unverified
      2d29f05f
    • Cal Herries's avatar
  4. Apr 29, 2024
  5. Apr 26, 2024
  6. Apr 25, 2024
  7. Apr 24, 2024
  8. Apr 23, 2024
  9. Apr 22, 2024
    • Noah Moss's avatar
      New default permissions for groups (#41323) · 39627a3a
      Noah Moss authored
      Unverified
      39627a3a
    • adam-james's avatar
      Dates Binned by Week Export Formatting Matches App (#41619) · 97861b15
      adam-james authored
      * Dates Binned by Week Export Formatting Matches App
      
      Fixes: #41492
      
      Before, the dates binned by week would be formatted as follows in CSV and JSON exports:
      
      `Week 1 - 2024`
      
      But that doesn't match the App's format of a Date Range:
      
      `January 1, 2024 - January 7, 2024`
      
      So, now the exports will apply formatting in this same way.
      
      Note that a second bug (#41616) exists on the Frontend preventing the column formatting being applied in the app. This is
      frontend only, and the csv and json exports will match the column formatting settings (eg. abbreviated dates and
      alternative separators will be used in the export).
      
      * add test and change default week style
      
      * Week format test change
      
      * also fix incorrect :hour formatting
      Unverified
      97861b15
Loading