mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 14:58:03 +03:00
a2c15fbdde
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 |
||
---|---|---|
.. | ||
platform | ||
proxy | ||
src | ||
.gitignore | ||
codegen.github.yml | ||
codegen.js | ||
jest.config.js | ||
package.json | ||
README.md | ||
tsconfig.json | ||
webpack.config.ts |
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
.