Commit Graph

14 Commits

Author SHA1 Message Date
Alexandre Alves 6637583874
remove "process." mentions from Dashboard and adjust code (#10119)
* remove process.client and process.server mentions and adjust code

* fix a couple of missing conditions for process.server

* remove commented line

* remove process.static

* fix lint errors

* uncomment code

---------

Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
2023-12-13 08:41:26 +00:00
Evgeniya Vashkevich e2149a4798
[INT] Removed vue-meta library (#9952)
* [INT] Removed vue-meta library
2023-12-05 09:42:23 -08:00
Evgeniya Vashkevich 25618ad4a0
[INT] Replaced vue-clipboard2 library with clipboard-polyfill (#10072)
* [INT] Replaced vue-clipboard2 library with clipboard-polyfill
2023-11-30 16:31:35 -08:00
Neil MacDougall d5dccb4de4
Support "target=_blank" in A links via clean-html directive (#9928)
* Allow target=_blank on A tags through DOMPurify

* Remove unused params

* Fix lint issue

* Prevent directives from being overwritten

* Fix lint issues
2023-11-23 09:33:48 +00:00
Dai Yuzeng f2e0b6d304
Implement the directive of positive number (#9451) 2023-09-27 14:06:23 -07:00
Richard Cox f97025c647 Remove console output from diagnostic page
- Follows on from
  - https://github.com/rancher/dashboard/pull/6603
  - https://github.com/rancher/dashboard/pull/6700
- To track messages the console methods were overwritten
- When the console methods were called, we would track message and then call the original console method
- Output into the standard browser console window was broken though
  - the inline stack trace for all logs is the place where the original console method is called
  - this was always `console.js`
- This causes issues whilst in development but also for logs coming from customers
- Investigate ways around this, but couldn't find anything nice
- short term solution is to remove the feature
2023-09-08 13:38:33 +01:00
Richard Cox 8aef0252fe Remove process.x webpack config, add comments 2023-08-31 11:11:11 +01:00
Richard Cox 0245a8cb93 Merge remote-tracking branch 'upstream/master' into epinio/resolve-conflicts-with-master 2023-06-23 18:00:14 +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
Richard Cox 1f17d72da0 Fix favicon
- fix for isSingleProduct
  - two link elements on page, we set the second one, browser showed first one
- not sure why this worked in normal mode
  - two link elements on page, we set the second one, browser showed second one
2023-06-02 18:25:45 +01:00
Richard Cox a5d3b32322 Lint fixes 2023-06-02 14:43:29 +01:00
Richard Cox 21e2267bd2 Fixes following merge 2023-05-25 17:00:16 +01:00
Phillip Rak 93be844701 Create a `v-clean-tooltip` directive
Update `VCleanTooltip`
Only purify if `value.content` is string

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2023-05-18 15:39:14 -07:00
Cody Jackson 487cf0d6a4 Migrating all of the files out of the nuxt directory into reasonable places within shell 2023-04-20 11:56:58 +02:00