FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
105 stars 18 forks source link

Expand and Collapse Widget Tree #3115

Open chris-PearlIT opened 3 weeks ago

chris-PearlIT commented 3 weeks ago

Can we access your project?

Current Behavior

tapping the Expanded View / Collapsed View Icon at the head of the widget tree only collapses one widget.

Expected Behavior

Collapsing the widget tree should collapse every widget in the tree to it smallest state. Conversely expanding should open the tree to it's largest state. Or possibly having a widget selected should expand/collapse it's nested widgets ?

Steps to Reproduce

  1. Create a new Page
  2. Make a widget tree of any design containing nested and unnested widgets.
  3. press expand / collapse

Reproducible from Blank

Bug Report Code (Required)

IT4wkOfl0It1pbxK+KX6b8BsnjgXMjs6bIJNm9YacCs8JJToPLAUZ8zBM05vZryqTwhIOk2joDsK7PfqheGWCOwoaBKufa4/1KtQbTzicEKgWqasEsy7fW1RI+1XJ2qE3MG7pCZdCNd0W1oW2U+MGOuXShbYQ7rxIVcvFs+LKdeK2SrDX1iXc2URm05KZDPz

Visual documentation

Screenshot 2024-06-13 102225 Screenshot 2024-06-13 102236

As you can see pressing the collapse button has only collapsed the Background, Options, Title Box/Row and Column Widgets all other are still expanded.

Environment

- FlutterFlow version: 4.1.59+
- Platform: Windows PC Application
- Browser name and version: not applicable
- Operating system and version affected: Windows 11 Pro - 23H2 (OS Build 22631.3737)

Additional Information

This may seem like a small quality of life issue, but I cannot overstate how important it is to us developers. I personally spend all day on FF making applications for my clients. Some of the pages we write can have hundreds of widgets in them, it's very time consuming looking for the widget I'm adjusting, we spend an unacceptable amount of time collapsing our trees widget by widget. The tree remembers it state as long as I don't close the app or change to a different app. Giving the tree a persistent memory would also be a great feature. I've been suffering this bug for months, finally I've decided to spend the time on a bug report rather than collapsing another tree ! please fix it :)

rzambroni commented 1 week ago

Hey @chris-PearllT, thanks so much for the feedback, we created a feature request for this.

I'm closing this ticket as this list is meant for bug tracking and we will track feature requests internally.

Thanks again.

chris-PearlIT commented 1 week ago

Apologies for disagreeing with your diagnosis of my bug ticket, but since the button to collapse and expand the widget tree does exist. Is it FF's intention for it to expand and collapse random parts of the tree ? There is without doubt a bug here ? it's either the buttons apparently random actions or the existence of the button at all ?

rzambroni commented 1 week ago

Hey @chris-PearllT, i actually agree with you, i didn't make the original analysis but noticed there is a feature request associated with this ticket and wanted to inform you. Now that i took a closer look i do think there is a bug, will re-open the ticket so we can move it forward.

msusviela commented 1 week ago

Hi @chris-PearllT. I was able to reproduce the issue, I will send it to the ENG team so they can work on this!

github-actions[bot] commented 8 hours ago

This issue is stale because it has been open for 7 days with no activity. If there are no further updates, a team member will close the issue.