How divesh-kumar-chordia/gitpulse-dashboard works
GitPulse is a React dashboard for GitHub organization activity, code search, and file history, with OAuth or PAT authentication. The main workflow is configuring credentials and an organization, loading GitHub data, then filtering and exploring activity in dashboard views. Separate team analytics and repository excavation expand that workflow. The README documents OAuth token exchange and GitHub search; source excerpts show the app loading activity and mounting views. Unsampled feature internals are represented by their exact component paths, with only documented or indexed relationships drawn.
Main entry points: App.jsx Dashboard app · TeamMembersSection.jsx Team member view · TeamReposSection.jsx Team repository view · activities.js Activity fetchers
Components 24
Authentication
- Credential setup
src/components/SetupModal.jsx - OAuth login
api/auth/login.js - OAuth exchange
api/auth/callback.js
GitHub data
- Activity fetchers
src/api/github/activities.js - GitHub API helpers
src/api/github.js - Team fetchers
src/api/github/teams.js
Activity dashboard
- Dashboard app
src/App.jsx - Activity filters
src/components/Sidebar.jsx - Activity timeline
src/components/Timeline.jsx - Activity heatmap
src/components/HeatMap.jsx - Activity statistics
src/components/StatsBar.jsx
Code exploration
- File history
src/components/FileHistory.jsx - File tree
src/components/FileTree.jsx - Code search
src/components/CodeSearch.jsx
Team analytics
- Teams dashboard
src/components/TeamsDashboard.jsx - Team member view
src/components/teams/TeamMembersSection.jsx - Team repository view
src/components/teams/TeamReposSection.jsx - Team activity feed
src/components/teams/ActivityFeed.jsx - Member profile
src/components/teams/MemberProfile.jsx - Leaderboard
src/components/teams/Leaderboard.jsx - Team heatmap
src/components/teams/Heatmap.jsx - Team statistics
src/components/teams/StatsCards.jsx
Other components
- GitHub user
- GitHub API
Connections 37
- GitHub user → Credential setup: configures
- GitHub user → OAuth login: starts login
README.md - OAuth login → GitHub API: authorizes
README.md - OAuth exchange → GitHub API: exchanges token
README.md - GitHub user → OAuth exchange: returns from OAuth
README.md - Credential setup → Dashboard app: provides config
src/App.jsx - Dashboard app → GitHub API helpers: loads repositories
src/App.jsx - Dashboard app → Activity fetchers: loads activities
src/App.jsx - GitHub API helpers → GitHub API: requests data
src/api/github.js - Activity fetchers → GitHub API: requests events
src/api/github/activities.js - Team fetchers → GitHub API: requests team data
src/api/github/teams.js - Dashboard app → Activity filters: renders
src/App.jsx - Dashboard app → Activity timeline: renders
src/App.jsx - Dashboard app → Activity heatmap: renders
src/App.jsx - Dashboard app → Activity statistics: renders
src/App.jsx - Dashboard app → File history: renders
src/App.jsx - Dashboard app → Code search: renders
src/App.jsx - File history → GitHub API helpers: queries history
src/components/FileHistory.jsx - File history → File tree: renders
src/components/FileHistory.jsx - Code search → GitHub API helpers: searches code
src/components/CodeSearch.jsx - Code search → File tree: renders
src/components/CodeSearch.jsx - Dashboard app → Teams dashboard: renders
src/App.jsx - Teams dashboard → Team fetchers: loads team data
src/components/TeamsDashboard.jsx - Teams dashboard → Team member view: renders
src/components/TeamsDashboard.jsx - Teams dashboard → Team repository view: renders
src/components/TeamsDashboard.jsx - Team member view → Activity fetchers: fetches member activity
src/components/teams/TeamMembersSection.jsx - Team repository view → Activity fetchers: fetches repository activity
src/components/teams/TeamReposSection.jsx - Team member view → Team activity feed: renders
src/components/teams/TeamMembersSection.jsx - Team member view → Leaderboard: renders
src/components/teams/TeamMembersSection.jsx - Team member view → Team heatmap: renders
src/components/teams/TeamMembersSection.jsx - Team member view → Team statistics: renders
src/components/teams/TeamMembersSection.jsx - Team repository view → Team activity feed: renders
src/components/teams/TeamReposSection.jsx - Team repository view → Leaderboard: renders
src/components/teams/TeamReposSection.jsx - Team repository view → Team heatmap: renders
src/components/teams/TeamReposSection.jsx - Team repository view → Team statistics: renders
src/components/teams/TeamReposSection.jsx - Member profile → Activity fetchers: loads activity
src/components/teams/MemberProfile.jsx - Team activity feed → Activity fetchers: loads commit details
src/components/teams/ActivityFeed.jsx