Skip to content
Snippets Groups Projects
  1. Oct 21, 2023
    • Konrad Mohrfeldt's avatar
      refactor: unify state update routines and remove selectedShow-dependent code · 7adb359c
      Konrad Mohrfeldt authored
      This refactors the existing state helpers (useCopy and
      useUpdatableState) and unifies them to useUpdateBehaviour, useCopy,
      useAPIObjectFieldCopy, useRelation and useRelationList. This eliminates
      a lot of custom code in the show settings page and unifies the behaviour
      of all input fields and save operations making the experience more
      consistent and understandable.
      
      It also enables us to show the save-in-progress state and errors that
      occurred during updates for all fields along with customizable debounce
      and proper v-model support.
      
      We also got rid of the remaining uses of useSelectedShow. The show
      settings page still made use of it despite using a route that
      provides the relevant show that should be edited.
      7adb359c
  2. Jun 08, 2023
  3. Dec 06, 2022
  4. Nov 28, 2022
  5. Nov 10, 2022
  6. Apr 22, 2022
  7. Nov 25, 2021
  8. Jul 29, 2021
  9. Jul 23, 2021
  10. May 20, 2021
  11. Dec 14, 2020
  12. Nov 24, 2020
  13. Oct 12, 2020
  14. Sep 08, 2020
  15. Aug 26, 2020
Loading