Workspace sidebar state persistence issue on refresh in custom apps.
The issue involves the workspace sidebar reverting to the first created sidebar on refresh in custom apps, causing user disorientation. The problem is reproducible and requires analyzing workspace state persistence across navigation scenarios. Blockers include understanding why this behavior differs between standard and custom apps.
I have tested this on a custom app, my custom app has three workspace sidebards. When I enter one and click on a link (doctype) I can work adding data to the form (no problem). But the moment I do a refresh (and hard refresh as well ctrl + shift + r) it forgets which sidebar its on and reverts to the first sidebar created for that app. this disorients the user. because sometimes they refresh to see new data in a list but now their sidebar has changed to something completely different.
This does not happen with standard erp modules. only with custom apps, not sure why.
Output of bench version
erpnext 16.3.0 version-16 (83a0d95)
frappe 16.4.1 fix-page-workspace-sidebar (ae3e0f5)
garments_manufacturing 0.0.1 develop (7c0ce90)
hrms 16.2.0 version-16 (0038cfc)
Workspace Sidebar changes
Workspace Sidebar should not change on refresh.
OS version / distribution, Frappe install method, etc.
Claim this issue to let others know you're working on it. You'll earn 10 points when you complete it!