Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit Mode: Tab Selection Resets After Action, Does Not Persist Current Tab #31232

Closed
hmoreras opened this issue Jan 27, 2025 · 3 comments · Fixed by #31289 or #31410
Closed

Edit Mode: Tab Selection Resets After Action, Does Not Persist Current Tab #31232

hmoreras opened this issue Jan 27, 2025 · 3 comments · Fixed by #31289 or #31410

Comments

@hmoreras
Copy link
Contributor

Parent Issue

#31212

Problem Statement

In the edit mode, after executing any action, the tab selection resets to the first tab instead of maintaining the current tab. This disrupts the user experience, especially when working across multiple tabs.

Steps to Reproduce

  1. Open the edit mode of any content item with multiple tabs.
  2. Navigate to a tab other than the first one (e.g., "Tab1" or "Tab2").
  3. Perform an action (e.g., saving the content or triggering a workflow action).
  4. Observe that the interface resets to the first tab instead of maintaining the selected tab.

Acceptance Criteria

  • The selected tab should persist after performing an action.
  • LocalStorage or sessionStorage should be used to remember the last selected tab for the duration of the session or until manually changed by the user.

dotCMS Version

latest

Proposed Objective

User Experience

Proposed Priority

Priority 3 - Average

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

Screenshare.-.2025-01-26.7_29_31.PM.mp4

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

@hmoreras hmoreras moved this from New to Next 1-3 Sprints in dotCMS - Product Planning Jan 28, 2025
@oidacra oidacra moved this from Next 1-3 Sprints to In Progress in dotCMS - Product Planning Feb 3, 2025
@oidacra oidacra linked a pull request Feb 3, 2025 that will close this issue
3 tasks
@oidacra oidacra moved this from In Progress to In Review in dotCMS - Product Planning Feb 10, 2025
@github-project-automation github-project-automation bot moved this from In Review to Done in dotCMS - Product Planning Feb 10, 2025
@oidacra oidacra self-assigned this Feb 11, 2025
@oidacra oidacra moved this from Done to Internal QA in dotCMS - Product Planning Feb 11, 2025
@oidacra oidacra reopened this Feb 11, 2025
@github-project-automation github-project-automation bot moved this from Internal QA to Current Sprint Backlog in dotCMS - Product Planning Feb 11, 2025
@oidacra oidacra moved this from Current Sprint Backlog to Internal QA in dotCMS - Product Planning Feb 11, 2025
@hmoreras hmoreras self-assigned this Feb 11, 2025
@hmoreras
Copy link
Contributor Author

Needs some work:

We are keeping in local storage the tab when the user save, so if the user switch to other content even if the type is different, the edit mode opens in the second tab.

Based on current behavior, we should keep the tab when the user save, but if open a new content should load the first tab.

Screenshare.-.2025-02-13.9_58_25.AM.mp4

@hmoreras hmoreras moved this from QA to Current Sprint Backlog in dotCMS - Product Planning Feb 13, 2025
@oidacra oidacra moved this from Current Sprint Backlog to In Progress in dotCMS - Product Planning Feb 13, 2025
Copy link

@hmoreras
Copy link
Contributor Author

Pass internal QA, the tabs stays after executing an action and even when moving between languages.

Screenshare.-.2025-02-24.4_18_51.PM.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment