Skip to content
Snippets Groups Projects
  1. Jun 09, 2023
    • Konrad Mohrfeldt's avatar
      feat: allow users to create a time slot within a slot that already has begun · 3d4e9b28
      Konrad Mohrfeldt authored
      Users weren’t able to create a time slot in the calendar if the slot
      has already begun.
      
      The logic now checks if the start time is later or equal to the start of
      the slot of the current time (i.e. current time is 16:37:28, check is
      performed against 16:30:00 for a 15 minute calendar slot size). This
      prevents users from creating slots in the past but allows them to create
      time slots within a slot that has already begun.
      
      If the slot has already begun then the start time of the new time slot
      is set to the next available 5 minute slot after the current time. This
      means that if the current time is 16:37:28 and one creates a time slot
      in the 16:30:00 - 16:45:00 slot window the start time of the new time
      slot is set to 16:40:00.
      
      fixes #167
      3d4e9b28
    • Konrad Mohrfeldt's avatar
  2. Jun 08, 2023
  3. Apr 13, 2023
  4. Apr 09, 2023
  5. Apr 05, 2023
  6. Mar 28, 2023
  7. Mar 27, 2023
  8. Mar 24, 2023
  9. Feb 28, 2023
  10. Jan 24, 2023
  11. Dec 07, 2022
    • Konrad Mohrfeldt's avatar
      refactor: allow users to add shows when no shows are available · 5135a931
      Konrad Mohrfeldt authored
      Users should always be able to add new shows even if none have been
      created thus far.
      
      refs #97
      5135a931
    • Konrad Mohrfeldt's avatar
      feat: rework show selector · b650844b
      Konrad Mohrfeldt authored
      Up until now we had two different show selectors based on the number of
      shows that were available. We now use the same show selector for any
      number of shows.
      
      Apart from that shows are now sorted
       1. based on their active state (descending, so inactive last) and
       2. their name (ascending, so A-Z)
      in the show selector so it’s easier to find relevant shows.
      
      Other changes:
      * title handling has been moved into PageHeader component
      * calendar management has been removed and is now handled
        locally in the EmissionManager component
      * inactive shows are badged
      
      refs #122
      b650844b
  12. Dec 06, 2022
  13. Nov 29, 2022
  14. Nov 28, 2022
  15. Nov 24, 2022
    • Konrad Mohrfeldt's avatar
      feat: migrate to fullcalender v5 · 14a9ff20
      Konrad Mohrfeldt authored
      vue-full-calendar is not the official Vue package of fullcalendar, is
      only compatible with Vue 2.x, uses the outdated fullcalendar v3 library
      and contains a bunch of huge dependencies like jQuery and moment.
      
      The changes in this commit migrate the dashboard to fullcalendar v5 and
      the official vue component. Apart from that there have been a few
      refactors and fixes. These are:
      
      * remove irrelevant stub event callbacks
      * make view updates reactive instead of imperative
        (see removal of renderView method and introduction of renderWatcher)
      * rename methods to better reflect their purpose
          resolve → enterConflictMode
          resolveEvent → resolveConflict
      * emit events in modals instead of call to methods on this.$parent
      * let → const where applicable to prevent accidental reassignments
      * switch to for-of loops (from for-in) for better readability
      * fix some typos
      
      One other major change is that timeslot and collision data is no longer
      mixed with event data for fullcalendar and is assigned to the
      extendedProps property instead. As mentioned in fullcalendars
      documentation on event parsing [1], any data that fullcalendar does not
      handle on its own is moved into the extendedProps object with the
      explicit recommendation to put them there right from the start. We
      follow that recommendation.
      
      closes #94
      
      [1] https://fullcalendar.io/docs/event-parsing
      14a9ff20
  16. Nov 10, 2022
  17. Nov 09, 2022
    • Konrad Mohrfeldt's avatar
      feat: migrate to vue3/compat and Vite build system · 202388aa
      Konrad Mohrfeldt authored
      Notable changes:
       * Vue 2.6 to Vue 3 + compat migration.
       * Build system migration from vue-cli/webpack to Vite.
       * Application dependencies like bootstrap-vue, vue-router, vuex,
         or vue-toast-nofitication have been updated, if doing so was
         necessary or advisable for the Vue 3 migration.
       * Static file includes for the oidc-client in oidc_callback.html
         and oidc_callback_silentRenew.html have been removed in favor
         of automatic processing in the build system so that all assets
         are versioned and invalid cache hits are prevented.
      
      Fixes #53 and #110.
      202388aa
  18. Nov 08, 2022
  19. Nov 03, 2022
  20. Oct 26, 2022
  21. Apr 24, 2022
Loading