Skip to content

Workspace left panel auto-follow overrides manual panel selection #1973

Description

@Aias00

Chat2DB Edition

Chat2DB Community

Chat2DB Version

5.3.0

Deployment

Web

Operating System

macOS

Operating System Version

12

Database and Version

No response

Problem Summary

The Workspace left panel auto-follow behavior can override manual panel selection.

When the active workspace tab points to a database target, auto-follow selects the Data Browser panel. If the user manually switches to Files/Explorer, the layout effect can run again and switch the panel back to
Data Browser.

Steps to Reproduce

  1. Open a workspace tab that resolves to a database tree target.
  2. Ensure the left sidebar auto-follow behavior is enabled.
  3. Observe that the left panel selects Data Browser.
  4. Manually switch the left panel to Files/Explorer.
  5. Observe whether the panel immediately switches back to Data Browser.

Expected Behavior

Manual panel selection should remain authoritative for the current active workspace tab.

Auto-follow should apply again only when the active workspace tab changes.

Actual Behavior

The manual panel selection can be overwritten by auto-follow within the same active workspace tab.

The user may switch to Files/Explorer, but the panel immediately jumps back to Data Browser.

Logs

Screenshots or Additional Context

Related PR: #1969

Impact

Limited or cosmetic impact

Workaround

Disable active-tab auto-follow if available, or switch workspace tabs before selecting the desired left panel.

Submission Checklist

  • I reproduced this on the selected Chat2DB edition.
  • I searched existing issues for duplicates.
  • I removed credentials and private data.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions