Commit Graph

12 Commits

Author SHA1 Message Date
Francesco Torchia f3ce68a2f4
Restore resourceNames util for extensions compatibility (#13874)
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-03-27 11:17:51 +00:00
Francesco Torchia fab51d0be3
Delete message, list of items refactoring:
- Remove plusMore from dialogs and use a default one
- Fix double and string in resourceNames
- Fix pods remove dialog

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2025-02-25 11:20:00 +01:00
Cody Jackson d5ce4fff2e Run the vue3 migration script
Commands run:

➤ yarn migrate
➤ git clean -fdx
➤ nvm use 20
➤ yarn
2024-08-22 16:05:36 -07:00
Alexandre Alves a731478d20
Revert "update logic to have option for cluster member to delete a project without deleting the namespaces associated (#9594)" (#9938)
This reverts commit 42ab4d320d.
2023-10-17 17:43:37 +01:00
Alexandre Alves 42ab4d320d
update logic to have option for cluster member to delete a project without deleting the namespaces associated (#9594)
Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
2023-08-30 11:10:09 +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
Phillip Rak 7cecbc0f62 Replace all instances of `v-html` with `v-clean-html`
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2023-03-22 08:30:15 -07: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
Nancy Butler 506934acfd force user to delete all ns in project if they cant see ns outside of projects
rm unused class
2022-08-05 16:17:31 -07:00
Neil MacDougall 8393d38949
FIx bug where deleting project on its own did not work (#6456) 2022-07-22 14:19:44 +01:00
Neil MacDougall 8907c6a1d3
Project delete namespaces (#6279)
* custom promptremove component for project and namespace remove

* Fix lin t

* Two tweaks
- Align
  - createnamespace button with ns age column
  - project action button with ns action button column
- Require confirmation to delete a project to match deleting a namespace

* Address PR feedback

Co-authored-by: Neill Somerville <neill.somerville@gmail.com>
Co-authored-by: Richard Cox <richard.cox@suse.com>
2022-07-20 16:16:52 +01:00