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

Issues with the page hierarchy explorer #2360

Open
3 of 8 tasks
Janpot opened this issue Jul 25, 2023 · 7 comments
Open
3 of 8 tasks

Issues with the page hierarchy explorer #2360

Janpot opened this issue Jul 25, 2023 · 7 comments
Labels
bug 🐛 Something doesn't work design: ux Design scope: toolpad-studio Abbreviated to "studio"

Comments

@Janpot
Copy link
Member

Janpot commented Jul 25, 2023

TODO:

P2:

  • It doesn't always select the item (see video)

P3:

  • When I double click an item it goes editable, then selects all the text of the input. If I immediately select another item after that it keeps that text selected.
  • Scroll to an element in the canvas when selected in the explorer
  • Add custom icon for Custom Components
  • It doesn't show the right names in case of a list component. I added 2 list items then removed one but the names are explorer didn't update (see video).

FIxed in #2397

  • hovering over page rows doesn't highlight them
  • the title "components" is very ambiguous. Components for me are like templates, they are blueprints. When they're instantiated on the page I prefer to talk about nodes, or elements.
  • The hierarchy explorer doesn't scroll when there is more content than space. I also seem to be unable to resize it to 0 height.
Screen.Recording.2023-07-25.at.09.42.42.mov
Screen.Recording.2023-07-25.at.10.45.30.mov
List-page-heirarchy.mov
@Janpot Janpot added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Jul 25, 2023
@bharatkashyap
Copy link
Member

bharatkashyap commented Jul 25, 2023

@Janpot Is there any additional information you could share? Context/Browser/error messages in the console? I can't replicate 1. without those.

Screen.Recording.2023-07-25.at.1.47.36.PM.mov

@Janpot
Copy link
Member Author

Janpot commented Jul 25, 2023

Yes, it seems to happen when I click the text itself, or the vertical center in the whitespace left of the text, basically anything in this area:

Screenshot 2023-07-25 at 10 40 50

When I click on the icon or the padding it always selects

@Janpot
Copy link
Member Author

Janpot commented Jul 25, 2023

I also updated the issue with 4. and 5. that I ran into.

@Janpot Janpot changed the title Page hierarchy explorer doesn't always select Issues with the page hierarchy explorer Jul 25, 2023
@bharatkashyap bharatkashyap added bug 🐛 Something doesn't work design: ux Design and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Jul 27, 2023
@bharatkashyap
Copy link
Member

On 3., "Components" makes sense to me given that :

  • We call the catalog which contains them the "Component Library"

  • Benchmarking:

Appsmith Dynaboard Retool
Screenshot 2023-07-31 at 4 42 11 PM Screenshot 2023-07-31 at 4 36 17 PM Screenshot 2023-07-31 at 4 34 13 PM

The title of the section that shows the tree is the same as the entity which you drag on to the page - So "add new widget" translates to a "Widgets" explorer; similar for Retool and Dynaboard

  • Adding a new term for a component when instantiated on the page seems like an unnecessary complication

@Janpot
Copy link
Member Author

Janpot commented Jul 31, 2023

  • Adding a new term for a component when instantiated on the page seems like an unnecessary complication

The distinction between "template" and "instance" is a very natural one for programmers:

  • a class vs. an object
  • a React component vs. a jsx element

@bharatkashyap
Copy link
Member

  • Adding a new term for a component when instantiated on the page seems like an unnecessary complication

The distinction between "template" and "instance" is a very natural one for programmers:

  • a class vs. an object
  • a React component vs. a jsx element
  • Updated the title to say "Page Hierarchy"

@prakhargupta1
Copy link
Member

A code component currently comes without any icon, let's use the icon that we are using in the Component library.
Screenshot 2023-08-07 at 2 00 57 PM

@oliviertassinari oliviertassinari moved this from In progress now to Next in queue in MUI Toolpad public roadmap Mar 15, 2024
@oliviertassinari oliviertassinari moved this from Next in queue to Future in MUI Toolpad public roadmap Mar 15, 2024
@prakhargupta1 prakhargupta1 added the scope: toolpad-studio Abbreviated to "studio" label Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work design: ux Design scope: toolpad-studio Abbreviated to "studio"
Projects
None yet
Development

No branches or pull requests

3 participants