use localstorage to save account sidebar collapsed state #433
Reference in New Issue
Block a user
Delete Branch "feature/save-account-sidebar-collapsed-state"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
/claim #429
@@ -3,29 +3,29 @@<% accounts = Current.family.accounts.where(accountable_type: type.name) %>It might be better to make a more generic stimulus controller that persists the state of any details element rather than specifically just the account list.
Perhaps we could give the details element an id, and use that as it's key?
The name of the action could also be more descriptive, perhaps
toggle->details-state-controller#persistState?@@ -3,29 +3,29 @@<% accounts = Current.family.accounts.where(accountable_type: type.name) %>Good point, udpated!
Closing in favor of #432
Pull request closed