Skip to content

refactor: header used in "dashboard/*" should be a shared component #224

@MuKuL-DiXiT

Description

@MuKuL-DiXiT

Current Behavior

The navbar code appears to be duplicated across multiple sections of the project.
dashboard, dashboard/messages, dashboard/collaboration, etc
This makes changes harder to maintain and increases the chance of inconsistencies (e.g., tooltip behavior, icon updates).

Proposed Improvement

Extract the navbar into a separate, reusable React component (e.g., components/Navbar.jsx) and import it wherever needed.

Why This Is Valuable

Reduces code duplication
Simplifies future updates
Prevents inconsistencies across pages
Improves project structure and maintainability

Additional Context

I will ensure the navbar behaves consistently across views.

@Saahi30 I'd like to work on this if its approved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions