Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Nov 12, 2024
  2. Jul 29, 2024
  3. Jul 11, 2024
    • Phoomparin Mano's avatar
      feat(sdk): support multiple interactive questions by decoupling from query builder reducer (#45133) · 49926e68
      Phoomparin Mano authored
      * create sdk load question
      
      * store question result in sdk context
      
      * remove dataset data type
      
      * update question
      
      * handle navigate to new card
      
      * add loading states
      
      * fix on query change
      
      * update question change logic
      
      * refactor question loading and query params
      
      * fix ad-hoc question in dashboards
      
      * extract useLoadQuestion into a separate hook
      
      * cleanup run question on load
      
      * revert changes in interactive question component
      
      * store original question in the question result state
      
      * turn the question into ad-hoc questions
      
      * refactor run question methods
      
      * add a separate isQueryRunning state for better ux
      
      * isQueryRunning should default to false
      
      * simulate re-running the query in unit tests
      
      * add tests for rendering multiple valid questions
      
      * refactor sync question method
      
      * extract raw series and computed pivot logic
      
      * add getCardAfterVisualizationClick
      
      * separate single and multiple question tests
      
      * fix import paths
      
      * is question native
      
      * pass queryResult instead of queryResults
      
      * temporarily remove checkNotNull for aggregation picker to avoid sdk crash
      Unverified
      49926e68
Loading