Commit Graph

22 Commits

Author SHA1 Message Date
Alexandre Alves cb7cb52dbe
add role 'none' to hr elements in TopLevelMenu (#14121)
* add role 'none' to hr elements in TopLevelMenu

* add missing role and label to SideNav

* add aria-label to show/hide button in the Password component

* add role 'none' to hr elements

* add missing alt to user avatar image
2025-04-16 10:23:38 +01:00
Alexandre Alves 51bdc529db
add key nav to sidenav (#13177) 2025-01-24 12:54:37 +00:00
andy.lee 9d54586cb7
update the logic to hide localeSelector in SideNav for harvester 2024-11-25 22:06:30 +08:00
Phillip Rak 479aa652d5 Replace all usages of `v-tooltip` with `v-clean-tooltip`
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-11-11 08:59:47 -07:00
Alexandre Alves 60026587c3 fixing tooltips and metions of tooltips and dropdowns wherever I could find them 2024-08-30 15:49:34 +01:00
Phillip Rak 7874da578f Fix slot syntax
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-08-22 16:09:54 -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
Phillip Rak b4d08bb704 Resolve compiler errors
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-08-22 16:05:36 -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 826f68fb8a
Remove version number from side nav and update app bar to show it instead (#11143)
* Tweaks

* Add automated tests

* Fix merge issue

* Fix lint issues
2024-06-03 09:51:03 +01:00
richa 88f7382e75
Added cluster tool link in cluster group nav section (#10034)
* Added cluster tool link in cluster group nav section

* Fixed text changes

* Fixed lint

* Updated rancher-icons and added brush icon to Customize Appearance button

* Fixed test for changed cluster tools link

* Update cluster-dashboard.po.ts

* Fix cluster tools button

* Fix e2e test and lint issues

* Fix when tools is shown and change to icon button

* Fix presentation issues

* Fix lint issues

* Fix merge issue

* Remove unused file

* Always show 'Customize Appearance'

* Fix unit test

* Fix e2e tests

---------

Co-authored-by: Neil MacDougall <nwmac@users.noreply.github.com>
Co-authored-by: Neil MacDougall <nmacdougall@suse.com>
2024-05-28 09:26:39 +01:00
Cody Jackson e205b568ee Updating <router-link> to no longer use the deprecated :tag property 2024-04-18 04:23:04 -07:00
Phillip Rak 6206f9763c
Merge pull request #10716 from rak-phillip/chore/remove-nuxt-link
Replace `nuxt-link` with `router-link`
2024-04-01 08:00:12 -07:00
Neil MacDougall f6c80b295f
Add root product to improve performance of nav change within inExplorer products (#10447)
* Fix race condition in loadCluster

* Revert new error and comments

* Improve navigation performance for products within the explorer product

* Remove unused getter

* Fix issue with not loading nwe cluster when changing clusters

* Fix bug where sidenav take a short time to update (was using queueUpdate)

* Fix lint issues

* Address PR feedback
2024-03-28 09:28:23 +00:00
Phillip Rak 7e703b4c74 Replace `nuxt-link` & `n-link` with `router-link`
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-03-27 14:04:17 -07:00
Richard Cox 47333bd19d Changes following review
- fix / update comments
- allNavLinksKey --> allNavLinksIds
- remove horrible `typeof this.type.count !== 'undefined'`
2024-02-09 15:47:33 +00:00
Richard Cox ffaffaf0bc Revert change to getGroups debounce, add comment 2024-02-09 15:47:33 +00:00
Richard Cox 48d5695359 Improve getGroups performances
- Improve performance of allTypes fn
  - This consumed the majority of time within getGroups
  - Reduced execution time by a half
  - Change from running allTypes products * modes times, run it once per product
- Reduce the amount of times getGroups is called
2024-02-09 15:47:33 +00:00
Cody Jackson 48e1b0b3bb Layout removal
fixes #10059
2024-01-22 06:30:17 -07:00
richa 7e540bac0c
Side nav visual bugs (#9671)
* Fixed spcaing, margin and bg color issue

* Fixed font size of navlinks resource

* Fixed nav left alignments
2023-09-11 15:23:00 +02:00
Alexandre Alves 61b4939890
Decouple SideNav from default layout (#9480)
* decouple SideNav from default layout

* address pr comments

* Move over root NAV styles

* Fix group scoped

---------

Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
Co-authored-by: Richard Cox <richard.cox@suse.com>
2023-08-22 16:32:46 +01:00