dotCMS / core

Headless/Hybrid Content Management System for Enterprises
http://dotcms.com
Other
860 stars 467 forks source link

[Site Browser] : Open folders get collapsed after moving away from portlet #26582

Closed jcastro-dotcms closed 9 months ago

jcastro-dotcms commented 11 months ago

Parent Issue

This worked before, but it's broken now.

Problem Statement

When you go into the Site > Browser portlet and click a few nested folders, dotCMS is not keeping track of the folders that you open up. Therefore, when you go to another portlet and go back to it, the previously open folders are all collapsed.

Steps to Reproduce

  1. Flush your browser's cache or use an Incognito Window.
  2. Log into the dotCMS back-end.
  3. Go directly into the Site > Browser portlet and expand/click the following folders: /application/vtl/activities/.
  4. Go to the Settings > Configuration portlet.
  5. Go back Site > Browser portlet.
  6. All folders are collapsed, which is wrong.

Acceptance Criteria

dotCMS must keep track of all expanded folders and the selected folder as well.

dotCMS Version

Latest master

Proposed Objective

Core Features

Proposed Priority

Priority 2 - Important

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

No response

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

If follow these steps, the issue is NOT reproducible:

  1. Log into dotCMS.
  2. Go to the Site > Templates portlet, and click any of the Theme links: travel or Landing Page.
  3. You're taken to the Site > Browser portlet as expected. Now go to any other portlet, for instance, Settings > Maintenance.
  4. Then, go back to the Site > Browser portlet.
  5. The theme folder is expanded, which is correct.

This means the logic works at some point, but it doesn't in specific scenarios.

Sub-Tasks & Estimates

No response

zJaaal commented 11 months ago

IQA PASSED

Now the folders remain open after navigating out of site browser

Screenshots

https://github.com/dotCMS/core/assets/63567962/0abe44a8-fc8d-45fd-a701-7380a544771e

josemejias11 commented 11 months ago

Approved: Tested on master_8a0c462_SNAPSHOT, Docker, macOS 13.0, FF v113.0

erickgonzalez commented 6 months ago

Only for 23.10 LTS