0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-12 05:37:26 +08:00
discourse/frontend/discourse
Kris c44ed224e6
UX: remove redundant admin plugin nav (#42185)
Previously, admin plugin pages carried multiple navs that repeated links
the surrounding page already offered:

- the plugins index listed a tab for some plugins, directly above the
table that links to those same config pages
- a plugin whose only tab is "Settings" still rendered a one item tab
bar

This change drops those and gives the older plugin pages the breadcrumb
trail the show route already has, ending on the plugin being configured
rather than on "Installed plugins".

- Also removes a duplicate wrapper on the plugin settings route, which
repeated `.content-body`

- The breadcrumb fallback in admin-plugins.gjs now only applies to
third-party plugins on the legacy admin route


Before (why a tab for only one link?):

<img width="600" alt="image"
src="https://github.com/user-attachments/assets/a37a5986-66c0-4cbe-861c-aa453ec8f10a"
/>


After (no tab for single links):

<img width="450" alt="image"
src="https://github.com/user-attachments/assets/3a0c80ee-0459-4df5-81e7-774abe8946d1"
/>


Before (why tabs for redundant plugin links):
<img width="2240" height="832" alt="image"
src="https://github.com/user-attachments/assets/4f4254d8-6a73-4031-9911-f725ff5ae37f"
/>

After (no tabs): 
<img width="2236" height="728" alt="image"
src="https://github.com/user-attachments/assets/24d54ec8-8973-4e39-9844-092d384b61d8"
/>


Before (wrong breadcrumb):

<img width="350" alt="image"
src="https://github.com/user-attachments/assets/89a43a36-f97b-4a45-b537-670b26de4bc3"
/>

After (correct breadcrumb pattern): 
<img width="350" alt="image"
src="https://github.com/user-attachments/assets/706f75b1-1245-427d-8913-193dce99703d"
/>
2026-07-31 17:56:28 -04:00
..
admin UX: remove redundant admin plugin nav (#42185) 2026-07-31 17:56:28 -04:00
app A11Y: Idle live regions on a space so identical repeats are announced (#42184) 2026-07-31 14:13:18 -03:00
config
dialog-holder DEV: add typescript support for core, themes and plugins (#41478) 2026-07-08 12:57:18 +01:00
float-kit DEV: Convert FloatKit to TypeScript (#41633) 2026-07-16 12:15:19 -03:00
lib DEV: Derive styleguide code samples from the rendered example (#42100) 2026-07-29 13:48:35 -03:00
scripts/js
select-kit FEATURE: Allow selection of multiple content languages when viewing topics and posts (#42128) 2026-07-30 12:19:44 +08:00
tests UX: remove redundant admin plugin nav (#42185) 2026-07-31 17:56:28 -04:00
truth-helpers DEV: Back truth-helpers with the ember-truth-helpers package (#41621) 2026-07-13 13:06:17 -03:00
type-tests DEV: Type the d-element dynamic-tag helper (#41687) 2026-07-15 11:13:42 -03:00
.ember-cli
.npmrc
.watchmanconfig
babel.config.cjs DEV: add typescript support for core, themes and plugins (#41478) 2026-07-08 12:57:18 +01:00
discourse.js
package.json DEV: Derive styleguide code samples from the rendered example (#42100) 2026-07-29 13:48:35 -03:00
patch-testem-browser-watchdog.js DEV: Fail fast when the qunit browser stalls (#41919) 2026-07-22 12:43:54 -03:00
patch-testem-output.js
qunit-live-reload.js
rolldown.config.mjs DEV: Derive styleguide code samples from the rendered example (#42100) 2026-07-29 13:48:35 -03:00
rolldown.mjs DEV: Ensure multiple rolldown devservers cannot run concurrently (#41913) 2026-07-22 14:19:13 +01:00
testem.js DEV: Improve testem error (#41975) 2026-07-23 11:51:35 +01:00
tsconfig.json DEV: Back truth-helpers with the ember-truth-helpers package (#41621) 2026-07-13 13:06:17 -03:00
vendor.js