Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Oct 26, 2022
  2. Oct 25, 2022
  3. Oct 24, 2022
  4. Oct 22, 2022
  5. Oct 21, 2022
  6. Oct 20, 2022
  7. Oct 19, 2022
  8. Oct 18, 2022
    • Gustavo Saiani's avatar
    • Cal Herries's avatar
      Open the data reference when the cursor moves to a card tag in the native query editor (#25801) · c46de9a2
      Cal Herries authored
      * Refactor DataReference
      
      * Don't show card tags in the sidebar
      
      * Refactor template tag regexes
      
      * Add models to DatabaseSchemasPane
      
      * Restyle SchemaPane
      
      * Anton's suggestions
      
      * Rename show to onItemClick
      
      * Remove another ternary
      
      * Add openDataReferenceAtCard action, but not opening the sidebar yet
      
      * Fix useEffect static analysis
      
      * Types
      
      * Get opening the sidebar at a model working, at the expense of model autocomplete
      
      * Change icon of ModelPane if it's a question
      
      * Tidy
      
      * Refactor DatabasePane
      
      * Move onItemClick and back callback logic to redux actions
      
      * Add e2e test
      
      * Add back autocomplete
      
      * Load question tables correctly
      
      * Restore autocomplete
      
      * Fix card tag autocomplete on the first character of the tag name
      
      * Update template tag editor visibility test to not test for card tags
      
      * Fix tests for cardIdFromTagName
      
      * Tidy tag editor
      
      * Typo
      
      * Fix undefined error
      
      * Tidy NativeQueryEditor.cardTagId
      
      * Tidy nextCompleters
      
      * Tidy
      
      * Update unit tests for tag editor visibility
      
      * Tidy
      
      * Tidy
      
      * Add test for models
      
      * Check fields have loaded before displaying table fields
      
      * Tidy
      
      * Rename ModelPane to QuestionPane
      
      * Rename card to question
      
      * Remove unused files
      
      * Tidy
      
      * Fix renaming
      
      * Fix renaming
      
      * Make variable template tag names non-empty
      
      * Fix test flakiness
      
      * Tidy
      
      * Tidy
      
      * Remove is_saved_questions check
      
      * Rename
      
      * Replace setDataReferenceStack action with selector and fix test
      
      * Initialize dataReferenceStack to null as an "uninitialized" state to fix the back button
      
      * Update e2e tests
      
      * Update e2e tests
      
      * Replace long ternaries
      c46de9a2
    • Anton Kulyk's avatar
      Disable data apps (#25977) · cef29d6d
      Anton Kulyk authored
      * Remove list and object viz from viz options
      
      * Hide apps and actions from new item menu
      
      * Remove UI for enabling writeback per-database
      
      * Disable app routes
      
      * Disable action routes
      
      * Disable model detail page
      
      * Don't list apps in the navbar
      
      * Hardcode dashboard's `isDataApp` to `false`
      
      * Remove "page" from custom destination options
      cef29d6d
    • Dalton's avatar
      Move more card/parameter value utils to metabase-lib (#25937) · dded4879
      Dalton authored
      * move remapParameterValuesToTemplateTags
      
      * Move more parameter value utils to metabase-lib
      
      * Fix tests
      dded4879
    • Alexander Polyankin's avatar
      e9a94189
  9. Oct 17, 2022
  10. Oct 14, 2022
  11. Oct 13, 2022
  12. Oct 12, 2022
    • Ryan Laurie's avatar
      Data apps: faster action adding (#25846) · 98da65ac
      Ryan Laurie authored
      
      * [Apps] Model Actions
      
      WIP Adding migration and endpoints for model_action.
      
      * WIP model action execution
      
      Changing the execution endpoints again, still working on implicit action
      execution tests. Need to also test the parameters fetch.
      
      * Re-add execution route for dashcard action_id until Front End catches up
      
      * Add name to model_action GET
      
      * Hydrate model-action on dashcards
      
      * Rename and combine hydration of model_action to action
      
      * Implicit action execution support. Use slug columns as parameter ids
      
      * Go through model-action when using GET /action
      
      * FE integration fixes
      
      * Move action execution to use new parameter shape
      
      Now, parameters should be a map of parameter-id to value
      Parameter-id should be mapped on the FE. So the action parameter-id not the unmapped
      dashboard parameter-id.
      
      * Bring ModelAction into copy code
      
      * Generate target of implicit actions to match http actions
      
      * Update action test to place action on model
      
      * Add unique constraint to model_action for (card_id, slug)
      
      * Add missing require
      
      * model_action.slug needs to be varchar for mysql constraint
      
      * Fix test from unique constraint
      
      * Consistent ordering for tests
      
      * Addressing Code Reviews and Scaffold changes
      
      * Add type: implicit to implicit model actions
      
      * Update src/metabase/api/model_action.clj
      
      Co-authored-by: default avatarmetamben <103100869+metamben@users.noreply.github.com>
      
      * Allow changing card_id with PUT to dashcard for model-actions
      
      * Update tests after merge
      
      * Fix implicit delete and add better test coverage
      
      * Addressing review changes
      
      Add PUT test
      Add schema for dashboard-id and dashcard-id params
      Fix select ordering in test
      
      * save actions in models
      
      * list model actions on detail page (#25648)
      
      * Link Dashcards to model-based actions (#25770)
      
      * Link dashcards to model-based actions
      
      * address review comments
      
      * Data apps model actions implicit creator (#25807)
      
      * Link dashcards to model-based actions
      
      * address review comments
      
      * Link dashcards to model-based actions
      
      * Allow implicit actions to be used like explicit ones
      
      * address review comments
      
      * update action types
      
      * add action sidebar
      
      * remove action selection from click behavior sidebar
      
      * rework action picker
      
      * add shortcut to create an action for a model
      
      * update tests
      
      * address review comments
      
      Co-authored-by: default avatarCase Nelson <case@metabase.com>
      Co-authored-by: default avatarmetamben <103100869+metamben@users.noreply.github.com>
      Co-authored-by: default avatarAnton Kulyk <kuliks.anton@gmail.com>
      98da65ac
Loading