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/tests
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
..
acceptance DEV: Convert experimental user menu tabs to links when they're active (#18158) 2022-09-13 17:12:27 +03:00
fixtures DEV: Refactor self-delete dialog (#18180) 2022-09-12 09:45:53 -04:00
helpers DEV: Add model transformer plugin API (#18081) 2022-08-25 15:41:58 +03:00
integration FEATURE: other notifications tab for redesign user menu (#18164) 2022-09-02 14:49:49 +03:00
unit DEV: extract until date formatting in a library function (#18003) 2022-08-29 15:45:36 +04:00
active-plugins.js.erb DEV: Support for running theme test with Ember CLI (third attempt) 2022-01-13 16:02:07 -05:00
core-tests.js DEV: Support for running theme test with Ember CLI (third attempt) 2022-01-13 16:02:07 -05:00
index.html DEV: Compile markdown-it-bundle with ember-cli (#18104) 2022-08-29 19:11:59 +01:00
plugin-tests.js.erb DEV: Transpile all plugin js by default (#17175) 2022-06-21 22:07:10 +02:00
setup-tests.js DEV: Abort qunit tests when clicking in the toolbar (#17989) 2022-08-18 23:32:38 +01:00
test-boot-ember-cli.js DEV: Skip loading plugin JS when running only core tests (#18047) 2022-08-23 10:25:07 +01:00