Commit Graph

24 Commits

Author SHA1 Message Date
Jordon Leach d0a0a4b72f
Fix extension displayName annotation conditions - add configuration docs (#9544) 2023-08-18 16:17:18 -04:00
Alexandre Alves 770a08bbe8
address misformatted banner on extensions por partners repo (#9359)
* address misformatted banner on extensions por partners repo

* 2

* adjust banner copy

---------

Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
2023-07-18 14:18:51 +01:00
Alexandre Alves 582d28c56f
working on partners repo support for extensions (#9260)
* working on partners repo support for extensions

* update copy + fine tune charts update when adding/removing repos

* working on e2e tests

* updating e2e tests

* updating e2e tests

* address PR comments

* address PR comments

---------

Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
2023-07-17 16:10:29 +01:00
Alexandre Alves 49b5cd356c
Handle extensions that are already installed and shouldn't run in a particular kube version (#9128)
* add logic to display message on installed extension card to warn user when kube version for installed extension is not met + add logic to disable version buttons on info side panel

* add code comment

* minor cleanup

---------

Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
2023-07-10 10:13:35 +01:00
Giuseppe Leo 01eeb0548f
Add recommended lint rules globally (#8997)
* Update configuration

* Create default config for eslint

* Restore plugin:vue/recommended

* Add exceptions and overrides

* Correct manually remaining issues

* Adding further picked exceptions groupped up

* Fix or disable specific cases manually and singularly

* Add naming linting exception

* Remove unused variable in component

* Move rules to default

* Autocorrect rancher/components linting issues

* Configure VSCode to use multiple files, to display linting for rancher components

* Disable jest lint hook restriction for string list component

* Autofix
2023-06-23 17:02:55 +02:00
Alexandre Alves a4a2689a65
fix issue where extension versions appeared as duplicated (#9121)
* fix issue where extension versions appeared as duplicated

* remove force option

---------

Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
2023-06-16 14:21:15 +01:00
Mo Mesgin 91b64bdbfe 8712 - fixed plugin icons alignment 2023-06-13 16:10:11 -07:00
Jordon Leach d94e78c24a
Add extension image load dialog (#9010)
Update dialog with repo creation - update docs

Add uninstall for custom images

Add extension images list view

Add image load dialog and uninstall within extension image view

Update publish and bundle scripts for image load - move image page to tab

Add extension container build workflow file to pkg creator

Move plugin server template into extension build scripts

Fix publish script for multiple asset packages

Move ImageList view to separate page - add crd metadata for custom images

Update docs - fix references to images with catalog

Fix wording, cache state badge, masthead breadcrumb, when deleteing resources check for namespaces

Update docs - fix delete repo resource - default cache state

Trim image whitespace - populate extensionUrl

Add experimental badge
2023-06-02 08:28:47 -04:00
Phillip Rak ade3c9f4e7 Replace all instances of `v-tooltip` with `v-clean-tooltip`
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2023-05-18 15:39:14 -07:00
richa 17da3a4b8c
Fixed empty available list issue immediately after enabling extensions (#8892) 2023-05-17 16:42:05 +02:00
Alexandre Alves 4bc77c467d
fix issue with extensions versions not availableg (#8333)
Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
2023-03-03 12:16:33 +00:00
Alexandre Alves 96b823c391
update icon logic on extensions to show the icon of the latest compatible version and not the chart icon (#8307)
Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
2023-03-02 10:06:14 +00:00
Alexandre Alves ed33257abe
fix small issue with extension developer load (#8230)
Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
2023-02-22 11:35:33 +00:00
Alexandre Alves 44f238330c
add logic around limiting extensions to a specific ui-version (#8200)
* add logic around limiting extensions to a specific ui-version

* fix semver version comparison to use rancher version

* fix version fetching for ui-rancher annotation on extensions

* ignore checks for head versions (hash) on ui-version annotation for extensions

---------

Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
2023-02-21 14:02:28 +00:00
Neil MacDougall 4bb0168444
Improve presentation of Harvester Manager Built-in Extension (#8004)
* Improve presentation of VM Built-in Extension

* Update description following PR feedback
2023-02-09 20:15:34 +00:00
Alexandre Alves 6516e094b8
Extensions enhancements (#7777)
* add extensions API methods
---------

Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
Co-authored-by: Neil MacDougall <nmacdougall@suse.com>
Co-authored-by: Richard Cox <richard.cox@suse.com>
2023-02-09 10:58:29 +00:00
Alexandre Alves 191faf2e0c
capitalise extension titles (#7709)
* capitalise extension titles

* add white bg to extension icons on dark mode

Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
2022-12-19 09:54:16 +00:00
richa c792d21dd9
Fixed icon size (#7557)
* Fixed icon size

* Add node inactive warning indicator (#7548)

* StringList, delete item on editing

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>

* Bump @rancher/components version

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>

* Add manage button to home page (#7546)

* Add manage button to home page

* Fix button spacing

* Make buttons smaller - looks better with extra button

* Fixed icon size in simplebox

* icon fix in GrowlManager.vue

* Add node inactive warning indicator (#7548)

* StringList, delete item on editing

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>

* Bump @rancher/components version

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>

* Add manage button to home page (#7546)

* Add manage button to home page

* Fix button spacing

* Make buttons smaller - looks better with extra button

* Fixed close icon size

* Fixed more icons sizes

* Fixed icon size in namespaces filter

* Reverd css changes in LabeledSelect component

* Fix on Header

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Co-authored-by: Neil MacDougall <nwmac@users.noreply.github.com>
Co-authored-by: Francesco Torchia <francesco.torchia@suse.com>
Co-authored-by: Richa Bisht <RBISHT@Richas-MacBook-Pro.local>
2022-12-08 16:52:53 +01:00
Phillip Rak 3d410d0974 Apply linter auto-fixes
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2022-11-16 18:38:20 -07:00
Giuseppe Leo d2d4122bc0
Review HTML formatting rules (#6805)
* Prevent ESLint to format generated paths

* Add HTML ESLint Rules

* Format all the Vue HTML templates except Harvester

* Exclude Harvester package from linting HTML, keeping old formatting rules
2022-11-11 17:04:22 +01:00
Neil MacDougall cb789ae4ff
Extensions: Don't show version when installing (#7240)
* Don't show version when installing

* Address PR feedback
2022-10-21 11:20:18 +01:00
Neil MacDougall 9d45f766ad
Minor plugin tweaks (#7161)
* Various fixes

* Error handling

* Fix lint

* Limit description length

* Only use system registry for Rancher images

* Change way we set defautl system registry

* Minor tweaks

* Fix bad rebase on this file

* Fix rebase issue

* Add link to manage repos
2022-10-13 14:22:02 +01:00
Neil MacDougall f18082c20f
Plugin tweaks (#7095)
* Minor improvements

* Various fixes

* Fix developer load of plugins with '-' character in name

* IImprove installation detecttion and extensions naming

* Fix one more string

* Update placeholder icon

* Change pref string to Extensions

* Change icon and error handlers

* Error handling

* Fix lint

* Limit description length

* Ensure info panel readme info scrolls vertically for content

* Fix lint

* Fix bug where plugins don't load on fresh login or a login after logout

* Add chart compatbility filtering

* PR feedback

* Add check for access to ui plugin schema

* Update string following PR feedback

* Fix GitHub auth

* Fix lint

* Write in default system registry when we are installing the operator

* Fix issue where stuck installing on upgrade/rollback

* Fix bugs and tidy up plugin install/uninstall feedback in UI

* Only use system registry for Rancher images

* One more tweak to fix status on upgrade operation

* Fix extensions page reloading plugins

* Add message to reload the browser

* Fix reload notice for uninstall

* Change way we set defautl system registry
2022-10-10 17:13:24 +01:00
Neil MacDougall 80eeacfb41
Plugins: Add UI to manage plugins (#6973)
* WIP: Working version

* Further refinement

* Working version

* Refactor to a product

* i18n

* Fix lint and tidy comments

* Empty-Commit

* Bump e2e

* Latest fixes, i18n

* Fix lint

* Fix lint issues

* Fix imports for standlone plugin build

* Only load plugins in dev

* Fix lint issue

* Fix template errors

* Fix operator setup

* Fix menu actions

* Address PR feedback

* Address PR feedback

* Add new preference for plugin developer

* Update icon support

* Add third-party and experimental banners to slide-in

* Add support for update/rollback of a plugin

* Address PR feedback - i18n

* i18n - one more string localised

* i18n - one more string localised

* Minor visual tidy ups

* Use banner for install warning

* Fix saefMode

* Fix lint

* Add some responsiveness to the cards page

* Fix lint

* Bump PR

* Add debug to list coverage reports
2022-10-04 13:16:54 +01:00