Skip to content
Snippets Groups Projects
  1. Jun 16, 2023
  2. Jun 15, 2023
  3. Jun 09, 2023
  4. Apr 09, 2023
  5. Apr 06, 2023
  6. Apr 05, 2023
  7. Apr 03, 2023
  8. Mar 28, 2023
    • Konrad Mohrfeldt's avatar
      refactor: rework show selector · f9762d85
      Konrad Mohrfeldt authored
      We’ve decided to move the show selector into the navbar because the
      selected show is the primary state of the dashboard from which almost
      all other state is derived.
      
      Apart from that we now have support for filtering the list based on
      active and inactive shows (and possible other criteria in the future) as
      it was suggested in #122.
      f9762d85
    • Konrad Mohrfeldt's avatar
      fix: gracefully handle missing playlist data in EmissionManager · a3e8e3b0
      Konrad Mohrfeldt authored
      The playlist data is only available for the currently selected show. Any
      playlists used in other shows will not be available and we should
      gracefully handle that.
      
      This is a quick fix to address #132. A more permanent and helpful
      resolution is outlined in #135 and #136.
      a3e8e3b0
  9. Feb 28, 2023
  10. Dec 11, 2022
  11. 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
  12. Nov 28, 2022
  13. 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
    • Konrad Mohrfeldt's avatar
      chore: fix typo · cb6b230a
      Konrad Mohrfeldt authored
      cb6b230a
  14. Nov 10, 2022
  15. Oct 26, 2022
  16. 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
  17. Jan 14, 2022
  18. Nov 25, 2021
  19. Jul 30, 2021
  20. Dec 15, 2020
  21. Dec 14, 2020
  22. Dec 02, 2020
Loading