Folder management operations flicker
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3586033. -->
Reported by: [lauriii](https://www.drupal.org/user/1078742)
Related to !951
>>>
<h3 id="overview">Overview</h3>
<p>Folder management operations in Canvas (dragging folders, renaming, creating new folders, and moving components between folders) cause visible UI flickering. The UI exposes intermediate states between requests, making the interface feel unstable.</p>
<p>The root cause is that the UI waits for server responses before reflecting changes. These operations should use optimistic rendering: apply the change immediately in the UI and reconcile with the server response in the background, rolling back on failure.</p>
<h3 id="proposed-resolution">Proposed resolution</h3>
<p>Implement optimistic UI updates for folder management operations:</p>
<ul>
<li>Moving a component to a different folder</li>
<li>Renaming a folder</li>
<li>Creating a new folder</li>
<li>Dragging/reordering folders</li>
</ul>
<p>Apply the new state immediately on user action. On server error, roll back to the previous state and surface an error message.</p>
<h3 id="ui-changes">User interface changes</h3>
issue