Renaming a collapsed function UX
Renaming a collapsed function needs to be:
- From outside the function:
- a menu item on the extended component menu
- Clicking this button makes the name of the selected collapsed component editable.
- Pressing enter or clicking off commits the rename
- When components are grouped they should automatically enter rename mode allowing a user to type a new group name
Refinement notes:
- extend API of widget context allowing registering actions by widgets
- For the future: the right click on a widget could display a context menu narrowed to actions of this widget (and its ancestors) only.
Refinement notes:
- The name should be editable only in "main function calls", i.e. when we can enter the function.
- To display WidgetFunctionName immediately after collapse, let's provide ourselves the method call we expect.
- Split the auto-rename to a separate task. (estimates 2/3)
Adam Obuchowicz reports a new STANDUP for yesterday (2025-07-15):
Progress: Started looking at the current state of this PR. It should be finished by 2025-07-18.
Next Day: Next day I will be working on the same task. Continue work
Paweł Grabarz reports a new STANDUP for the provided date (2025-10-22):
Progress: Brought back the old function renaming widget, working on registering a node dropdown action from a widget. It should be finished by 2025-10-24.
Paweł Grabarz reports a new STANDUP for the provided date (2025-10-23):
Progress: Added widget-controlled actions registration to node dropdown, working on client-side renaming implementation to avoid asynchronous updates and blinking widgets. It should be finished by 2025-10-24.
Paweł Grabarz reports a new STANDUP for the provided date (2025-10-24):
Progress: Finished client-side method rename, started working on entering renaming mode after group collapse. It should be finished by 2025-10-24.