Skip to content
Snippets Groups Projects
  1. Feb 13, 2024
  2. Nov 06, 2023
  3. Nov 02, 2023
  4. 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
    • Konrad Mohrfeldt's avatar
  5. Oct 13, 2023
  6. Jun 08, 2023
  7. Apr 13, 2023
    • Konrad Mohrfeldt's avatar
      fix: improve UX for image uploads · 451b4f32
      Konrad Mohrfeldt authored
      Image uploads might take a while and even though we can’t currently show
      a progress bar for the upload (because fetch upload progress is still
      not a thing) we can at least indicate that something is happening and
      disable any interactive UI elements.
      
      refs #144
      451b4f32
    • Konrad Mohrfeldt's avatar
      refactor: rename isLoading to isProcessing · b2d0e4b9
      Konrad Mohrfeldt authored
      isProcessing seems more general purpose as it’s not clear if the
      provided function actually loads something.
      b2d0e4b9
  8. Apr 09, 2023
  9. Apr 06, 2023
Loading