Commit Graph

14 Commits

Author SHA1 Message Date
Evgeniya Vashkevich 47ff3ddac6
[FEAT] Moved driver pages from Ember (#10557)
* [FEAT] Moved driver pages from Ember
2024-03-26 16:33:15 -07:00
codyrancher b0d2dcbeb4
Vue 3 Nuxtism Removal (#10533)
* Removing everything related to scrollTrigger.

The latest vue router seems to behave exactly as it does with the modified scrollBehavior so it can all be removed.

* Removing unused $nuxt.{suffixes} that I found
- routeChanged  (didn't find any watches of this event)
- nbFetching (The only place reading this was a computed property which wasn't used anywhere)

* Replace the use of Vue[installKey]

* Removing some ssr rehydration code since we're not doing ssr

* Remove the remaining $nuxt.$on,$off,$emit and replace with the use of our primary store which already had related code

* Replacing usages of the .$nuxt on vue instances with globalApp references

* Removing SSR dead code

* Fixing an issue where extensions could still be referencing window.$nuxt. This now provides a deprecation warning.

* Migrating another $nuxt over to the window.$globalApp

* Removed the usage of Vue.config.$nux

* Removed the usage of Vue.util.defineReactive

- Saw that the Nuxt component wasn't needed any longer so I removed it instead of trying to work around Vue.util.defineReactive

* Re-run missing check

---------

Co-authored-by: cnotv <giuseppe.leo@suse.com>
2024-03-11 18:38:25 +01:00
Cody Jackson 0cb47c5c97 Removal a small chunk of code that doesn't preform any authentication from the authenticated middleware 2024-02-21 14:53:23 -07:00
Cody Jackson 48e1b0b3bb Layout removal
fixes #10059
2024-01-22 06:30:17 -07:00
Alexandre Alves 541684f511
remove argument "ssrContext" from "createApp" function and it's subsequent calls (#10131)
* remove ssrcontext arg from createapp function

* remove all mentions to beforeRenderFns and ssrContext + bonus to remove another function related to ssr

---------

Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
2023-12-15 11:51:22 +00:00
Nancy 1bc97423d0
change getting started link to point ot rancher docs; remove no-longer-used /docs pages (#9794) 2023-09-27 13:26:28 -07:00
richa 4a2f55c664
Fixed navigation state (#9716) 2023-09-25 09:58:23 +02:00
codyrancher cc086ee953 Switch safemode to use the query param
Making this switch because using the path can lead to undefined routes and some confusion on wildcard routes.

https://github.com/rancher/dashboard/pull/9135#discussion_r1232391119
2023-07-09 09:07:42 -07:00
Richard Cox 859c157962 Two Build Related Tweaks
- Fix chunking for `pages/c/_cluster/settings/DefaultLinksEditor.vue`
- bundle css with pages, instead of as prefetched links in index.html
2023-06-01 14:22:08 +01:00
Richard Cox 541be75918 Fix router base
- build time env var was not passed through to where it was used in runtime
- resulted in RC builds looking for resources in `/` instead of `/dashboard`
2023-05-25 12:58:52 +01: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
Nancy 7f856985b5
fix role detail view webpackchunkname (#8487) 2023-03-21 09:39:52 -07:00
Nancy ce56fe6abd
fix router.js component paths (#8474) 2023-03-20 14:04:03 -07:00
Cody Jackson eecefff26a Moving the route files outside of the nuxt subfolder 2023-03-14 17:00:42 -07:00