Skip to content

Allow clearing pinned cards with unavailable data - #7182

Open
Boulea7 wants to merge 1 commit into
tensorflow:masterfrom
Boulea7:fix/clear-unavailable-pinned-cards
Open

Boulea7 wants to merge 1 commit into
tensorflow:masterfrom
Boulea7:fix/clear-unavailable-pinned-cards

Conversation

@Boulea7

@Boulea7 Boulea7 commented Dec 3, 2026

Copy link
Copy Markdown

Motivation for features / changes

Fixes #6387. After a log directory changes, ten saved pins can still fill the limit even when none of their charts appears in the Pinned section.

Technical description of changes

Show the existing Clear all pins button when global pins are enabled and the dashboard has a visible or unresolved pin. Clearing also removes the unresolved entries from the store, so the existing URL and saved-pin handlers can clear them. Pins are kept until the user chooses to clear them, allowing a temporarily unavailable chart to return.

Screenshots of UI changes (or N/A)

N/A. This exposes the existing button in the empty Pinned section.

Detailed steps to verify changes work correctly (as executed by you)

  1. Created two temporary scalar runs, opened TensorBoard, and pinned ten tags from the first run.
  2. Moved that run out of the log directory, restarted TensorBoard at the same address, and reopened the dashboard. The released version showed an empty Pinned section and rejected a new pin.
  3. In the updated UI, clicked Clear all pins, pinned a tag from the remaining run, and reloaded. The new pin persisted. The old entries were gone from the dashboard URL and the saved pins.
  4. Ran the metrics store and main-view Jasmine suites in Chromium. All 418 specs passed.

Alternate designs / implementations considered (or N/A)

Automatically removing pins when data is missing would also discard a selection while its run is temporarily unavailable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pinned graphs of deleted data can't unpin

1 participant