This project is mirrored from https://gitee.com/mirrors/nomad.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 20 Jan, 2022 1 commit
  2. 25 Feb, 2021 1 commit
  3. 21 Jan, 2020 1 commit
    • Buck Doyle's avatar
      UI: Migrate to Storybook (#6507) · 9f86f5a1
      Buck Doyle authored
      I originally planned to add component documentation, but as this dragged on and I found that JSDoc-to-Markdown sometimes needed hand-tuning, I decided to skip it and focus on replicating what was already present in Freestyle. Adding documentation is a finite task that can be revisited in the future.
      
      My goal was to migrate everything from Freestyle with as few changes as possible. Some adaptations that I found necessary:
      • the DelayedArray and DelayedTruth utilities that delay component rendering until slightly after initial render because without them:
        ◦ charts were rendering with zero width
        ◦ the JSON viewer was rendering with empty content
      • Storybook in Ember renders components in a routerless/controllerless context by default, so some component stories needed changes:
        ◦ table pagination/sorting stories access to query params, which necessitates some reaching into Ember internals to start routing and dynamically generate a Storybook route/control...
      9f86f5a1