Skip to content
Snippets Groups Projects
  1. Jan 26, 2024
  2. Jan 25, 2024
    • Konrad Mohrfeldt's avatar
      73e28756
    • Konrad Mohrfeldt's avatar
      feat: add slug-renaming workflow · 61c45a5b
      Konrad Mohrfeldt authored
      fixes #100
      61c45a5b
    • Konrad Mohrfeldt's avatar
      fix: make auto-save a little less agressive · b08a12c1
      Konrad Mohrfeldt authored
      fixes #235
      b08a12c1
    • Konrad Mohrfeldt's avatar
      refactor/fix: fetch rrules from steering and derive description from rulesets · e10e74db
      Konrad Mohrfeldt authored
      Up until now the dashboard used a hardcoded list of rrules that matched
      a long-gone fixture set of rrules in steering. Additionally, rrules were
      translated in the dashboard using the the ID of the rrules in steering.
      This means that any change to the fixture set, removing an rrule or not
      importing the fixture set at all would mix up the translations and
      therefore the actual schedules that people would create.
      
      A few months ago the rrules were reworked and an API endpoint was
      introduced that exposes the rrules defined in steering. No appropriate
      change was made in the dashboard and so the rrule definitions got
      out-of-sync.
      
      This change implements a rrule store that fetches data from the API.
      Additionally we’ve also implemented a custom rrule to natural language
      mechanism [1]. This is because the scope of the rulesets we use in the
      AURA radio context is well-known and not to complex and because rrule.js
      built-in `toText` function, which might have been an option, is limited:
      
      * bysetpos seems to be entirely unsupported
      * internationalization will produce gramatically questionable
        output for languages like German, because the translation
        interface is somewhat lacking.
      
      [1] #226 (comment 13669)
      e10e74db
  3. Nov 08, 2023
  4. Nov 06, 2023
  5. Nov 02, 2023
  6. Nov 01, 2023
  7. Oct 21, 2023
  8. Oct 13, 2023
  9. Jun 17, 2023
  10. Jun 15, 2023
  11. Jun 13, 2023
  12. Jun 12, 2023
  13. 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
Loading