githaven-fork/templates
赵智超 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>
2020-04-18 10:50:25 -03:00
..
admin Add git hook tooltip (#11030) 2020-04-09 18:15:09 -05:00
base move jquery-datetimepicker to npm/webpack (#10713) 2020-03-17 15:08:15 -04:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore ui: fix status label on branches list vertical alignment (#11109) 2020-04-17 12:35:12 -04:00
mail Style blockquote for default issue mail template (#10024) 2020-01-27 22:35:34 +00:00
org Add Organization Wide Labels (#10814) 2020-04-01 01:14:46 -03:00
pwa Remove nonexistant serviceworker entries (#11091) 2020-04-16 10:33:22 -05:00
repo Add a way to mark Conversation (code comment) resolved (#11037) 2020-04-18 10:50:25 -03:00
status fix 404 and 500 image size in small size screen (#11043) 2020-04-11 17:31:17 -03:00
swagger Prevent merge of outdated PRs on protected branches (#11012) 2020-04-16 22:00:36 -03:00
user Fix and simplify some tmpl conditions (#11080) 2020-04-16 16:26:24 -05:00
home.tmpl Add Octicon SVG spritemap (#10107) 2020-02-11 12:02:41 -05:00
install.tmpl Change default charset for MySQL on install to utf8mb4 (#10989) 2020-04-06 09:33:15 -04:00