Commit Graph

29 Commits

Author SHA1 Message Date
Mo Mesgin 1ff850f33d changed formatter name 2023-07-12 07:52:09 -07:00
momesgin afa9c06d5c
Add wrap styling to image column (#9257)
* add wrap styling to image column

* add Image formatter and  apply styling

---------

Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
2023-07-10 21:48:41 -07: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
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
Richard Cox e10351733c Cluster and Project Members page fixes, Add back `Role` column to ClusterRoleBindings list
- Cluster tab
  - Remove prompt - Improved type name (Cluster Member --> Cluster Membership removes confusion with Cluster Member role)
- Projects tab
  - Fixed delete of membership to group. This would just delete the first binding that didn't have a user and was of the correct role
  - Remove prompt - Added name for projectroletemplatebinding type
  - Use same padding on right of Add button as on the left of the table
- CRB List
  - Removed custom header definition so native schema headers are used (with role)
2023-05-25 12:20:18 +01:00
Bastian Hofmann 3c955e6f52
Improve OPA Gatekeeper constraint detail page (#8586)
This adds the following functionality to the violations list on the OPA Gatekeeper constraint detail page:

* Add a namespace column to the violations
* Make the violations list searchable
* Allow to download the violations as a CSV, similar to CIS scanner violations

Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de>
2023-04-27 09:27:37 +01:00
Shavindra 54e084f8fd
Fix clusterrolebindings (#8330)
* Fix ClusterRoleBindings listing.
* Update cluster members list view.
* Fix RBAC project users.
* Add role-binding icon.
2023-04-14 09:47:45 +01:00
Neil MacDougall 2859ad0214
Fix OPA Gatekeeper constraint inconsistencies (#7979) 2023-03-09 21:24:36 +00:00
Bastian Hofmann e2cf3e0e10
Add links to object resource to cluster events tables (#7947)
This adds an additional column to the cluster explorer events table, so that there is one column with the object, one with the message and one with event name.

The object column is linked to the object resource. The event name column is linked to the event detail page.

Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de>
2023-02-21 13:42:33 +00:00
Francesco Torchia 5895859a2b
Events tab, restore tooltips
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2023-01-25 10:01:49 +01:00
Francesco Torchia 441722ab8c
Events tab
- define header
- set "Last Seen" column as default sort

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2023-01-12 16:53:42 +01:00
Francesco Torchia 6701ed11a3
Jobs view, Duration field live refresh
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2022-12-15 12:17:36 +01:00
Catherine Luse aaf65b60c6 Show both internal and external IPs in list of nodes 2022-12-07 09:53:50 -07:00
richa f6d6e34cc3
Fixed table alignment in Age column (#7577) 2022-12-07 14:32:51 +01:00
Francesco Torchia 84dd46c9e1
ui:Job List, fix Duration field sorting
- fix sorting
- code refactoring

- Jobs view: fix duration field in case of Pod never starts

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2022-11-18 15:01:16 +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
Richard Cox 7d90720fe0 Don't fix the width of the feature flag table description column
- the feature flag names are small compared to the description
2022-09-09 17:45:30 +01:00
Neil MacDougall 609f73918d
Performance: Fix issues with live and delayed columns (#6390)
* Performance: Fix issues with live and delayed columns

* Address PR feedback

* FIx: live/delayed columns do not update on initial load

* Fix isssue where live and delayed controls don't update on page change
2022-07-22 17:35:23 +01:00
Neil MacDougall aa3e8c8ea4
Performance: Don't block nodes table on fetching pods (#6392) 2022-07-19 15:29:08 +01:00
Bastian Hofmann d09778be40
Add ingressClassName field to ingress form and ingress list (#6340)
* Add ingressClassName field to ingress form and ingress list

Addresses https://github.com/rancher/dashboard/issues/6339

* Move ingressClass to details section on ingress detail page

Signed-off-by: Bastian Hofmann <bashofmann@gmail.com>
2022-07-19 10:57:06 +01:00
Richard Cox 540581436b Revert "Display node IPs in cluster management list view. (#6320)"
This reverts commit aec4949b4f.
2022-07-15 10:15:38 +01:00
Shavindra aec4949b4f
Display node IPs in cluster management list view. (#6320) 2022-07-14 10:40:01 +01:00
Neil MacDougall 78d3ccd118
Update some columns not to be filterable (#6250)
* Update some columns not to be filterable

* Fix lint

* Add comments

* Fix lint issues
2022-07-06 15:07:56 +01:00
Neil MacDougall fdc85696c9
Improve machine pools when there are a large number of machines (#6132)
* Improve cluster details machne pools information

* Remove unused code
2022-06-23 09:59:06 +01:00
Neil MacDougall cab999d02f
Use a delayed loading column for Pod Restarts (#6141)
* Fix bug where table can jump back to page 1 after page change

* Add missing file changes
2022-06-16 11:16:40 +01:00
Neil MacDougall ed631e20e6
Fix age column for norman resources (#6104) 2022-06-08 07:22:50 +01:00
Alexandre Alves 1f7cb4bc79
Cluster Manager and Cluster Dashboard show different age for same cluster (#5992)
* create custom model prop for provisioning.cluster in order to display correct age of a cluster in the case of an upgrade in rancher version

* simplify logic by setting creationTimestamp prop on resource-class model

Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
2022-06-06 14:23:25 +01:00
Shavindra f912874410
Add IP address to cluster machine pools list. (#5869)
* Add IP address to cluster machine pools list.
2022-05-20 13:26:05 +01:00
Richard Cox 25acc1f8eb Plugins: Rejig files to new shell locations (#5623)
* Doc

* v0.7.0

* v0.7.1

* v0.7.2

* Add creators

* v0.1.14

* v0.1.17

* Add Yarn link

* Tidy ups and typos

* Allow models to be loaded from plugins

* v0.1.15

* v0.1.18

* v0.6.6

* Improve readme, fix cyperss log msg

* v0.1.17

* v0.1.19

* v0.6.7

* v0.6.8

* Fix logo ref when in shell

* Fix lint issues

* Fix error in example

* Fix script to work on linux

* Add ability to revert moves without losing changes

* Fix bug with custom models in a plugin

* Fix build of UI packages

* Add dist-pkg to .eslintignore

* Pull out util from extend-router to prevent router being pulled in UI packages

* Update PLUGINS.md

* Remove duplicate dependency

* Reduce size of built UI packages

* Share codemirror. Other tidy ups

* Further improvements

* Tidy ups to support i18n in plugins

* Clen up add comments

* More clean-ups and comments added

* Rename from extension to plugin

* Missed file in rename

* v0.6.9

* TIdy ups following rename

* v0.1.20

* v0.1.21

* More refactor and tidy up

* v0.1.22

* v0.1.18

* v0.1.19

* v0.1.23

* v0.6.10

* Version Packages. Improve naming. Unload.

* v0.6.11

* v0.1.20

* v0.1.21

* v0.1.24

* v0.6.12

* v0.1.25

* v0.1.22

* v0.6.13

* Fix issues when plugin is builtin

* Add missing files

* Fix lint issues and watcher ignores

* Fixes following review

* v0.1.28

* v0.1.31

* v0.6.20

* Fix coer.js version

* Fix bug where plugins included via npm don't work

* Changes post merge

* Move plugins doc to dev guide, add note at top of README

* Update cypress version

* Add note about the reset --hard in rejig -d

* Fixes post merge

* Rename @ranch to @rancher and ad plugins

* Improve routes support, add package assets support

* Add uninstall hooks and pass interal opts

* Fix rejig script

* Minor fixes

* Routing tweaks
- attempted to improve `addRoutes` typing, failed a lot
- improved typings in plugins.ts
- added "@pkg/*" entry and vue-shim (for importing components) to the pkg creator
- fixed some linting
- safely fail when Verdaccio isn't running
- fixed some typos

* Remove frontmatter-markdown-loader reference from nuxt-config

* Revert "Remove frontmatter-markdown-loader reference from nuxt-config"

This reverts commit 29ef6f2f7b.

* Exclude creators from dashboard build

* Revert "Exclude creators from dashboard build"

This reverts commit 8ede93ee7c.

* Ingore creators via tsconfig
- We're still susceptible with vue shims in multiple packages
- Need to determine why packages can't use shim from route
- Probably need to move `./vue-shim.d.ts` in to `./shell`. Needs testing with a pkg that imports a component

* After rejig

Co-authored-by: Neil MacDougall <nmacdougall@suse.com>
Co-authored-by: Neil MacDougall <nwmac@users.noreply.github.com>
2022-05-10 10:04:02 +01:00