Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Apr 23, 2024
  2. Apr 22, 2024
  3. Apr 19, 2024
  4. Apr 18, 2024
    • Nemanja Glumac's avatar
      Introduce `task` api using RTK Query and use it to replace `Tasks` entity (#41452) · 2ab84940
      Nemanja Glumac authored
      * Throw for unused Tasks endpoints
      
      * RTK Query `taskApi`
      
      * Wire tasks entity list and get endpoints to use RTK Query
      
      * Fix typo
      
      * Expose `taskApi`
      
      * Rework `TaskModal` to use RTK Query api
      
      * Throw on `Tasks.api.get`
      
      * Rework `TaskApp` to use RTK Query api
      
      * Delete `Tasks` entity
      
      ... which never should've been an entity in the first place.
      
      * Delete unused `TaskApi` entry
      
      * Fix next pagination page not being properly disabled
      
      * Do not export `isLastPage` function
      
      * Convert TasksApp to TS
      
      * Use Mantine Tooltip
      
      * Remove stray comment
      
      * Add empty lines for better legibility
      
      * Update the response type
      
      * Define `task_details` type more strictly
      
      * Use the existing `DatabaseId` type
      
      * Provide tags for `list` and `get` endpoints
      
      * Address code review
      
      * Handle error and loading in the `TasksApp`
      
      * Handle error and loading in the `TaskModal`
      
      * Extract the page size into a variable
      
      * Index databases without mutation
      
      * Refactor TaskModal
      2ab84940
Loading