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

New project navigation control #10390

Open
AdRiley opened this issue Jun 27, 2024 · 4 comments
Open

New project navigation control #10390

AdRiley opened this issue Jun 27, 2024 · 4 comments
Labels
-gui x-new-feature Type: new feature request

Comments

@AdRiley
Copy link
Member

AdRiley commented Jun 27, 2024

Replace this control

image

With a drop down that shows currently selected method.

Notes:

  • Make the default value now be main. (The project name has moved to the tab)
  • Rename functionality should be removed (This will move to the tab)
  • Make this the left most control. It should be this control then the record/run control
  • Remove these buttons
image

Opening the dropdown gives a view like this:

image

The buttons by each component group allow:

  • Adding to the current workflow
  • Renaming the component group
  • Deleting the component group

If a grouped component is on the workflow clicking on its name enters the first use of that grouped component.
If a grouped component is not on the workflow/not connected. Its name is greyed out and cannot be entered. A tooltip tells the user to add to workflow and connect in order to edit.

@AdRiley AdRiley added x-new-feature Type: new feature request -gui labels Jun 27, 2024
@AdRiley AdRiley added this to the 2024-07 Release milestone Jun 27, 2024
@farmaazon
Copy link
Contributor

What are the options in the drop-down? It's like breadcrumbs laid out vertically?

@somebody1234
Copy link
Contributor

somebody1234 commented Jun 27, 2024

i assume it would just be a list of all methods in the same scope as the breadcrumb that was clicked on. idk whether it makes sense to remove breadcrumbs though

@AdRiley
Copy link
Member Author

AdRiley commented Jun 27, 2024

Options are:

main
collapsed 1
collapsed 2
etc...

Is it possible to do any deeper nesting today?

@farmaazon
Copy link
Contributor

Options are:

main collapsed 1 collapsed 2 etc...

Is it possible to do any deeper nesting today?

But, assuming we're in the main function, do we still want to display drop-down of all collapsed functions? The problem is, that to enter a collapsed function, we need to know the context. Consider the following code:

from Standard.Library import All_What_Is_Needed

collapsed a =
     node = a + 4 # with visualization opened
     node

main =
    node1 = collapsed 15
    node2 = collapsed 18

While in main function, if user would pick just collapsed from drop-down, we cannot say which call they have in mind - and these calls will produce different visualizations!

What we could do, is display drop-down listing not methods, but all enterable, so the drop-down would consist of options main, collapsed 15, collapsed 18. But then, if we would at some point allow entering functions in other modules (or even other libraries), shall we list all of those or only local? If only local, how user would navigate back if entered function from different module/library?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-gui x-new-feature Type: new feature request
Projects
Status: New
Development

No branches or pull requests

3 participants