Skip to content
Snippets Groups Projects
  • Phoomparin Mano's avatar
    49926e68
    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
    feat(sdk): support multiple interactive questions by decoupling from query builder reducer (#45133)
    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
Code owners
Assign users and groups as approvers for specific file changes. Learn more.