Skip to content

[FIX] Sidebar Projects section scroll issue#8

Merged
martian56 merged 1 commit into
mainfrom
7-sidebar-projects-section-scroll-issue
Mar 8, 2026
Merged

[FIX] Sidebar Projects section scroll issue#8
martian56 merged 1 commit into
mainfrom
7-sidebar-projects-section-scroll-issue

Conversation

@martian56
Copy link
Copy Markdown
Member

This pull request makes layout improvements to the Sidebar component, specifically to enhance scrolling behavior and structure. The main change is to ensure that the main navigation, workspace, favorites, and projects sections are all contained within a single scrollable area, providing a better user experience.

Layout and scrolling improvements:

  • Wrapped the primary navigation, workspace, favorites, and projects sections in a single scrollable div to ensure these sections scroll together, improving usability and layout consistency. [1] [2]
  • Adjusted the projects section to remove redundant scrolling behavior, relying on the new parent scrollable container instead.

Closes #7

@martian56 martian56 added this to the Deadline milestone Mar 8, 2026
@martian56 martian56 self-assigned this Mar 8, 2026
@martian56 martian56 added the enhancement New feature or request label Mar 8, 2026
Copilot AI review requested due to automatic review settings March 8, 2026 10:23
@martian56 martian56 added the UI label Mar 8, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts the Sidebar layout to eliminate nested scrolling in the Projects section by consolidating sidebar sections into a single scrollable container.

Changes:

  • Introduces a parent overflow-y-auto container intended to scroll primary navigation, workspace, favorites, and projects together.
  • Removes the Projects section’s internal overflow-y-auto so it relies on the parent scroll container.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +361 to +362
{/* Scrollable area: primary nav, workspace, favorites, projects */}
<div className="flex min-h-0 flex-1 flex-col overflow-y-auto">
Copy link

Copilot AI Mar 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue #7 asks for the sidebar to scroll starting from the “New work item” button, but the new scrollable container starts after that section. As a result, “New work item”/Search remains fixed while the rest scrolls. If the intent is to fully address #7, move the scrollable wrapper up to include the “New work item + Search” block (or update the issue/PR description to clarify the intended behavior).

Copilot uses AI. Check for mistakes.
@martian56 martian56 merged commit a8f8a6c into main Mar 8, 2026
6 checks passed
@nazarli-shabnam
Copy link
Copy Markdown
Member

well done.

@martian56 martian56 deleted the 7-sidebar-projects-section-scroll-issue branch May 2, 2026 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request UI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sidebar Projects section scroll issue

3 participants