You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Links in todo messages should be consistent, include repo info #178
The output of /github todo lists PRs, and assignments differs from that of Messages.
They should be consistent
They should include both the repo reference, and the PR title.
bonus: Unread messages should indicate if PR or Issue
Suggested format: [org/repo-last-token-ellipsis](repoURL)[PR/IssueID title](issueURL)
The repo name should be parsed, and shortened to its last word, with an ellipsis prepended if truncated. The title should probably be truncated at say 256 characters, just in case?
changed the title [-]PR links in todo should be consistent, include repo info[/-][+]Links in todo messages should be consistent, include repo info[/+]on Jan 21, 2020
Bonus Bonus: I will go on a limb and say that it may be useful to GROUP the messages/issues/PRs within the sections by repo (IF there is >1 issue/PR for that repo in the list).
@levb@asaadmahmood Curious if you think it would help to present the summary in a tabular format (1 table per section)? Then the repo/org is more clearly visible.
something like (sorry, can't be bothered to get this markdown right - not rendering):
Message
Org
Repo
Issue
Hey I think this thing could be positioned highe...
@levb In the suggested format [org/repo-last-token-ellipsis](repoURL)[PR/IssueID title](issueURL), if the title is going to be a hyperlink, isn't the PR/IssueID before it redundant?
If we want overall consistency at the cost of some redundancy, we can even use the format picked for unread messages and apply it in all other categories.
@checkaayush I like your suggestion. It may be a good idea to post this for discussing in the Plugin: GitHub channel on community - I expect more opinions on the matter.
@checkaayush I like your suggestion. It may be a good idea to post this for discussing in the Plugin: GitHub channel on community - I expect more opinions on the matter.
@checkaayush Agree with Lev, I will take any developer suggestions over mine :)
I'm going ahead with development as per my suggestion here: #178 (comment). Have posted the suggested format on Plugin: GitHub channel for comments from the community.
I'll extract the message formatting logic in a separate function so that changing (and testing) it as desired becomes trivial.
Activity
levb commentedon Jan 21, 2020
cc @aaronrothschild @asaadmahmood for copy/formatting suggestions
[-]PR links in todo should be consistent, include repo info[/-][+]Links in todo messages should be consistent, include repo info[/+]aaronrothschild commentedon Jan 21, 2020
Bonus Bonus: I will go on a limb and say that it may be useful to GROUP the messages/issues/PRs within the sections by repo (IF there is >1 issue/PR for that repo in the list).
@levb @asaadmahmood Curious if you think it would help to present the summary in a tabular format (1 table per section)? Then the repo/org is more clearly visible.
something like (sorry, can't be bothered to get this markdown right - not rendering):
levb commentedon Jan 21, 2020
-1 for tables, they consume too much space.
checkaayush commentedon Feb 9, 2020
I'd like to take this up.
levb commentedon Feb 12, 2020
@checkaayush go for it! A personal thank you if you get it done!
checkaayush commentedon Feb 12, 2020
@levb In the suggested format
[org/repo-last-token-ellipsis](repoURL)[PR/IssueID title](issueURL), if the title is going to be a hyperlink, isn't the PR/IssueID before it redundant?I'd like to suggest the following:
For unread messages:
[org/repo-last-token-ellipsis](repoURL) <type> [title](issueURL)<type>above will be eitherPRorIssueFor other categories:
[org/repo-last-token-ellipsis](repoURL) [title](issueURL)If we want overall consistency at the cost of some redundancy, we can even use the format picked for unread messages and apply it in all other categories.
Suggestions? @aaronrothschild
levb commentedon Feb 12, 2020
@checkaayush I like your suggestion. It may be a good idea to post this for discussing in the Plugin: GitHub channel on community - I expect more opinions on the matter.
aaronrothschild commentedon Feb 12, 2020
@checkaayush Agree with Lev, I will take any developer suggestions over mine :)
checkaayush commentedon Feb 13, 2020
I'm going ahead with development as per my suggestion here: #178 (comment). Have posted the suggested format on
Plugin: GitHubchannel for comments from the community.I'll extract the message formatting logic in a separate function so that changing (and testing) it as desired becomes trivial.
asaadmahmood commentedon Feb 13, 2020
I agree with @levb. Tables take too much space.
checkaayush commentedon Feb 16, 2020
Assumptions I'm making during development:
-.If any of the assumptions seem inappropriate, let me know.
Fix mattermost#178: Make links in todo messages consistent
Fix mattermost#178: Make links in todo messages consistent
Make links in todo messages consistent (mattermost#192)