A platform for community discussion. Free, open, simple.
UX: Add proper titles to topic navigation links in hamburger menu.
Guo Xiang Tanc720bf32c3d6
diff --git a/app/assets/javascripts/discourse/widgets/hamburger-menu.js.es6 b/app/assets/javascripts/discourse/widgets/hamburger-menu.js.es6index b54c7caf4b0..957fd246a86 100644--- a/app/assets/javascripts/discourse/widgets/hamburger-menu.js.es6+++ b/app/assets/javascripts/discourse/widgets/hamburger-menu.js.es6@@ -90,23 +90,35 @@ export default createWidget('hamburger-menu', {const { siteSettings } = this;const links = [];- links.push({ route: 'discovery.latest', className: 'latest-topics-link', label: 'filters.latest.title' });+ links.push({+ route: 'discovery.latest',+ className: 'latest-topics-link',+ label: 'filters.latest.title',+ title: 'filters.latest.help'+ });if (this.currentUser) {links.push({ route: 'discovery.new',className: 'new-topics-link',labelCount: 'filters.new.title_with_count',label: 'filters.new.title',+ title: 'filters.new.help',count: this.lookupCount('new') });links.push({ route: 'discovery.unread',className: 'unread-topics-link',labelCount: 'filters.unread.title_with_count',label: 'filters.unread.title',+ title: 'filters.unread.help',count: this.lookupCount('unread') });}- links.push({ route: 'discovery.top', className: 'top-topics-link', label: 'filters.top.title' });+ links.push({+ route: 'discovery.top',+ className: 'top-topics-link',+ label: 'filters.top.title',+ title: 'filters.top.help'+ });if (siteSettings.enable_badges) {links.push({ route: 'badges', className: 'badge-link', label: 'badges.title' });