rista404
fab18ed4a9
Show awaiting triage when project col is empty
2020-04-25 22:57:03 +02:00
Mislav Marohnić
d14b5d3e2c
Merge pull request #764 from cli/pr-view-docs
...
Improve `issue/pr/repo view` documentation
2020-04-09 19:12:34 +02:00
Toshiya Doi
6d0e5bf2b8
Remove Participants related codes for pr view`
2020-04-10 01:02:51 +09:00
Mislav Marohnić
d1754b2bb0
Improve issue/pr/repo view documentation
...
- Short-form docs for `pr/repo view` no longer say "in browser"
- Long-form docs for all these commands now list more information about
what will be displayed in the terminal, plus stressing out the
alternate behavior with the `--web` flag.
- `--web` flag docs: add English articles
2020-04-08 12:04:39 +02:00
Toshiya Doi
542314a9c3
Omit participants metadata from pr view
2020-04-08 14:53:23 +09:00
Toshiya Doi
d5bff70259
Clean up unnecessary fmt.Sprintf
2020-04-04 15:09:22 +09:00
Toshiya Doi
0cb6890c74
Print pr metadata in CLI preview
2020-04-04 13:09:34 +09:00
Toshiya Doi
4c2f15fe37
Roll back the place of colorFuncForState
2020-04-02 23:58:28 +09:00
Toshiya Doi
0095fe9a13
Merge branch 'master' into view-the-current-state
2020-04-02 23:52:41 +09:00
vilmibm
44acdd4ec3
Merge branch 'master' into pr-status-no-commits
2020-03-30 12:04:02 -05:00
Mislav Marohnić
beb0a6a322
Merge pull request #683 from cli/pr-status-unicode
...
Add unicode to pr status
2020-03-26 13:30:26 +01:00
vilmibm
f4b8851011
Merge remote-tracking branch 'origin/master' into pr-status-no-commits
2020-03-25 12:00:58 -05:00
Nate Smith
e4b8ae0ec4
Merge pull request #665 from cli/preview-default
...
switch {pr,issue} view default
2020-03-25 11:32:46 -05:00
Toshiya Doi
7d42f46cda
Merge branch 'master' into view-the-current-state
2020-03-25 22:46:12 +09:00
Mislav Marohnić
88cbcc9ec5
Merge remote-tracking branch 'origin/master' into pr-status-unicode
2020-03-25 09:06:27 +01:00
Mislav Marohnić
11327030e7
Tweak whitespace printing in pr status
2020-03-25 09:05:51 +01:00
Amanda Pinsker
7c73cf88ae
Remove formatting from Fprint
...
Co-Authored-By: Mislav Marohnić <mislav@github.com>
2020-03-24 15:01:21 -07:00
Nate Smith
f2e5269158
Merge pull request #694 from cli/respect-b
...
respect -B when checking for existing pull requests
2020-03-24 15:14:28 -05:00
vilmibm
121173c330
better error reporting + catch for empty repo
2020-03-23 15:21:58 -05:00
vilmibm
2895252e3b
respect -B when checking for existing pull requests
2020-03-23 14:26:31 -05:00
Mislav Marohnić
9786498a25
Respect base repository when passing URL argument to pr checkout/view
...
Previously, the repository owner+name component of the URL was ignored
and only the pull request number was read. Now, the URL dictates which
base repository will be used.
2020-03-20 18:06:40 +01:00
Toshiya Doi
0ba0a0757d
Merge branch 'master' into view-the-current-state
2020-03-20 18:16:47 +09:00
Amanda Pinsker
57942fcaf8
Add unicode for merge states back in
2020-03-19 13:30:35 -07:00
Amanda Pinsker
be7ffe3099
Tweak unicode some more
2020-03-19 13:16:00 -07:00
Amanda Pinsker
ef17aa520d
Add unicode to pr status
2020-03-19 10:33:34 -07:00
Nate Smith
51eb2cb345
Merge branch 'master' into pr-count
2020-03-18 09:26:05 -07:00
Mislav Marohnić
a40fb04fc3
Allow pr status use when on detached HEAD
2020-03-18 14:14:45 +01:00
Mislav Marohnić
bec667964c
Allow pr status -R <repo> usage from outside of a git repo
2020-03-18 14:13:17 +01:00
Toshiya Doi
e50ba549d8
Rename OPEN state to Draft for a Draft PR
2020-03-18 09:55:47 +09:00
Toshiya Doi
0cfa4be86a
Add tests for utilities of PR/issue state format
2020-03-18 07:30:28 +09:00
vilmibm
e4b43b08b9
update usage text
2020-03-17 17:13:48 -05:00
vilmibm
c30b482bf0
switch defaults for pr view
2020-03-17 17:06:42 -05:00
Toshiya Doi
46a632c8f6
Fix utility function scopes
2020-03-18 04:52:03 +09:00
Toshiya Doi
9a6026e9fc
Format PR/Issue states with color
2020-03-16 04:32:41 +09:00
Toshiya Doi
b8edb9f62d
Show the PR state for viewing PRs in CLI
2020-03-16 02:41:02 +09:00
Toshiya Doi
faa4bed67a
Move colorFuncForState for a PR/issue state to the utils package
2020-03-16 02:32:11 +09:00
UmairShahzad
f51669e228
Merge remote-tracking branch 'origin/master' into pr-count
2020-03-14 19:02:51 +05:00
Toshiya Doi
4c4aeb5ec6
Return the latest PR belonging to the current branch
2020-03-13 09:49:20 +09:00
Toshiya Doi
bc27ba2a75
Only show the most recent PR for the current branch
2020-03-13 00:25:17 +09:00
rista404
e803470b03
Print merged/closed in the same line as PR title
2020-03-10 20:56:45 +01:00
rista404
e739d95c93
Show state instead of checks for closed/merged PRs
2020-03-09 23:59:34 +01:00
Mislav Marohnić
3d48d40b69
Simplify getTitle and rename it to listHeader
2020-03-05 13:08:21 +01:00
Mislav Marohnić
1ba577ca36
Merge remote-tracking branch 'origin/master' into pr-count
2020-03-05 12:31:05 +01:00
Mislav Marohnić
a73880f5dd
Merge pull request #567 from cli/pr-selector-base
...
Fix detecting PR for current branch pushed to fork
2020-03-03 22:02:21 +01:00
UmairShahzad
945d4ffb55
Merge branch 'master' of https://github.com/cli/cli into pr-count
2020-03-04 00:09:35 +05:00
Nate Smith
fdf940eeba
Merge pull request #530 from doi-t/issue-467
...
Ability to differentiate pull requests by their state
2020-03-02 16:12:55 -06:00
Mislav Marohnić
201217d88a
Fix detecting PR for current branch pushed to fork
...
Now passing base repo as reference to `prSelectorForCurrentBranch()` so
that it doesn't have to (inexactly) determine the base repo itself and
risk it being different than the base repo determined during `pr
status/view`.
2020-03-02 11:35:20 +01:00
Mislav Marohnić
adf2177a24
Merge pull request #474 from politas/fix/StripHash
...
Handle properly passed #<num> as equivalent to <num> for PRs and Issues
2020-02-27 12:15:00 +01:00
Myk
038e5e5342
Accept #<num> syntax as issue/PR number
2020-02-27 12:11:49 +01:00
UmairShahzad
3c687ed111
moved getTitle to common; changed title string
2020-02-27 00:57:42 +05:00