Alexandre Alves
84c234383a
Fix textual descriptions for cluster appearance in multiple places ( #13416 )
...
* Fix textual descriptions for cluster appearance in multiple places
* address pr comments
* address pr comments
2025-02-24 09:00:54 +00:00
Phillip Rak
566111496d
Prevent activating shortkeys when modals are active
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-14 11:06:32 -07:00
Cody Jackson
a5ff16ef5f
Removing the templates/error template
...
This template was no longer being used and can now be removed as dead code.
Fixes https://github.com/rancher/dashboard/issues/11384
2024-11-25 23:54:34 -07:00
Cody Jackson
68be8d4bc0
Removing code that's no longer necessary around back-button usage
...
Fixes https://github.com/rancher/dashboard/issues/11274
2024-11-25 16:31:44 -07:00
Alexandre Alves
bc51a79005
apply some fixes for extensions logic in light of Vue3 migration
2024-09-30 18:11:13 +01:00
Jordon Leach
8e18f2e18c
ContainerShell window manager fixes ( #11973 )
...
* Remove border when terminal window is focused
Remove deep selector from non-scoped style
Migrate vue-resize library to vue3-resize
* Fix codeMirrorRef instance name
* Missing semicolon
2024-09-20 08:42:32 -04:00
Phillip Rak
2544999982
Merge pull request #11965 from rak-phillip/chore/remove-nuxt-components
...
Remove deprecated Nuxt components
2024-09-19 08:29:12 -07:00
Jordon Leach
d393508b80
Fix InstallCodeMirror export ( #11962 )
...
* Fix InstallCodeMirror export
* Bumping/pinning the version of codemirror-editor-vue3
---------
Co-authored-by: Cody Jackson <cody.jackson@suse.com>
2024-09-18 18:54:12 -04:00
Phillip Rak
e026b0c2cb
Remove deprecated `NuxtChild`
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-09-18 13:14:56 -07:00
Phillip Rak
e07e2d4b4d
Remove deprecated `NuxtLink`
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-09-18 13:14:34 -07:00
Phillip Rak
6302588e5e
Dead code removal: `globalHandleError()`
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-09-05 12:31:46 -07:00
Phillip Rak
9071eeabea
Remove `createApp()` from `entry-helper`
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-09-05 09:01:08 -07:00
momesgin
93a2294b12
Fix rendering raw html content ( #11764 )
...
* fix rendering string instead of html
* fix rendering raw html on tooltips by global configuration
* lint
---------
Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
2024-08-30 12:47:45 -07:00
Phillip Rak
f4103517c0
Merge pull request #11714 from rak-phillip/feature/9537-vue-js-modal
...
Remove `vue-js-modal` dependency
2024-08-26 19:45:17 -07:00
Phillip Rak
e41aa46f81
Remove `vue-js-modal` dependency
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-08-26 14:34:16 -07:00
Cody Jackson
959b64306a
Updating the shortkey plugin to work in vue3
...
I made this a local plugin because the replacement which has the same interface was emitting unnecessary console messages and a PR to fix has been open for over a year.
A partial fix for https://github.com/rancher/dashboard/issues/11459#issue-2413582956
2024-08-23 17:52:07 -07:00
Cody Jackson
1f6a726c9a
Getting a mostly functioning version of CodeMirror/YamlEditor
2024-08-22 16:09:55 -07:00
Cody Jackson
d47ce13f28
Fixed the remaining lint warnings and errors
...
The chart.test.ts is likely more broken now than it was. This can be fixed later.
2024-08-22 16:07:04 -07:00
Cody Jackson
1c67ceb6da
Fixing a couple conflicts after rebasing from master
2024-08-22 16:07:04 -07:00
Cody Jackson
014431a6fd
Fix a merge conflict where we weren't mounting the app properly
2024-08-22 16:07:03 -07:00
Phillip Rak
399696ae73
Upgrade `v-tooltip` to `floating-vue`
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-08-22 16:05:37 -07:00
Cody Jackson
07b07c4387
Fixing an issues I introduced and reverting back to using app context when doing the router replacement in our extendApp code
2024-08-22 16:05:37 -07:00
Phillip Rak
0c9361a024
render the login page
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-08-22 16:05:37 -07:00
Phillip Rak
53c38fa029
Return route meta from matched route
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-08-22 16:05:37 -07:00
Cody Jackson
0b2f8c61f6
hack n slash
2024-08-22 16:05:37 -07:00
Phillip Rak
48869fa982
Resolving router-related warnings
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
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
Giuseppe Leo
56f7893b89
Restore Harvester nuxt global vars in app init ( #11618 )
2024-08-09 15:45:29 +02:00
Giuseppe Leo
a2304f462e
Remove or replace all the @nuxt libraries ( #11302 )
...
* Update checkout to v4 and bump Node to 16
* Update GHA workflow migration paths
* Removed named exports from Vue files
* Move code outside of the Vue app element
* Remove @nuxtjs/eslint-config-typescript
* Remove @nuxt/types and @nuxt/typescript-build
* Fix import issue with http-proxy-middleware
* Replace @nuxtjs/axios with axios and axios-retry
* Remove @nuxtjs/webpack-profile
* Fix linting issues after Nuxt webpack removal
* Pin resolution for glob after rebase
* Update yarn.lock after rebase
* Fix issue with rancher-components
* Bump rancher-component GHA config to match rebase changes
* Generate yarn file
* Add dependency
* Remove nuxt global var in app template
* Pin version for babel/plugin-proposal-private-methods
2024-08-08 15:31:44 +02:00
Giuseppe Leo
d98ca6bd85
Remove Nuxt reference in extensions and creator ( #11420 )
...
* Remove nuxt commands
* Remove vsconfig nuxt mention
* Remove Nuxt path as unused
* Remove Nuxt
* Remove creator scripts
* Remove all the nuxt and nuxt.config references
* Restore existing comment about Nuxt
* Add dependency for check-plugin
* Add more missing dependencies
* Update to comments
* Correct comment based on PR review
2024-08-07 18:42:08 +02:00
Cody Jackson
44378368d8
Move server upgrade growl from app extended to the standard navigation guards
2024-08-01 14:37:17 -07:00
Cody Jackson
3dad3e8814
Removing the next render method
...
I noticed that we had a global `app` which appeared to be useless which led me to checking if the render method was doing anything. It doesn't appear to affect the rendering of our app so I remove dit.
2024-08-01 14:28:22 -07:00
Cody Jackson
d270d84b49
Moving the title navigation guard to be with the rest of our navigation guards
2024-08-01 14:28:22 -07:00
Cody Jackson
584650ca6b
Simplifying mountApp
...
Removing next() since we no longer make use of it from middleware.
Recognizing that the beforeEach call to render should be sufficient I removed the inline invocation.
2024-08-01 14:28:22 -07:00
Cody Jackson
47a2105d18
Removing dead code from entry
2024-08-01 14:28:22 -07:00
Cody Jackson
1cea6df626
Removing some unnecessary entry code
...
Primarily removing code we found wasn't needed and was getting in the way of vue3. Namely component validation and patching.
2024-08-01 14:28:22 -07:00
Cody Jackson
250b9ab0ee
Removing all of middleware merged from my other prs
2024-07-29 14:19:38 -07:00
codyrancher
380ece83a7
Merge pull request #11266 from codyrancher/final-countdown
...
Remove the remaining bits of the authenticated middleware
2024-07-26 13:44:16 -07:00
Phillip Rak
7b34ee44dd
Merge pull request #11354 from rak-phillip/feature/11321-cookie
...
Replace `cookie-universal-nuxt` dependency
2024-07-26 08:39:17 -07:00
Cody Jackson
fdf7018b7e
Removing the rest of authenticated middleware. Primarily cluster loading.
2024-07-10 11:23:42 -07:00
Richard
d88c454496
Handle harvester loading in a route guard to better handle the unauthenticated method. This is done by providing a 404 catch all page which is authenticated.
2024-07-09 07:56:14 -07:00
Francesco Torchia
7e0b79f0e8
Tirgger loading indicator on route change
...
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-07-09 11:24:35 +02:00
Francesco Torchia
f81865f7b9
Fix resolved route path
...
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-07-04 19:24:04 +02:00
Phillip Rak
2f7e63c43f
Rename `cookie-universal-nuxt` plugin to `cookie-universal`
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-07-03 14:41:22 -07:00
Cody Jackson
136aad1c45
Fixing harvester cluster page reload 404s
...
We were previously calling authenticated middleware to handle the loading of the harvester plugin. This will now explicitly do the loading instead of relying on the middleware.
This showed up again because of two factors. We were no longer executing the authenticated middlware because of our guards at the top and because the route.currentRoute.path was showing '/' instead of the full path.
2024-07-03 09:29:58 -07:00
Cody Jackson
396eed903a
A fix for i18n in harvester
...
This ensures we will always initialize i18n before each page load (in harvester case after the extension is loaded which adds new translations).
2024-07-03 08:02:10 -07:00
Giuseppe Leo
c36b071e40
Remove every reference to .nuxt global option ( #11265 )
...
* Remove unused rehydratation plugin
* Remove any reference to the .nuxt folders
* Remove globalApp nuxt and any reference or use case to nuxt.error
* Replace errors handling with existing fail-whale logic
2024-06-21 11:15:05 +02:00
Giuseppe Leo
1db3aade10
Clean and simplify Nuxt utility ( #11258 )
...
* Remove reassignment; Add meaningful variables and attributes names
* Move import logic to router
* Remove unused code and move single case to related files
* Simplify and merge functions
* Move error functions to its own util
* Fix linting issues
* Add comments and change names
* Remove nuxt util, merge logic to init entry helper
2024-06-18 11:06:49 +02:00
Cody Jackson
e5da676207
Making the call to i18n/init blocking to resolve a race condition
...
rancher/dashboard#11203
2024-06-12 16:29:38 -07:00
Cody Jackson
b81a1f8522
Extracted the authentication portion of the authenticated middleware into a navigation guard
2024-06-10 14:03:48 -07:00