tensorflow / tensorflow/tensorboard
Hide unlisted plugins entirely on the frontend
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 7.2k
- Forks
- 1.7k
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 1
Description
The /data/plugins_listing endpoint returns a map from known plugin
names to whether each plugin is currently active (true or false).
The frontend treats absent keys in this map the same as if the key were
set to false. Thus, if the frontend knows about a plugin that the
backend does not, then the plugin will be marked as inactive.
It would be convenient if missing plugins were instead hidden from the
UI entirely. This would enable us to easily gate new, experimental
plugins behind a feature flag (--alpha_plugins) without having to
build distinct copies of the index.html page. The backend could simply
omit unstable plugins from its response, and the frontend would treat
them as if they didn’t exist at all.
cc @erzel
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the frontend code that consumes the /data/plugins_listing response and the plugin entries rendered in index.html. Trace how absent keys are currently interpreted, then verify that plugins omitted by the backend are absent from the UI while explicitly inactive plugins remain handled as before.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100