Skip to content

[Hyperion] [FE] Resource Tabs state fixes #1158

@manish-agrawal-ai

Description

@manish-agrawal-ai

Checklist:

  • I've searched in the docs and FAQ for my answer
  • I've included steps to reproduce the bug.

Describe the bug

There are a few issues with Resource Tabs state,

  1. Resource tabs are maintaining initial/old inner tab selection when switching tabs
  2. Logs state leak across tabs - log's search state is not being maintained

To Reproduce

  1. Steps to reproduce Issue - 1
  • Go to Helm AppList (Applications)
  • Then select any app and go to the AppDetails page
  • Open the tab for Pod. E.g. Terminal
  • Select a different inner tab. E.g. If Terminal is opened initially then select Manifest.
  • Switch to a different tab. E.g. K8s Resources
  • Then go back to opened tab and observe - it displays the Manifest (inner tab) instead of the recently selected Logs inner tab.
  1. Steps to reproduce Issue - 2
  • Follow steps 1 to 3 from above or Switch to the Log Analyzer tab
  • Search for any term
  • After getting search/filtered results, switch to a different tab and switch back
  • Observe - search state is not being maintained

Expected behavior

  1. It should maintain the new/recent inner tab selection
  2. It shouldn't clear out the search state

Current behavior

As mentioned in the description.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions