exocore-docs / docs /editor /08-sidebar-github.md
ChoruYt's picture
Upload 151 files
dc2b30a verified
|
Raw
History Blame Contribute Delete
1.12 kB

08 — GitHub sidebar pane

GithubPane.tsx covers the full editor-side Git workflow: OAuth login, clone, push / pull, branch switching, staged-files diff view, and per-file revert. See the dedicated GitHub pane docs for the full feature matrix.

Screenshots

Desktop Mobile
08 — GitHub sidebar pane — desktop 08 — GitHub sidebar pane — mobile

What it does

  • OAuth happens through /exocore/api/access/github/start/callback; the resulting token is stored encrypted on the backend, not in localStorage.

  • All git operations are POSTed through /exocore/api/editor/github/* and shell out to git inside the project workspace.

  • The diff view is a Monaco DiffEditor reused by the file-history modal (frame 11).

    Source files

  • routes/editor/github.ts


    ← Back to the editor index.