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.

Show/Hide Columns TreeView

See original GitHub issue

Depends on #358

proposed-show-hide-columns-treeview

I’m not sure if TreeViews have native checkmarks like the design implies, but I could be wrong.

Extra context:

As stated previously we are in the process of moving a lot of the functionality that currently resides in the experiments webview into the extension. We are doing this so that we can provide a more native UX/UI. We’ll be exposing the following functionality via the LHS side bar:

  1. Show / hide columns
  2. Filter rows based on values

We’ll be doing this by (mainly) utilising VS Code’s tree view and quick pick functionality.

#521 is in the process of being finalised. The purpose of that PR is to close #358. That means that we can shift the responsibility that we just removed from the webview (#546) to the extension.

The first step in our rough plan is to implement the above design (more in figma) in a tree view and then as a second step wire it up to the react table. In order to add the tree we’ll probably need to add a view container (see this section) to house the show / hide columns tree.

Notes:

  1. There is a lot of information here, please ask questions.
  2. The existing plan is rough / a guideline and should change as we get more information.
  3. We previously had a view container in the code base so feel free to checkout extension/package.json’s commit history.
  4. The data structure shown in #521 is up for debate and can / should be changed to cater for the tree view (it has been built primarily to cater for React-table’s needs.
  5. There is a high probability that there will be some API limitations that will need to be worked around.
  6. We have an example of a tree view already in the code base (extension/src/fileSystem/views/trackedExplorerTree.ts).

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:23 (10 by maintainers)

github_iconTop GitHub Comments

3reactions
BubblesSOCcommented, Jun 11, 2021

I hope to get started on this one over the weekend, but I’ve specifically set aside time on Monday and Tuesday (6/14-15) to focus on this 😊

2reactions
BubblesSOCcommented, Jun 17, 2021

Celebrated too soon. Still seeing the yaml error 😦

To remove the virtual environment, do I delete demo/.env?

Read more comments on GitHub >

github_iconTop Results From Across the Web

GanttControl - Is it possible to show/hide columns in the tree
In GanttControl, you can use all features that the Tree List has. So, you can hide columns in the tree part by changing...
Read more >
Hiding TreeView Columns In Tkinter - python - Stack Overflow
I've created a TreeView but I want to be able to hide certain columns when I call specific functions. So this TreeView gets...
Read more >
Hide columns based on a tree view selection
I have a treeview with several node levels I need to hide the columns based on the selected nodes, the different node levels...
Read more >
[pygtk] Hide a Column in a Treeview.
Hi , I need some inspiration form the list. In the clist-widget it is possible to show/hide a column with clist.set_column_visibility(col, <0 or...
Read more >
Show/Hide fields in tree view - Odoo
I would like to show and hide fields in a tree view by default. How can I do that? Thank you.
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