Skip to content

Starred active state not properly displayed in the sidebar under certain circumstances #12170

@anatrofimenko

Description

@anatrofimenko

Setup

  • Rancher version:
    Rancher | v2.8-4861032fa9ab90503d95fd563ef5a7baa331365e-head
    Dashboard | release-2.8.0 a738cf6
    Helm | v2.16.8-rancher2
    Machine | v0.15.0-rancher106

Component Version
Rancher v2.8-4861032fa9ab90503d95fd563ef5a7baa331365e-head
Dashboard release-2.8.0 a738cf6
Helm v2.16.8-rancher2
Machine v0.15.0-rancher106

  • Browser type & version: Google, Version 129.0.6668.70 (Official Build) (arm64)

Problem 1:
When navigating between items in the "Starred" submenu, the items do not consistently switch to the active blue color state. The issue is as follows:

  1. If "Workloads" is among the Starred items, it inherits the active blue state together with the "Starred" menu.
  2. When "Services" or any other item is added to the Starred menu and clicked, only that specific item (e.g., "Services") gets the active blue state, while the "Starred" menu does not reflect the same active state.

Attachments
Screenshot 2024-10-08 at 13 26 44
Screenshot 2024-10-08 at 13 27 16

Expected Behavior:

  • The active blue state should consistently be applied to the clicked submenu item only.

Problem 2
Description:
The "Workloads" item in the sidebar does not reflect the expected state change (highlighted in blue) when clicked or hovered. The issue occurs under the following conditions:

  • Click on a Cluster in the sidebar.
  • Click on "Workloads". The item does not switch to the active blue color state.

Expected Behavior:
The "Workloads" item should change to the active blue state when clicked. When Workloads are selected, Starred also becomes grey.

Attachments
https://www.loom.com/share/851afa1d575947c09deee8a87a1fa1cb?sid=a68dadfa-4228-4a04-961c-5c7ce273a2c4
Screenshot 2024-10-08 at 13 34 00

Steps to Reproduce:

  • Open the application and navigate to the sidebar.
  • Click on Cluster.
  • Click on the "Workloads" item in the sidebar.
  • Observe that the "Workloads" item does not switch to the active blue state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    QA/dev-automationIssues that engineers have written automation around so QA doesn't have look at thisarea/dashboardkind/bug

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions