You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
赵智超 1b86f174ce
Add a way to mark Conversation (code comment) resolved (#11037)
* Add a way to mark Conversation (code comment) resolved

mark Conversation is a way to mark a Conversation is stale
or be solved. when it's marked as stale, will be hided like
stale. all Pull Request writer , Offical Reviewers and poster
can add or remove Conversation resolved mark.

Signed-off-by: a1012112796 <1012112796@qq.com>

* fix lint

* Apply suggestions from code review

* Add ResolveDoer
* fix ui

Co-Authored-By: Lauris BH <lauris@nix.lv>
Co-Authored-By: 6543 <6543@obermui.de>

* change IsResolved to an function
Add permission check in UpdateResolveConversation

* Apply suggestions from code review

* change return error for permisson check
* add default message for deleted user
* get issue message from comment
* add migration for ``ResolveDoerID`` column

another  change:
* block mark pending review as resolved because it's not necessary

Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>

* change button color

* resolve button size

* fix code style

* remove unusefull code

Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
4 years ago
..
labels Add Organization Wide Labels (#10814) 4 years ago
view_content Add a way to mark Conversation (code comment) resolved (#11037) 4 years ago
branch_selector_field.tmpl Add Octicon SVG spritemap (#10107) 4 years ago
comment_tab.tmpl Improve issue autolinks (#6273) 5 years ago
label_precolors.tmpl Indent all templates with tabs 9 years ago
labels.tmpl Add Organization Wide Labels (#10814) 4 years ago
list.tmpl add request review from specific reviewers feature in pull request (#10756) 4 years ago
milestone_issues.tmpl add request review from specific reviewers feature in pull request (#10756) 4 years ago
milestone_new.tmpl Fix max length check and limit in multiple repo forms (#9148) 5 years ago
milestones.tmpl Change action GETs to POST (#10462) 4 years ago
navbar.tmpl Search bar for issues/pulls (#530) 8 years ago
new.tmpl Indent all templates with tabs 9 years ago
new_form.tmpl Add titles and improve messages on sidebar menus (#10872) 4 years ago
search.tmpl Don't warn users about *every* dirty form (#3707) 6 years ago
view.tmpl Feature: Archive repos (#5009) 6 years ago
view_content.tmpl Fix and simplify some tmpl conditions (#11080) 4 years ago
view_title.tmpl ui: Change icon on title for merged PR to git-merge (#11064) 4 years ago