tensorflow / tensorflow/tensorboard

Please save tooltip sorting method and panel open/closed layout in a cookie so that I don't have to reset it every time I reload TensorBoard due to a UI glitch or memory leak.

Open
#1,321 1 comment 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

core:frontend type:bug
Dominant language
TypeScript
Stars
7.2k
Forks
1.7k
Avg merge
4d 22h
Merged PRs (30d)
1

Description

When running TB with a lot of different runs, I always use Nearest for the tooltip sorting -- it makes it much easier to locate the particular run I'm interested in on a busy graph. However, every time I have to refresh the page, the sorting method reverts back to Default. I understand that the sorting method isn't in the url, since that tends to be a personal preference, but it does seem like quite a good idea to save the personal preference like most of the other things are saved.

In the same vein, if I have to reload TB (which is often the case because of memory use and UI glitches), it loses all of the open/closed states of the panels in each tab, and reverts back to having the top three panels open and the rest closed.

Thus, my user experience upon reloading is: close all of the panels that are open, hopefully before the graph loading pegs my cpu; set the tooltip sorting to Nearest, reopen the panels I had open before I reloaded. None of those steps would be necessary if these two pieces of state were saved in the cookie.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the TensorBoard frontend code that manages tooltip sorting and each tab's panel open/closed state, then inspect how other personal preferences are persisted in cookies. Done means reloading the page preserves the selected tooltip sorting method and the panel layout instead of restoring defaults.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.