question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Story: Experiments sidebar tree view

See original GitHub issue

Original Story

The experiments panel lets users see their experiments when they code or focus on the plots. Also, it helps to navigate through all the experiments when the table is filtered (filters don’t apply to the experiments panel) or too long (in case of expanded checkpoints).

Original Design

Preview:

image

More details, updated design and spec in Figma.

Updates

Current state:

image

Relevant links:

It appears that we can only have one icon to the left, like the show/hide eye to the left of the dots (the arrow doesn’t count, that’s built into the view for anything with children, it being a TreeView and all.). Any workaround like using combined icons would likely end up hacky and wouldn’t have to ability for different actions assigned to these elements.

I believe we can, however, put control icons like this on the right side of the menu like any other item via package.json contributes, seen as the pencil-shaped “Edit” button on each item in the sample extension.

vscode example treeview screenshot

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
mattseddoncommented, Oct 21, 2021

Hey @igorfv,

Thanks for the update. Unfortunately there is no onHover event for the TreeItems but there is a tooltip which can take a markdown string. There is also the possibility of doing something with the description and you could even have a fake command that provides an icon to the RHS. See screenshot below of actual inline command used in/by the ExperimentsSortByTree:

image

I personally am open to any changes to the design as long as we achieve the original objective which is for the user to easily identify what is shown and where.

Hope this info helps. Please let me know if you have any follow up questions.

Thanks,

1reaction
mattseddoncommented, Nov 2, 2021

This is another option for how to tackle the tree view portion of this one:

image

(ignore the fact that the experiment names are duplicated)

Having two different groups would enable us to show both of the icons that we want to. We could move experiments between the two with the left click action. Title for each of the groups needs some work. This would also still let us avoid registering theme colors and using our own custom svg dots instead.

LMK what you think.

Read more comments on GitHub >

github_iconTop Results From Across the Web

In Atom Editor: How to remain inside sidebar focus while ...
Is there a way to remain focused on the TreeView and with arrow key navigation enabled, and as each new file is navigated...
Read more >
New Component: Sidebar/LeftNav #6221 - microsoft/fluentui
Current plan is to create support for both tree view and accordion view navigation. We have identified two very different usages, ...
Read more >
Extension talk:TreeAndMenu - MediaWiki
Putting treeview in different place in sidebar.
Read more >
GEPS 019: Improved Sidebar and Split Views - Gramps
Gramps 3.2 allows views as plugins. The main organization is now: The sidebar is used to navigate to categories, a category can contain...
Read more >
Fun and Fascinating Pine Branch Hardiness STEM Experiment
Kids will love learning about the hardiness of pine trees in this STEM activity. The Our original idea was to see which liquid...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found