This project is mirrored from https://gitee.com/linuxsuren/octant.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 10 Aug, 2020 24 commits
  2. 09 Aug, 2020 1 commit
    • bryanl's avatar
      Create a modular dashboard client for javascript · c2173174
      bryanl authored
      
      This change allows the creation of a modular dashboard client. This opens up two possibilties:
      
      1. Dashboard client can be extended by add new functions which are wholly contained (Don't need to worry about wiring in a store or anything else to the js plugin bits)
      2. The client can be queried for its methods, which means we can generate the typescript interface for the client.
      
      This change rearranges the existing dashboard and adds a new `RefPath` call which allows you generate a path to a ref. (plugins won't need to construct these paths themselves)
      Signed-off-by: default avatarbryanl <bryanliles@gmail.com>
      c2173174
  3. 08 Aug, 2020 6 commits
  4. 07 Aug, 2020 2 commits
    • Bryan Liles's avatar
      Merge pull request #1213 from vmware-tanzu/component-annotation · 40dcc3d0
      Bryan Liles authored
      Create prototype for generating ts from components
      40dcc3d0
    • bryanl's avatar
      Create prototype for generating ts from components · 72ed1be7
      bryanl authored
      
      High level:
      * Annotate component with `octant:component` tag
      * Run generator
      
      This command converts components to typescript.
      
      - prettier: `npm i -g prettier`
      
      ```sh
      $ go run ./cmd/ts-component-gen/main.go -dest <directory>
      ```
      
      - Figure out what components exist. This process relies on convention,
      so components are labeled with an `+octant:component` tag in a doc
      comment.
      - Extract type information by building up a new binary that contains
      reflect type information.
      - Convert types to typescript
      - Write typescript components to the supplied destination
      Signed-off-by: default avatarbryanl <bryanliles@gmail.com>
      72ed1be7
  5. 06 Aug, 2020 6 commits
  6. 05 Aug, 2020 1 commit