forgejo-federation/web_src/js
赵智超 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
..
components Migrate ActivityHeatmap to Vue SFC (#10953) 2020-04-06 09:31:11 +08:00
features Move syntax highlighting to web worker (#11017) 2020-04-13 16:02:31 +03:00
standalone Reorganize frontend files and tooling (#10168) 2020-02-07 18:09:30 +01:00
vendor Misc JS linting and naming tweaks (#10652) 2020-03-11 21:34:54 +02:00
index.js Add a way to mark Conversation (code comment) resolved (#11037) 2020-04-18 10:50:25 -03:00
jquery.js move jquery and jquery-migrate to npm/webpack (#9813) 2020-01-21 19:32:33 +02:00
polyfills.js fix commit view JS features, reimplement folding (#9968) 2020-01-26 08:17:25 +00:00
publicpath.js Misc JS linting and naming tweaks (#10652) 2020-03-11 21:34:54 +02:00
utils.js Fix JS and Vue (#10328) 2020-02-18 08:07:57 +02:00