Previously we could not place extra nav items in a particular order. This change introduces a new `before` attribute to addNavigationBarItem with this attribute we can place a nav item before "top" or any other place. Additionally this allows navigation items to force active state. In some cases we may want an items that is simply a "filter" on latest using `?query_params` when we do that we can "force" the filter active. A concrete example is the assign plugin that adds a nav item for Unassigned => `/c/cat-slug/l/latest?assigned=nobody&status=open` If we did not force then latest would be selected even though the filter is clicked. |
||
|---|---|---|
| .. | ||
| admin | ||
| admin-login | ||
| discourse | ||
| discourse-common | ||
| docs | ||
| ember-addons | ||
| locales | ||
| pretty-text | ||
| select-kit | ||
| wizard | ||
| activate-account.js.no-module.es6 | ||
| admin.js.erb | ||
| application.js | ||
| auto-redirect.js.no-module.es6 | ||
| deprecated.js | ||
| discourse-loader.js | ||
| discourse-objects.js | ||
| discourse.js.es6 | ||
| embed-application.js.no-module.es6 | ||
| ember_include.js.erb | ||
| ember_jquery.js | ||
| ember-shim.js | ||
| env.js | ||
| google-tag-manager.js.no-module.es6 | ||
| google-universal-analytics.js.no-module.es6 | ||
| main_include_admin.js | ||
| markdown-it-bundle.js | ||
| onpopstate-handler.js.no-module.es6 | ||
| polyfills.js | ||
| preload-application-data.js.no-module.es6 | ||
| preload-store.js.es6 | ||
| pretty-text-bundle.js | ||
| print-page.js | ||
| service-worker.js.erb | ||
| set-prototype-polyfill.js | ||
| template_include.js.erb | ||
| vendor.js | ||
| wizard-application.js | ||
| wizard-start.js.no-module.es6 | ||
| wizard-vendor.js | ||