Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Sep 20, 2022
  2. Sep 19, 2022
  3. Sep 16, 2022
    • Cal Herries's avatar
      Use slugs for card template tags in the native query editor + autocomplete (#25319) · 2c7178ea
      Cal Herries authored
      * Allow slugs in question template tags, like `{{#123-a-question}}`
      
      * Update CardTagEditor to add slug names to the query text, instead of IDs
      
      * Fix dispatchApiErrorEvent prop for entity object loader
      
      * Ignore errors loading names of referenced questions
      
      * Fix e2e tests
      
      * Implement autocomplete for model slugs
      
      * Prioritize models above questions
      
      * Make the ace_autocomplete popup slightly wider to account for longer question names
      
      * Reorder requires
      
      * Remove unnecessary ? from endpoint string
      
      * Add e2e test for card tag autocomplete
      
      * Fix NativeQueryEditor not swapping back to standard completers
      
      * Refactor replaceCardSlug
      
      * Add e2e test for updating tags when card name is changed
      
      * Refactor updateReferencedQuestionNames
      
      * Add slug method to Question class
      
      * Use map for autocomplete API results
      
      * Rename endpoint path
      
      * Rename for consistency
      
      * Add docstrings
      
      * Update slug() to guard against undefined names
      
      * Fix read permissions for the endpoint
      
      * Add backend test
      
      * Fix unit tests
      
      * Fix permissions error
      
      * Make regex simpler
      
      * Undo change of value on QuestionPicker
      
      * Fix tests
      
      * Fix models e2e test
      
      * Simplify updateReferencedQuestionNames
      
      * Fix bugs in updateReferencedQuestionNames
      
      * Rename variable
      
      * Move NativeQuery methods to new native-query utils module
      
      * Fix typescript errors
      
      * Fix e2e tests
      
      * Fix e2e test
      
      * Fix BE tests
      
      * Actually fix BE test
      
      * Refactor updateQuestionTagNames
      
      * Align comments
      
      * Reorder autocomplete results
      
      * Refactor: move all query text tag utils in one place
      
      * Add tests for regex
      
      * Add unit tests for cardIdFromTagName
      
      * Add schema to autocomplete_suggestions endpoints
      
      * Add perms checks to autocomplete tests
      
      * Add unit test for updateCardTagNames
      
      * Rename updateQuestionTagNames -> updateCardTagNames
      
      * Tidy card-autocomplete-suggestions-test
      
      * Rename questionReference-> cardTag for consistency
      
      * Rename card-reference -> card-tag for consistency
      
      * Use ternary operator for comprehension
      
      * Fix broken swapCompleters
      
      * Use prefix match on name for 123-foo case
      Unverified
      2c7178ea
    • Ryan Laurie's avatar
      Action Creator 8: Required Fields and Default Values (#25445) · 56791a6c
      Ryan Laurie authored
      * add support for required fields and default values in action forms
      
      * handle missing settings better
      
      * save default numbers as numbers
      Unverified
      56791a6c
    • Maz Ameli's avatar
      change dataset to model (#25448) · 0ae41438
      Maz Ameli authored
      Unverified
      0ae41438
    • Dalton's avatar
      Preserve Model metadata when changing the Model's query (#25442) · a11e9d77
      Dalton authored
      * Preserve model column metadata in the QUERY_COMPLETED action
      
      * Update metadata everywhere in redux
      
      * Unskip repro
      
      * Tweak isSameField default to get rid of some dup code
      Unverified
      a11e9d77
    • Dalton's avatar
      Fix Visualization component handling of mode prop (#25438) · 500d407c
      Dalton authored
      * Fix Visualization component handling of mode prop
      
      * Pass mode prop in and give it a gross name
      Unverified
      500d407c
    • Alexander Polyankin's avatar
    • Alexander Polyankin's avatar
    • Aleksandr Lesnenko's avatar
      remove unused static chart types (#25440) · bac8ab35
      Aleksandr Lesnenko authored
      * remove unused static chart types
      
      * add visual tests for single series charts
      Unverified
      bac8ab35
  4. Sep 15, 2022
  5. Sep 14, 2022
  6. Sep 13, 2022
  7. Sep 12, 2022
    • Ryan Laurie's avatar
      Enforce import order in ESLint/import (#25123) · d9b0b652
      Ryan Laurie authored
      * enforce import order
      
      * reorder all imports
      
      * more import updates
      Unverified
      d9b0b652
    • Ryan Laurie's avatar
      Action Creator 5: Use Action Form Settings In Dashboard Modal Forms (#25344) · 4824543c
      Ryan Laurie authored
      * derive parameter types from form settings on save
      
      * update template tag types with parameter types
      
      * improve tests
      
      * pass action visualization settings to actionParametersInputForm
      Unverified
      4824543c
    • Alexander Polyankin's avatar
    • Dalton's avatar
      Normalize virtual card table fields using its `table_id` and `id` (#25267) · 223708bd
      Dalton authored
      * Update FieldSchema to store virtual card table fields using both table_id and field id
      
      * Update the metadata selector to look use field's uniqueId property
      
      * Add tableId arg to Metadata.prototype.field method
      
      * Normalize fields in sample_database_fixture
      
      * Fix incorrect e2e test
      
      * Make the second arg of field optional
      
      * Pull out small fn
      
      * Refactoring + clean up + mocks & tests
      
      * Update metadata.field(...) usage in a few places
      
      * Revert FieldDimension change
      
      * Move complex FieldDimension `field` logic to the instantiation of "virtual" fields by the associated query's `table` method (#25109)
      
      * Add merge method to Field
      
      * add new virtual table utils + tests
      
      * Use new utils in implementation of Structured/NativeQuery table methods + remove unneeded Dimension logic
      
      * let all Questions return dependentMetadata
      
      * Fix types related to query.table() potentially returning null
      
      * Fix updateQuestion tests
      
      * Remove unused Dimension imports
      
      * Fix issue resolving rootTable on queries based on virtual tables
      
      * Fallback to the nested card table stored in the Metadata instance
      
      * Make the nested card Table the main driver in returning fields for nested cards + other misc fixes
      
      * more tweaks related to cloned Tables, source queries
      
      * Don't clobber metadata if something is already there (like a method named 'metadata')
      
      * Fix for nested native query
      
      * Don't use real table for source query
      
      * Update table code to use the actual nested card table fields instead of doing merge logic
      
      * Skip an e2e test
      
      * Workaround for getting Dimensions from joins
      
      * Update arg name
      
      * Try removing the Table fetch from Question's dependentMetadata method
      
      * Don't rerun query when converting question to model
      
      * Fix for source query not showing 'previous results'
      
      * Fix unit tests
      
      * Update models e2e tests not to wait on query
      
      * Unskip repro for #23449
      
      * make sure a join's joinedQuery is not a dataset/model
      
      * use createQuestion in e2e test
      
      * don't use Question redux dispatch method for updating
      
      * split test cases
      
      * Add comment
      Unverified
      223708bd
    • Anton Kulyk's avatar
      Respect data app homepage setting (#25368) · aaf93a0b
      Anton Kulyk authored
      Unverified
      aaf93a0b
    • Anton Kulyk's avatar
      Group nav sidebar files (#25359) · fdaa759a
      Anton Kulyk authored
      * Move `DataAppNavbar` to its own directory
      
      * Move `MainNavbarContainer` to its own directory
      
      * Move `BookmarksList` to `MainNavbarContainer`
      
      * Extract `getSelectedItems`
      
      * Extract `DataAppActionPanel`
      Unverified
      fdaa759a
    • Nick Fitzpatrick's avatar
      24840 reordering breakouts (#25318) · 1284079b
      Nick Fitzpatrick authored
      Unverified
      1284079b
Loading