Repository navigation
Make links in todo messages consistent - #192
Conversation
Check for labels when validating features
| {Full: "", BaseURL: "", ExpectedOwner: "", ExpectedRepo: ""}, | ||
| {Full: "mattermost/mattermost/invalid_repo_url", BaseURL: "", ExpectedOwner: "", ExpectedRepo: ""}, | ||
| {Full: "https://github.com/mattermost/mattermost/invalid_repo_url", BaseURL: "", ExpectedOwner: "", ExpectedRepo: ""}, | ||
| {Full: "mattermost/mattermost/invalid_repo_url", BaseURL: "", ExpectedOwner: "mattermost", ExpectedRepo: "mattermost"}, |
There was a problem hiding this comment.
0/5 would be awesome to add tests for ... shortening
There was a problem hiding this comment.
Are you suggesting something like this:
{Full: "mattermost/...server", BaseURL: "", ExpectedOwner: "mattermost", ExpectedRepo: "...server"},
|
Thanks for the submission, @checkaayush! I deployed your branch locally and will paste my
|
|
@aaronrothschild, @levb - what do y'all think about condensing the Examples Unread MessagesYou have 2 unread Messages:Review RequestsYou ahve 10 pull requests awaiting your review: |
jfrerich
left a comment
There was a problem hiding this comment.
Looks great, @checkaayush! I left some comments regarding formatting changes.
Made the suggested changes. Also, +1 for the idea of condensing header message and sub-messages. It looks way cleaner that way. |
|
Thanks, @checkaayush! For reference, I've updated to your commit and here is the result on my GH account |
|
@checkaayush, there are several items I think need feedback from @levb and @aaronrothschild. I like your implementation, but from a UI/UX, I think we are still a bit lacking. Perhaps this is for another ticket too. You don't need to implement these right now, but I would like to get feedback while in this ticket.
This is very subjective, but maybe we can get a quorum in this ticket. What do you think, @checkaayush? |
Hmm, great input. How about we get rid of the sub-message, combine entries for the same repo together and sort them in descending order of number of items? No need to abridge repo names with ellipsis. For example, the Review Requests section might look like this: Review Requests |
|
Thanks @checkaayush One minor change: Review Requests (11)
|
|
@levb How do you feel about the suggested changes? Should I go ahead with them? |
|
@checkaayush, I was on vacation since last Thursday, but back today. I Like your proposed changes for several reasons:
If you also implement the changes suggest by @aaronrothschild, I believe this format is a winner! Thank you so much for the new implementation. |
levb
left a comment
There was a problem hiding this comment.
@checkaayush great stuff, love it.
A personal preference would be to keep the PR # in the title, maybe "#231 the PR headline". @aaronrothschild ?
| {Full: "", BaseURL: "", ExpectedOwner: "", ExpectedRepo: ""}, | ||
| {Full: "mattermost/mattermost/invalid_repo_url", BaseURL: "", ExpectedOwner: "", ExpectedRepo: ""}, | ||
| {Full: "https://github.com/mattermost/mattermost/invalid_repo_url", BaseURL: "", ExpectedOwner: "", ExpectedRepo: ""}, | ||
| {Full: "mattermost/mattermost/invalid_repo_url", BaseURL: "", ExpectedOwner: "mattermost", ExpectedRepo: "mattermost"}, |
…/mattermost-plugin-github into consistentTodoLinks
|
DHaussermann
left a comment
There was a problem hiding this comment.
Tested and passed
- Checked Unread Messages, Review Requests, Open Pull Requests and Assignments
- Display is consistent and repo is visible
- No issues found
LGTM!
Thanks @checkaayush for this improvement!
|
/update-branch |
Codecov Report
@@ Coverage Diff @@
## master #192 +/- ##
==========================================
+ Coverage 16.00% 16.43% +0.42%
==========================================
Files 10 10
Lines 2181 2197 +16
==========================================
+ Hits 349 361 +12
- Misses 1820 1824 +4
Partials 12 12
Continue to review full report at Codecov.
|
|
Welcome back from your vacation, @checkaayush! I hope you had a great time. @levb has already approved, so I think you have successfully completed the PR request. 🎉 Pinging @aaronrothschild for final review |
|
@aaronrothschild Any objections on merge this PR as it is? |
#192) * Revert "Update main.go (#154)" This reverts commit be4a281d0cc791d10e6e5ae917b325b2f054e475. * Revert "[MM-33506] Use embed package to include plugin manifest (#145)" This reverts commit ca9ee3c17c6920a636a33f378e17395afd6f329f. * Revert "Don't generate manifest.ts (#127)" This reverts commit 18d30b50bc7ba800c9f05bfd82970781db0aea3e. * install-go-tools target, adopt gotestsum * bring back make apply + automatic versioning * Update build/manifest/main.go Co-authored-by: Michael Kochell <[email protected]> * suppress git describe error when no tags match * make version/release notes opt-in * fix whitespace in Makefile * document version management options --------- Co-authored-by: Michael Kochell <[email protected]>
* Make use of github.com/mattermost/mattermost/server/public * [MM-36] Update plugin with respect to phase 1 upgrades * [MM-36] Update makefile command for testcases * Sync with playbooks: install-go-tools, gotestsum, and dynamic versions (#192) * Revert "Update main.go (#154)" This reverts commit be4a281d0cc791d10e6e5ae917b325b2f054e475. * Revert "[MM-33506] Use embed package to include plugin manifest (#145)" This reverts commit ca9ee3c17c6920a636a33f378e17395afd6f329f. * Revert "Don't generate manifest.ts (#127)" This reverts commit 18d30b50bc7ba800c9f05bfd82970781db0aea3e. * install-go-tools target, adopt gotestsum * bring back make apply + automatic versioning * Update build/manifest/main.go Co-authored-by: Michael Kochell <[email protected]> * suppress git describe error when no tags match * make version/release notes opt-in * fix whitespace in Makefile * document version management options --------- Co-authored-by: Michael Kochell <[email protected]> * Fetch plugin logs from server (#193) Co-authored-by: Jesse Hallam <[email protected]> * [MM-36] Update plugin.json file --------- Co-authored-by: Ben Schumacher <[email protected]> Co-authored-by: Mattermost Build <[email protected]> Co-authored-by: Jesse Hallam <[email protected]> Co-authored-by: Michael Kochell <[email protected]>



Summary
Makes links in todo messages consistent.
For unread messages:
[org/repo-last-token-ellipsis](repoURL) <type> [title](issueURL)<type>above will be eitherPullRequestorIssueFor other categories:
[org/repo-last-token-ellipsis](repoURL) [title](issueURL)Issue Link
#178