* Now uses the same data as the cluster homepage, delayed load not needed.
* Auto stash before rebase of "master"
* Fix ready state
- the loading indiciator was only shown when the http request to fetch required data was happening
- in our world there's no http request, so no loading indicator
- this means for clusters that are `pending` there's no a forever loading indicicator
---------
Co-authored-by: Richard Cox <richard.cox@suse.com>
* Initial Example
* Add toggle expand all
* Add panel resize
* Fix close and open after resize
* Fix expand all
* POC: Kubectl explain interface
* Fix some lint issues
* First version of the kubectl explain UI
* Improvements
* Fix lint
* Tidy up Open API data fetch
* Tidy up code for parsing OpenAPI
* Many tidy ups and simplifications
* Add error message if we can't load Open API Data
* Ensure action appears only when there is a resource
* Fix lint issue
* Test e2e
* e2e
* e2e
* USe canary browser
* Use firefox
* Try chrome version
* Auto accept prompt
* Accept
* Last try
* Install Chrome
* Run as root
* Fix paths
* Add quiet flag, fix paths
* Use browser path
* Try debugging port
* Further attempts
* Set path
* Add debug env var
* Try edge
* Use specific version
* Add allow downgrades
* Use Chrome
* Remove WIP
* Adderss PR feedback
* Fix for no cluster
* Address PR feedback
* Fix lint issue
* Fix position with banners enabled. Restrict products for which this is shown
* Fix lint issue
---------
Co-authored-by: Richard Cox <richard.cox@suse.com>
There are certain scenarios where we want to apply hooks, but it might not make sense to apply all of them. For instance, we have `_beforeSaveHooks` hooks that we want to apply when the "Edit as YAML" button is clicked on a form, but it doesn't make sense to apply the `save-machine-pools` hook at this point; we are only changing the mode of editing so we should not be saving changes at this point. However, we still would want to apply the `set-registry-config` hook.
Co-authored-by: Richard Cox <richard-cox@users.noreply.github.com>
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* fix: some scenarios with the smallIdentifier()
* Minor refactor, add unit test
- Move bulk of smallIdentifier out to custom abbreviateClusterName
- Made `case 1` easier to read
- Added a bunch of unit tests
- need to discuss some results
---------
Co-authored-by: Richard Cox <richard.cox@suse.com>
* Fixed app bar overlaps issue and active group highlight bug in firefox
* Fix group highlight for Cluster Management and other section
* Fixed overlap issues in home and other pages
* Fixed lint and revert test changes
* Added getter for showTopLevelMenu
* Added a showTopLevelMenu getter
* Fixed lint
* imrpove labeledSelect getOptionLabel performance when options are strings
* refactor labeledselect getOptionLabel and write test
* remove redundant if block in ls getOPtionLabel
* refactor getUpdatedOption
```
`preventOverflow` modifier is required by `hide` modifier in order to work, be sure to include it before `hide`!
```
- Needed `hide` - https://popper.js.org/docs/v2/modifiers/hide/
* Added group highlight
* Made active group header bold
* Added active color variable
* Added namespace icon
* Added new spacing, style
* Fixed lint and cluster group highlight issue
* Fixed sub accordion style
* Change icon style
* Fixed icon alignment
* Fixed spacing issue
* Fixed spacing and lint
* Highlight active header when it is close
- Bring computed properties inline with where they're used
- Fix issue where limit object is deleted and cannot be set following save
- on save the object used to store limit is removed if it's empty
- this meant user could not enter new values within that limit
- so split up input and output to `UnitInput` component
* add growl message to display warning messages from response headers
* update growl styling based on feedback from Eden
* Many updates
- Move functionality into it's own file
- Add unit tests
- Fix issue where YAML PUTs weren't included in check (bug in master)
- Fix issue with separating warnings (bug in master)
- previously this was done via `,`, however that appears in the messages themselves
- add configuration which allows this to be customised
- Add configuration which would allow us to disable or expand how growls are shown
---------
Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
Co-authored-by: Richard Cox <richard.cox@suse.com>
* add hash param to locationConfig object in extensions to allow fine-tune of application of an extension + change logic around extension table cols to better reflect col location based on page user is browsing
* remove commented line
* update docs
* improve docs with breaking changes warning
* address pr comments
* bump shell version
---------
Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>