0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 13:08:40 +08:00
discourse/plugins/automation
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/assets/javascripts DEV: Remove ember-template-lint (#40077) 2026-05-15 20:54:13 +01:00
app DEV: Make automation recursion depth configurable (#40778) 2026-06-11 09:41:00 +10:00
assets UX: fix control position in automations table (#39899) 2026-05-12 10:40:28 -04:00
config I18N: Update translations (#42016) 2026-07-28 16:55:49 +02:00
db/migrate DEV: Tidy plugin API key scope resource names (#38640) 2026-03-17 13:03:42 +11:00
lib DEV: Add usage metrics for workflows, automations, and data explorer (#41437) 2026-07-13 11:41:58 +02:00
spec UX: remove redundant admin plugin nav (#42185) 2026-07-31 17:56:28 -04:00
test/javascripts/integration/components DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
package.json DEV: Add a script for generating external types in discourse-types (#37095) 2026-03-09 20:37:43 +01:00
plugin.rb DEV: Add usage metrics for workflows, automations, and data explorer (#41437) 2026-07-13 11:41:58 +02:00
tsconfig.json DEV: Add a script for generating external types in discourse-types (#37095) 2026-03-09 20:37:43 +01:00