Skip to content
Snippets Groups Projects
  1. Dec 07, 2022
    • Konrad Mohrfeldt's avatar
      fix: instruct users to create show types and funding categories in admin interface · 42c78ff7
      Konrad Mohrfeldt authored
      This is a stopgap measure until we’ve worked on #17 [1] and added a
      management interface for simple models like funding categories and show
      types.
      
      refs #97
      
      [1] #17
      42c78ff7
    • 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
  2. 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
  3. Nov 10, 2022
  4. Oct 26, 2022
  5. Apr 24, 2022
    • Konrad Mohrfeldt's avatar
      fix: properly handle steering scheduling API errors · e01a3692
      Konrad Mohrfeldt authored
      The steering API returns HTTP 400 errors for general payload and 409
      errors for scheduling conflicts that we didn’t handle yet.
      
      fixes #93
      e01a3692
    • Konrad Mohrfeldt's avatar
      refactor: update old schedule attribute names · cb84bfe6
      Konrad Mohrfeldt authored
      The steering API has some deprecated attribute names that we should no
      longer use. These are:
      
        dstart → first_date
        until → last_date
        tstart → start_time
        tend → end_time
        byweekday → by_weekday
      
      These changes in naming have also been applied to variable names,
      attribute names and translatations in the dashboard code in order to
      avoid confusion.
      cb84bfe6
  6. Jan 14, 2022
  7. Nov 25, 2021
  8. Jul 30, 2021
  9. Dec 15, 2020
  10. Dec 14, 2020
  11. Dec 02, 2020
  12. Nov 24, 2020
  13. Nov 17, 2020
  14. Oct 20, 2020
  15. Oct 19, 2020
  16. Oct 13, 2020
Loading