Streamline methods handling UI interactions, loading and saving localStorage #28

Open
opened 2025-05-10 10:25:07 +00:00 by ianrenton · 1 comment
ianrenton commented 2025-05-10 10:25:07 +00:00 (Migrated from github.com)

A large number of UI interactions just call the same method, and the values are loaded and saved to localStorage the same way.

It would be nice to streamline this to avoid all the copy/paste code that we currently have.

A large number of UI interactions just call the same method, and the values are loaded and saved to localStorage the same way. It would be nice to streamline this to avoid all the copy/paste code that we currently have.
ianrenton commented 2025-05-23 13:11:30 +00:00 (Migrated from github.com)

Partially resolved the "loads of bindings that call the same method" issue. Haven't made any progress on streamlining loading/saving localStorage yet though.

Maybe it's time to (shudder) use a framework to manage all the model-view-controller (and storage) stuff.

Partially resolved the "loads of bindings that call the same method" issue. Haven't made any progress on streamlining loading/saving localStorage yet though. Maybe it's time to (*shudder*) use a framework to manage all the model-view-controller (and storage) stuff.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ian/qsomap#28
No description provided.