Commit Graph

8 Commits

Author SHA1 Message Date
Rachel Powers
e33022e93b slot component needs prefabName
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2024-04-28 12:55:00 -07:00
Rachel Powers
cfa240c579 perf: performance improvments
- switch to BTreeMap for consistant ordering of fields (less UI updates)
- cache calls to expensive getters in the vm via witha Proxy on
  DeviceRefs
- have DeviceMixin explicitly subscribe to device property changes to
  limit updates
- split fields into seperate componate to avoid rerender of other
  components
- speedup ic10emu_wasm DeviceRef::get_slots by only calling serde once.

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2024-04-28 12:54:24 -07:00
Rachel Powers
2480a08ada exchange quantity input for clear button
- slight speed up, prevent unneeded deviceMixin updates

In future need to let Mixin component subscribe to changes they care
about

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2024-04-28 12:54:21 -07:00
Rachel Powers
dbb2f71fdc feat:(slots UI): functional slots 2024-04-28 12:53:51 -07:00
Rachel Powers
c87d3f8bd8 feat(slots UI): better slot UI 2024-04-28 12:53:13 -07:00
Rachel Powers
eb4463c8ab perf: improve slot UI + device search speedup
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2024-04-28 12:52:43 -07:00
Rachel Powers
c1a451ad47 docs: improve help string patches + unwrap translation strings
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2024-04-28 12:52:16 -07:00
Rachel Powers
17907151b3 feat(slots UI): much better slot occupant card 2024-04-28 12:48:05 -07:00