sapling/addons
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
..
.tours Add code tours 2023-02-06 10:02:35 -08:00
.vscode Support debugging the isl server in vscode 2023-02-02 10:23:33 -08:00
eslint-rules Re-sync with internal repository 2022-11-15 00:48:09 -08:00
isl Render draft PRs 2023-03-23 22:01:15 -07:00
isl-server Render draft PRs 2023-03-23 22:01:15 -07:00
isl-standalone Standalone Tauri app 2023-03-16 11:34:35 -07:00
reviewstack reviewstack: fix parsing logic to hide stack info from PR body 2022-12-21 21:32:14 -08:00
reviewstack.dev reviewstack: include the screencast on the home page 2022-12-20 12:36:37 -08:00
shared Support arrow keys to change selected commit 2023-03-22 13:49:35 -07:00
textmate upgrade prettier to 2.7.1 2022-11-15 19:56:38 -08:00
vscode Support showing ISL in the sidebar 2023-03-17 10:25:10 -07:00
.eslintrc.js Fix vscode build script 2023-02-27 18:14:32 -08:00
.gitignore isl: ignore shared/coverage folder 2023-02-03 15:43:52 -08:00
.prettierignore Standalone Tauri app 2023-03-16 11:34:35 -07:00
.prettierrc Re-sync with internal repository 2022-11-15 00:48:09 -08:00
LICENSE Re-sync with internal repository 2022-11-15 00:48:09 -08:00
package.json Standalone Tauri app 2023-03-16 11:34:35 -07:00
removeInternalFiles.sh Script to remove internal files 2023-02-06 15:13:28 -08:00
verify-addons-folder.py Re-sync with internal repository 2022-11-15 00:48:09 -08:00
yarn.lock Standalone Tauri app 2023-03-16 11:34:35 -07:00