etherpad-lite/admin/src/pages
John McLear e028016296
feat(admin): surface ep.json disables in /admin plugin browser (#7649)
Companion to ether/ether.github.com#395 — the admin UI's "available
plugins" listing now also renders the plugin's declared `disables`
(see doc/PLUGIN_FEATURE_DISABLES.md) so an operator about to click
Install sees the same warning as a user browsing etherpad.org/plugins:
"Disables: chat".

- src/node/types/PackageInfo.ts: optional `disables?: string[]` on
  the registry payload type.
- admin/src/pages/Plugin.ts: same on the admin-side PluginDef.
- admin/src/pages/HomePage.tsx: render an amber callout under the
  description when `disables` is present and non-empty. Plugins
  without a disables field render unchanged.

The plugin-registry build pipeline still has to start surfacing
`disables` from ep.json into plugins.json/plugins.viewer.json — until
that lands, the new callout no-ops everywhere, which is fine.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 10:29:25 +01:00
..
HelpPage.tsx Enforce 2-space indentation across codebase (#7426) 2026-04-01 19:48:45 +01:00
HomePage.tsx feat(admin): surface ep.json disables in /admin plugin browser (#7649) 2026-05-02 10:29:25 +01:00
LoginScreen.tsx Enforce 2-space indentation across codebase (#7426) 2026-04-01 19:48:45 +01:00
PadPage.tsx Enforce 2-space indentation across codebase (#7426) 2026-04-01 19:48:45 +01:00
Plugin.ts feat(admin): surface ep.json disables in /admin plugin browser (#7649) 2026-05-02 10:29:25 +01:00
SettingsPage.tsx Enforce 2-space indentation across codebase (#7426) 2026-04-01 19:48:45 +01:00
ShoutPage.tsx chore: use only rolldown for building (#7101) 2025-08-26 22:22:10 +02:00
UpdatePage.tsx feat(updater): tier 1 — notify admin and pad users of available updates (#7601) 2026-05-01 20:02:12 +08:00