Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update devices in UI dynamically #23

Open
ddellacosta opened this issue Jan 27, 2024 · 0 comments
Open

Update devices in UI dynamically #23

ddellacosta opened this issue Jan 27, 2024 · 0 comments
Labels
depends on uncompleted work enhancement New feature or request priority this should take priority ahead of items that are not marked as such

Comments

@ddellacosta
Copy link
Owner

I need a comprehensive system to update devices in the UI given the current state of devices on the network.

Acceptance Criteria

  • must be responsive enough that updates are registered without any noticeable lag or slowdown of the UI

Technical Notes

  • maybe every state update (or subsets of state updates) should be treated as a delta, and if no change is computed it shouldn't update the device state? This sounds awfully like the existing React update algorithm...am I doing extra work here somehow?
  • do I need to retain prior state? I don't think so. Every state update can simply overwrite the value mapped to a given device
  • should I store deltas based on the specific protocol data I get vs. an abstracted version of that data? I think I'll need to address figure out data model for device before I can tackle this.
@ddellacosta ddellacosta added enhancement New feature or request priority this should take priority ahead of items that are not marked as such depends on uncompleted work labels Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
depends on uncompleted work enhancement New feature or request priority this should take priority ahead of items that are not marked as such
Projects
None yet
Development

No branches or pull requests

1 participant