Skip to content

A platform for community discussion. Free, open, simple.

UX: Polish for topic list controls (#34714)

Ted Johansson4c1ba3f0513c
diff --git a/app/assets/javascripts/discourse/app/components/bulk-select-toggle.gjs b/app/assets/javascripts/discourse/app/components/bulk-select-toggle.gjs
index f22da927698..26639092172 100644
--- a/app/assets/javascripts/discourse/app/components/bulk-select-toggle.gjs
+++ b/app/assets/javascripts/discourse/app/components/bulk-select-toggle.gjs
@@ -4,6 +4,7 @@ const BulkSelectToggle = <template>
<DButton
class="btn-default bulk-select"
@action={{@bulkSelectHelper.toggleBulkSelect}}
+ @title="topics.bulk.select"
@icon="list"
/>
</template>;
diff --git a/app/assets/javascripts/discourse/app/components/d-navigation.gjs b/app/assets/javascripts/discourse/app/components/d-navigation.gjs
index d1a785a599c..55345202aff 100644
--- a/app/assets/javascripts/discourse/app/components/d-navigation.gjs
+++ b/app/assets/javascripts/discourse/app/components/d-navigation.gjs
@@ -311,7 +311,16 @@ export default class DNavigation extends Component {
{{#if this.showToggleInfo}}
<DButton
@icon={{if this.currentUser.canEditTags "wrench" "circle-info"}}
- @ariaLabel="tagging.info"
+ @ariaLabel={{if
+ this.currentUser.canEditTags
+ "tagging.edit"
+ "tagging.info"
+ }}
+ @title={{if
+ this.currentUser.canEditTags
+ "tagging.edit"
+ "tagging.info"
+ }}
@action={{this.toggleInfo}}
id="show-tag-info"
class="btn-default"
diff --git a/app/assets/javascripts/discourse/app/components/notifications-tracking.gjs b/app/assets/javascripts/discourse/app/components/notifications-tracking.gjs
index 52e9373f51b..c7319daf956 100644
--- a/app/assets/javascripts/discourse/app/components/notifications-tracking.gjs
+++ b/app/assets/javascripts/discourse/app/components/notifications-tracking.gjs
@@ -48,6 +48,7 @@ class NotificationsTrackingTrigger extends Component {
"btn btn-default"
(if this.showFullTitle "btn-icon-text" "no-text")
}}
+ title={{i18n "user.preferences_nav.tracking"}}
...attributes
>
{{icon @selectedLevel.icon}}
diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml
index 79419b9ca44..beedff638b0 100644
--- a/config/locales/client.en.yml
+++ b/config/locales/client.en.yml
@@ -3445,6 +3445,7 @@ en:
topics:
new_messages_marker: "last visit"
bulk:
+ select: "Bulk select"
confirm: "Confirm"
select_all: "Select All"
clear_all: "Clear All"
@@ -5034,7 +5035,7 @@ en:
choose_for_topic_required_group:
one: "select %{count} tag from '%{name}'…"
other: "select %{count} tags from '%{name}'…"
- info: "Info"
+ info: "Show tag info"
default_info: "This tag isn't restricted to any categories, and has no synonyms."
staff_info: "To add restrictions, put this tag in a <a href=%{basePath}/tag_groups>tag group</a>."
category_restricted: "This tag is restricted to categories you don't have permission to access."
@@ -5065,6 +5066,7 @@ en:
one: "Its synonym will also be deleted."
other: "Its %{count} synonyms will also be deleted."
edit_tag: "Edit tag name and description"
+ edit: "Edit this tag"
description: "Description (max 1000 characters)"
sort_by: "Sort by:"
sort_by_count: "count"
diff --git a/themes/horizon/scss/hiddenstuff.scss b/themes/horizon/scss/hiddenstuff.scss
index d4e5538fa3b..79998202a4b 100644
--- a/themes/horizon/scss/hiddenstuff.scss
+++ b/themes/horizon/scss/hiddenstuff.scss
@@ -1,5 +1,5 @@
.sidebar__panel-switch-button,
-.list-controls #create-topic,
+.list-controls .fk-d-button-tooltip:has(#create-topic),
.notifications-button-footer .reason .text,
.pinned-button .reason .text,
.more-topics__browse-more {