mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: do not pre-select blank tag on append tags bulk action (#12801)
UX: show progress screen only when more than 20 topics are selected
This commit is contained in:
parent
fd6f0db788
commit
1e9301d4d8
@ -121,7 +121,10 @@ export default Controller.extend(ModalFunctionality, {
|
|||||||
|
|
||||||
perform(operation) {
|
perform(operation) {
|
||||||
this.set("processedTopicCount", 0);
|
this.set("processedTopicCount", 0);
|
||||||
this.send("changeBulkTemplate", "modal/bulk-progress");
|
if (this.get("model.topics").length > 20) {
|
||||||
|
this.send("changeBulkTemplate", "modal/bulk-progress");
|
||||||
|
}
|
||||||
|
|
||||||
this.set("loading", true);
|
this.set("loading", true);
|
||||||
|
|
||||||
return this._processChunks(operation)
|
return this._processChunks(operation)
|
||||||
@ -215,7 +218,7 @@ export default Controller.extend(ModalFunctionality, {
|
|||||||
},
|
},
|
||||||
|
|
||||||
showAppendTagTopics() {
|
showAppendTagTopics() {
|
||||||
this.set("tags", "");
|
this.set("tags", null);
|
||||||
this.set("action", "appendTags");
|
this.set("action", "appendTags");
|
||||||
this.set("label", "append_tags");
|
this.set("label", "append_tags");
|
||||||
this.set("title", "choose_append_tags");
|
this.set("title", "choose_append_tags");
|
||||||
|
Loading…
Reference in New Issue
Block a user