* Convert StatusBarRegistration to use components field
- More similar to all other *Registration types for extensions
- Simpler fix for using the components.Icon type, now accepts functions
that return component instance like all other *Registration types
- Kept old fix for backwards compatability
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* fix docs
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* Rework extensions guides
* Edited MobX guide.
* Changed MobX in mkdocs.yml nav.
Signed-off-by: Paul Williams <pawilliams@mirantis.com>
* split line by sentances
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Co-authored-by: Paul Williams <pawilliams@mirantis.com>
Co-authored-by: Sebastian Malton <sebastian@malton.name>
* use pid+frameId
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* use correct process id
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Signed-off-by: Paul Williams <pawilliams@mirantis.com>
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Edited and reworked content in the Extension Guides Overview and the Generator and Main Extension guides.
Signed-off-by: Paul Williams <pawilliams@mirantis.com>
Update docs/extensions/guides/main-extension.md
Co-authored-by: Panu Horsmalahti <panu.horsmalahti@iki.fi>
Update docs/extensions/guides/generator.md
Co-authored-by: chh <1474479+chenhunghan@users.noreply.github.com>
Signed-off-by: Paul Williams <pawilliams@mirantis.com>
Co-authored-by: Paul Williams <pawilliams@mirantis.com>
Co-authored-by: chh <1474479+chenhunghan@users.noreply.github.com>
* extension store guide
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* improve docs as per reviews and rereading
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* more doc tweaks
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* write up on some ways to publish extensions
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* tweak text
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* extension guides for statusBarItems, kubeObjectMenuItems, and kubeObjectDetailItems
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* address extension guide review comments
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* fix typos found in review
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
* add step to verify docs on area/documentation PRs
* use GH actions to run the verification
* add check if label is set to area/documentation
* fix broken links in docs with WIP files
* add generating API docs before verifying
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* add a brief overview to our use of mobx and mark all observable fields as observable in our docs
* add to navigation
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* change add-cluster to single column layout
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* cleanup styles
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* Fine-tuning layout/coloring styles
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
Building on https://github.com/lensapp/lens/pull/1267 and iterating on the docs,
re-organizing them into Layout and Theme sections.
Also adding sample code on how to detect theme changes in JavaScript.
Signed-off-by: Stefan Cameron <stefancameron@SC-MBPt13-2018.austin.rr.com>
* Add extension development instructions for Windows users
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
Co-authored-by: steve richards <steve.james.richards@gmail.com>