This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse
Osama Sayegh 12ebdf0ff0
DEV: Convert experimental user menu tabs to links when they're active (#18158)
This PR restores a small feature which was present in the old menu and allowed users to click on the active tab in the menu to navigate to some page that showed the same items in the menu but with more details.

For example, if you switch to the PMs tab and then click on it again, currently nothing happens. However, with this change, clicking on the tab again will take you to your messages page at `/my/messages`.

Note: plugins that register custom tabs in the menu can provide a `linkWhenActive` property for their tab if they wish to mimic core's tabs, but it's optional; if they don't provide one, the tab will do nothing if the user clicks on it again.

Internal topic: t/73349.
2022-09-13 17:12:27 +03:00
..
app DEV: Convert experimental user menu tabs to links when they're active (#18158) 2022-09-13 17:12:27 +03:00
config DEV: Enable jquery-integration runtime deprecation (#18057) 2022-08-23 19:28:22 +01:00
lib DEV: Add favicon to dev ember proxy (#18228) 2022-09-12 15:46:50 +02:00
public/assets/scripts DEV: Use DiscourseJsProcessor for theme template compilation (#18135) 2022-09-01 11:50:46 +01:00
scripts DEV: Compile splash screen JS with ember-cli before inlining (#18150) 2022-09-01 09:58:48 +01:00
tests DEV: Convert experimental user menu tabs to links when they're active (#18158) 2022-09-13 17:12:27 +03:00
.ember-cli REFACTOR: Sync up master with changes for Ember-CLI (#11671) 2021-01-12 10:13:21 -05:00
.npmrc DEV: Prevent npm usage (#13945) 2021-08-04 22:04:58 +02:00
ember-cli-build.js FIX: Transpile start-discourse.js to fix iOS12 support (#18149) 2022-08-31 15:15:19 +01:00
jsconfig.json DEV: Add jsconfig (#17800) 2022-08-04 22:50:47 +01:00
package.json Build(deps): Bump ember-exam in /app/assets/javascripts (#18221) 2022-09-12 10:22:42 +02:00
testem.js DEV: Stick to ipv4 when proxying testem requests (#18064) 2022-08-30 13:38:55 +02:00