Skip to content

[FEATURE]: Set dynamic document.title based on active page route #462

Open

Description

@Abhishek2005-ard

Feature and its Use Cases

Feature and its Use Cases

Currently, all pages in OrgExplorer retain the static title from index.html (OrgExplorer — GitHub Organization Analytics & Repository Insights). When navigating across tabs such as Overview, Repositories, Contributors, Network, Analytics, Governance, and Settings, the browser tab title does not update.

How users benefit:

  • Clearer tab navigation when working with multiple browser tabs.
  • Better accessibility for screen reader users when transitioning routes.
  • Standard single-page application UX.

Proposed Changes

Add a route-specific title update using a small hook or individual useEffect hooks across page components:

  • / → OrgExplorer — Home
  • /overview → Overview — OrgExplorer
  • /repositories → Repositories — OrgExplorer
  • /contributors → Contributors — OrgExplorer
  • /contributors/:username → {username} — Contributor Profile — OrgExplorer
  • /network → Network Graph — OrgExplorer
  • /analytics → Analytics — OrgExplorer
  • /governance → Governance Audit — OrgExplorer
  • /settings → Settings — OrgExplorer
  • /support-us → Support Us — OrgExplorer
  • * → 404 Not Found — OrgExplorer

Additional Context

Can be implemented directly via useEffect in each page or unified in a small custom hook / AppContent listener listening to useLocation().pathname.

Code of Conduct

  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates

Additional Context

No response

Code of Conduct

  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates

Activity

  1. gitcordapp commented on Nov 16, 2026

    @gitcordapp

    Link your account with Gitcord

    Thanks for opening this issue, @Abhishek2005-ard!

    To receive Discord notifications and contributor tracking for this organization:

    1. Join Discord: https://discord.gg/hjUhu33uAn
    2. In Discord, run /link Abhishek2005-ard
    3. Paste the verification code into your GitHub bio (or a public gist)
    4. Click Verify in Discord (or run /verify-link Abhishek2005-ard)

    Once linked, Gitcord can notify you about assignments, mentions, and more.

    — Posted by Gitcord

  2. 23241a6749 commented on Nov 19, 2026

    @23241a6749

    Hi @Abhishek2005-ard and @Ri1tik, I'd like to take this issue as my next OrgExplorer contribution. Are you already working on it, or would it be all right for me to proceed with the route-specific titles described above?

    I've checked the issue discussion and open PRs and haven't found another implementation. I'm setting aside my local #466 patch to avoid duplicating #468.

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions