sapling/addons/isl-server
Evan Krause a2c15fbdde Render draft PRs
Summary:
Now that we support passing `--draft`, we need to render diffs as drafts in the UI.

This diff adds support for showing draft github PRs.

We need to fetch `isDraft` in our graphql. For some reason, this isn't a PR `state`, even though it supercedes the OPEN state. So although we fetch it as `isDraft`, it's much more convenient in our code to treat it as another state.

Reviewed By: muirdm

Differential Revision: D44343542

fbshipit-source-id: 3cd324d44b6345da3e92e9a3f1ffccac3c8921eb
2023-03-23 22:01:15 -07:00
..
platform Standalone platform for Tauri app 2023-03-16 11:34:35 -07:00
proxy Standalone platform for Tauri app 2023-03-16 11:34:35 -07:00
src Render draft PRs 2023-03-23 22:01:15 -07:00
.gitignore Re-sync with internal repository 2022-11-15 00:48:09 -08:00
codegen.github.yml Re-sync with internal repository 2022-11-15 00:48:09 -08:00
codegen.js Re-sync with internal repository 2022-11-15 00:48:09 -08:00
jest.config.js Add tests for tracking 2023-01-25 15:10:27 -08:00
package.json Re-sync with internal repository 2022-11-15 00:48:09 -08:00
README.md Re-sync with internal repository 2022-11-15 00:48:09 -08:00
tsconfig.json Re-sync with internal repository 2022-11-15 00:48:09 -08:00
webpack.config.ts More defensive handling of previous server's challenge tokens 2023-01-26 20:00:28 -08:00

isl-server

This is the server-side code for Interactive Smartlog. It handles running commands and reporting information to the UI.

The server code is bundled with webpack directly into the entry points using it.

Currently, the only entry point for the server is proxy/run-proxy.ts, but other entry points in the future will include the vscode extension host.

See isl/README.md for more information.

graphql codegen

Types and queries used to interact with GitHub is generated using yarn codegen. Re-run this any time you change src/github/queries.