A platform for community discussion. Free, open, simple.
UX: update "all tags" to "remove filter" for tag breadcrumb dropdown (#27424)
Krisf95d80af265f
diff --git a/app/assets/javascripts/discourse/tests/integration/components/select-kit/tag-drop-test.js b/app/assets/javascripts/discourse/tests/integration/components/select-kit/tag-drop-test.jsindex c0441e6934e..e77a1db6f1e 100644--- a/app/assets/javascripts/discourse/tests/integration/components/select-kit/tag-drop-test.js+++ b/app/assets/javascripts/discourse/tests/integration/components/select-kit/tag-drop-test.js@@ -58,8 +58,8 @@ module("Integration | Component | select-kit/tag-drop", function (hooks) {);assert.strictEqual(content[1].name,- I18n.t("tagging.selector_all_tags"),- "it has the correct label for all-tags"+ I18n.t("tagging.selector_remove_filter"),+ "it has the correct label for removing the tag filter");await this.subject.fillInFilter("dav");diff --git a/app/assets/javascripts/select-kit/addon/components/tag-drop.js b/app/assets/javascripts/select-kit/addon/components/tag-drop.jsindex 040b4440c58..132fb988b29 100644--- a/app/assets/javascripts/select-kit/addon/components/tag-drop.js+++ b/app/assets/javascripts/select-kit/addon/components/tag-drop.js@@ -106,7 +106,7 @@ export default ComboBoxComponent.extend(TagsMixin, {if (this.tagId) {shortcuts.push({id: ALL_TAGS_ID,- name: I18n.t("tagging.selector_all_tags"),+ name: I18n.t("tagging.selector_remove_filter"),});}diff --git a/config/locales/client.en.yml b/config/locales/client.en.ymlindex 84841597601..caa093d2a41 100644--- a/config/locales/client.en.yml+++ b/config/locales/client.en.yml@@ -4454,7 +4454,6 @@ en:all_tags: "All tags"other_tags: "Other Tags"selector_tags: "tags"- selector_all_tags: "all tags"selector_no_tags: "no tags"selector_remove_filter: "remove filter"tags: "Tags"@@ -5386,7 +5385,6 @@ en:legal: "Legal"moderation_flags: "Moderation Flags"-appearance:title: "Appearance"sidebar_link: