tensorflow / tensorflow/tensorboard

HPARAMS - TABLE VIEW - Sort on column header click

Open
#2,741 0 comments 9 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

plugin:hparams type:feature
Dominant language
TypeScript
Stars
7.2k
Forks
1.7k
Avg merge
4d 22h
Merged PRs (30d)
1

Description

I would like to see an automatic sort when the header of a column in "TABLE VIEW" in "HPARAMS" is clicked, with alternating ascending/descending each click and an arrow showing whether it's ascending or descending.

This is intuitive for most people. As soon as we see a table, clicking on the header is a quick way to sort things.

Moreover, the sorting in the sidebar doesn't engage automatically until you set both the "Sort by" and the "Direction" so it might frustrate the user that neither clicking the header nor setting "Sort by" is working for them and we want to prevent this frustration.

I have attached an image showing how with limited viewing space, the "Direction" dropdown may be obscured, putting the user into a state where they may not be able to sort at all. (unless of course they drag down the "Sorting" window.

Capture

*Note the selected sort in the "Sorting" window yet a lack of sorting on the actual table.

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 HPARAMS TABLE VIEW and its existing Sorting controls in the frontend. Trace how column headers and sort direction are handled, then verify that clicking a header alternates ascending and descending order and displays the corresponding arrow, including when the sorting controls are partly obscured.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.