Overview
The Github components lets users view various aspects of github information.
Available components
The Stoked UI Github package exposes four components:
Github Calendar
import { GithubCalendar } from '@stoked-ui/github/GithubCalendar';
The Github Calendar component is built on top of the react-github-calendar component.
Github Events
import { GithubEvents } from '@stoked-ui/github/GithubEvents';
The Github Events component displays and provides access to a given user's recent github events:
brian-stoker's Events
Date All time | Repository | Type | |
|---|---|---|---|
Github Commit
import { GithubCommit } from '@stoked-ui/github/GithubCommit';
The Github Commit component renders a single commit view with the contributor, commit message, changed files, and a minimal diff:
Simple static example:
Contributor
brian-stoker
Brian Stokeradd other tracks to demo video
Brian Stoker committed 2024-09-18T18:33:59Z
Github Branch
import { GithubBranch } from '@stoked-ui/github/GithubBranch';
The Github Branch component compares a branch to its base branch and highlights contributors, commits, changed files, and a minimal diff:
Simple static example:
bug/fixAutoDeploySite
Comparing against main. 1 ahead, 380 behind, 1 commit in the comparison.
Contributors
brian-stoker
Brian Stokeradd other tracks to demo video
Brian Stoker committed 2024-09-18T18:33:59Z