Commit Graph

13 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 5052c2a8e8 Enabling `vue/require-explicit-emits` linting rule
https://github.com/rancher/dashboard/issues/11961
2024-09-19 09:58:53 -07:00
Cody Jackson 9b829c55ea Ran `yarn lint --fix` 2024-08-22 16:05:36 -07: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
Neil MacDougall 3e41a64f80
Fix bug with dialog for pod deletion (#11307)
* Fix bug with dialog for pod deletion

* Fix merge issues

* Remove deletion hook, as the test actually deletes the pod
2024-07-01 17:20:28 +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
Neil MacDougall c614af2173
Plugins fixes and check GitHub action (#6370)
* Plugins fixes and check GitHub action

* Update check-plugins.yaml

* Update check-plugins.yaml

* Debug script

* Debug script

* Make sure verdaccio check does not fail script

* Allow errors when checking

* Fixes for CI

* Fix directory cleanup

* Debug

* Add yarn install for in-tree check

* Fix lint issues
2022-07-20 13:07:38 +01:00
Shavindra 7145f349ff
Set pod forceDelete false by default - #5549. (#6329) 2022-07-12 10:34:50 +01:00
Shavindra 64af20c2f7
Workload force delete - #5549 (#6133)
* Confirm cluster delete with cluster name.
* Update the prompt Remove.
2022-07-07 07:12:25 +01:00