Skip to content
Snippets Groups Projects
  1. Apr 09, 2023
  2. Apr 06, 2023
  3. Apr 05, 2023
  4. Apr 03, 2023
  5. Mar 28, 2023
  6. Mar 27, 2023
    • Konrad Mohrfeldt's avatar
      fix: fix iteration bugs · e4083e66
      Konrad Mohrfeldt authored
      Some iteration semantics got mixed up when replacing remaining uses of
      `var` variable declarations in ae37fb6c.
      
      `var foo in bar` cannot be replaced with `const foo of bar` because the
      first will assign the iteration index of the current item to foo,
      whereas the second will assign the actual iteration item.
      e4083e66
  7. Mar 24, 2023
  8. Feb 28, 2023
  9. Jan 24, 2023
  10. Dec 07, 2022
  11. Dec 06, 2022
  12. Dec 05, 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
Loading