Skip to content

UX: Add Collapsible Sidebar for Student Dashboard to Improve Screen Space Utilization #80

Description

@bhavishyaverma450

Description

The current student dashboard uses a fixed-width sidebar that remains expanded at all times. While functional, it occupies a significant portion of the screen, reducing the available space for the main dashboard content.

Introducing a collapsible sidebar would provide a cleaner, more modern interface and allow users to focus on the primary content area when navigation options are not needed.

To Reproduce

  1. Log in as a student.
  2. Navigate to the Student Dashboard.
  3. Observe the left sidebar navigation.
  4. Notice that the sidebar remains permanently expanded and occupies a large portion of the viewport.

Current Behavior

  • Sidebar is always expanded.
  • Dashboard content area has reduced horizontal space.
  • Users cannot hide or minimize the navigation panel.

Expected Behavior

  • Add a collapse/expand toggle button to the sidebar.
  • Users should be able to minimize the sidebar to an icon-only view.
  • The main content area should automatically expand when the sidebar is collapsed.
  • The sidebar state should remain consistent while navigating between dashboard pages.
Image

Suggested Implementation

  • Add a hamburger/menu toggle button near the sidebar header.

  • Support two states:

    • Expanded: Icons + labels visible.
    • Collapsed: Icons only.
  • Animate the transition smoothly for a modern user experience.

  • Ensure responsiveness across desktop and tablet devices.

Benefits

  • More screen space for dashboard content.
  • Cleaner and more minimal interface.
  • Improved usability on smaller screens.
  • Better alignment with modern dashboard design patterns.

Additional Context

Many modern dashboard applications (GitHub, Notion, Vercel, Linear, etc.) provide collapsible sidebars to maximize workspace area while keeping navigation easily accessible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions