Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Waveform Simulation: improve selector #298

Open
tomcl opened this issue Jul 14, 2023 · 2 comments
Open

Waveform Simulation: improve selector #298

tomcl opened this issue Jul 14, 2023 · 2 comments
Assignees

Comments

@tomcl
Copy link
Owner

tomcl commented Jul 14, 2023

User feedback shows that waveform selector is confusing for large designs.

Improve selector UI as follows:

  • Add Focus
  • Add breadcrumbs (from focussed sheet to root of simulation)
  • Position movement to subsheet next to corresponding custom component ports

Other changes TBC

@tomcl
Copy link
Owner Author

tomcl commented Jul 28, 2023

Comment on breadcrumbs.

Suppose you have implemented a breadcrumb path from current sheet to root.

To enhance this to a complete breadcrumb tree is surprisingly easy:

  1. The trail becomes a table row
  2. Other rows are included to make a table so that the nth column contains all nodes depth n
  3. No need to go more than one level deeper than current sheet (but could if wanted)
  4. Rows are added so that the parent of each sheet in the current tree is the first non-blank table cell one column to the left of the sheet
  5. A button can be added to the default single row of breadcrumbs to expand out / hide the hierarchy.
  6. Because we go one level deeper than the current sheet it is possible to explore the entire hierarchy by clicking breadcrumbs

This makes the "breadcrumb + current focussed sheet" idea (I hope) really nice and intuitive - and good as a way to understand the design hierarchy.

Each breadcrumb can be implemented as a Button with a function that dispatches a NavigateSelector message with argument the desired new path from current root to selected sheet.

It would be possible to make the "collapsed" form of the breadcrumbs include all the direct subsheets of the current sheet. Then this could be used to focus a subsheet, it might be more convenient then doing that in the selector though I am not sure. it would have the demerit of taking up vertical space all the time.

Anyway this is a chance for a really nice bit of UI design.

Note for @stmy628 I realise you have some way to go before you get to this!

2023-07-28 16_33_27-PENDING - Word

@tomcl
Copy link
Owner Author

tomcl commented Jul 28, 2023

Maybe the immediate children when expanded could be printed multiple children per line with a black vertical lines demarcating levels to show they are all the same level? Not sure, but that would also be easy to do using a table.

@tomcl tomcl removed the Summer 2023 label Aug 30, 2024
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

No branches or pull requests

2 participants