Skip to content
Snippets Groups Projects
  1. Mar 26, 2024
  2. Mar 08, 2024
  3. Feb 14, 2024
  4. Feb 13, 2024
  5. Feb 10, 2024
  6. Feb 09, 2024
  7. Feb 08, 2024
  8. Feb 07, 2024
  9. Jan 25, 2024
    • 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
  10. Nov 08, 2023
  11. Nov 06, 2023
  12. Nov 01, 2023
  13. Oct 21, 2023
  14. Oct 13, 2023
Loading