@orz/ui
StartGuidelinesDemosStorybook
/
  1. Demos
  2. Repository

.github / workflows
config
dist, Ignored
docs, Contains changes
recordings
scripts
src, Contains changes
test / fixtures / media
.env.local, UntrackedU
.gitignore
LICENSE
package.json
README.md, ModifiedM
  1. fetch-kit
  • .github
  • config
  • dist, Ignored
  • docs, Contains changes
  • recordings
  • scripts
  • src, Contains changes
  • test
  • .env.local, UntrackedU
  • .gitignore
  • LICENSE
  • package.json
  • README.md, ModifiedM

A repository's working tree in a code-hosting app: its files in a tree marked with what git says of each, a filter that hides, opens or closes folders around the matches, and the file or folder picked beside it, a changed file with its diff a click away.

Guidelines shown here

  • Navigation

    The files are a FileTree, each file and folder a link to its path, so a middle click opens it in a new tab and a reload stays on it. The path above the file links each folder on the way. Type retry in the filter, then switch the filter mode from the menu beside it: Hide other files keeps the matches, Open folders with matches keeps every row, and Close other folders opens only the matches' folders.

  • Color

    A changed file's name and letter take the status colour, and the letter says it without the colour: M for README.md, A for src/retry.ts, D for docs/old-guide.md, struck through.

  • Loading, empty & error

    Open scripts/ for an empty folder, docs/old-guide.md for a file deleted from disk, and filter for a word no path holds.

  • Comparing images

    docs/assets/settings.svg changed in the working tree: its Changes view sets the committed version beside the one on disk, and a click on either opens both in the viewer at one zoom.

  • Touch & mobile

    On a phone the tree fills the screen; a file or folder replaces it, with a link back to the files at the top.

Components

  • ui · EmptyState
  • ui · FileTree
  • ui · Badge
  • ui · Breadcrumb
  • ui · DropdownMenu
  • ui · Input
  • ui · List
  • ui · NavList
  • ui · Pane
  • ui · SegmentedControl
  • ui · Skeleton
  • ui · Toaster
  • ui · Tooltip
  • ui · SelectionBar
  • ui · Toolbar
  • ui-asciinema · Content
  • ui-code · Content
  • ui-content · Content
  • ui-content · MediaCompare
  • ui-hex · Content
  • ui-markdown · Content