Commit Graph

195 Commits

Author SHA1 Message Date
Rachel Powers
48fbe671ff refactor(vm) cleanup errors 2024-05-07 23:09:08 -07:00
Rachel Powers
5cc935b826 refactor(vm) helpful codegen round 1~ 2024-05-07 21:59:06 -07:00
Rachel Powers
2d8b35c5b2 refactor(vm): generic impls for generic Objects (not implimented with special logic)
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2024-05-01 16:17:24 -07:00
Rachel Powers
c3182035ae refactor(vm): use proper repr on generated enums if possible, generate stationpedia prefab enum
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2024-04-30 21:15:13 -07:00
Rachel Powers
6bdc6f210b refactor(vm::objects): Establixh base object macros and traits
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2024-04-30 17:57:43 -07:00
Rachel Powers
a3321636b8 refactor: intorduction of a macro enabled Object trait
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2024-04-30 11:26:40 -07:00
Rachel Powers
2536af81e2 start building macros for VMObject trait
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2024-04-30 11:26:33 -07:00
Rachel Powers
e39a3171c7 bump version to 0.2.3
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2024-04-29 22:31:41 -07:00
Rachel Powers
0510ab057f Merge pull request #32 from Emilgardis/fix-mod
Fix `mod` instruction and bit-wise operations
2024-04-29 18:07:36 -07:00
Emil Gardström
ed8cdb575c fix bitwise operations 2024-04-29 17:30:01 +02:00
Emil Gardström
a6af244080 use more correct logic for mod 2024-04-29 13:23:28 +02:00
Rachel Powers
078e2bb05a make sure device pins can be set and fix device update events for device removal 2024-04-28 14:56:49 -07:00
Rachel Powers
fc0729cad3 Merge pull request #30 from Ryex/slots-inprovment
Slots inprovment
2024-04-28 13:54:01 -07:00
Rachel Powers
7c05e841ae chore: update Changelog 2024-04-28 13:20:27 -07:00
Rachel Powers
8564709e68 chore: changelog tools 2024-04-28 12:55:54 -07:00
Rachel Powers
4ac823a1bc fix: device id change UI event chain fixed; changing the Active IC's ID no longer breaks the UI 2024-04-28 12:55:02 -07:00
Rachel Powers
f580cb2c53 Cleanup
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2024-04-28 12:55:00 -07:00
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
e2cf366e5f ci: fix actions perms
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2024-04-28 12:54:52 -07:00
Rachel Powers
f1ef88a367 prevent git comment, also tag status
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2024-04-28 12:54:51 -07:00
Rachel Powers
1af36b5631 issues permissions
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2024-04-28 12:54:50 -07:00
Rachel Powers
4e3dcda035 ci: use new preview deploy action
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2024-04-28 12:54:36 -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
6cc2189921 perf: vastly improve load speed
- delay render non visable device tabs

in the future there are some significant speed gains to be made by
limiting calls into the rust VM for data. serialize it all up front.

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2024-04-28 12:54:13 -07:00
Rachel Powers
dbb2f71fdc feat:(slots UI): functional slots 2024-04-28 12:53:51 -07:00
Rachel Powers
19c85c1078 properly set occupant hash, max quantity, sorting class 2024-04-28 12:53:47 -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
a55419394c fix demo preset icslot not having proper prefabhash 2024-04-28 12:52:11 -07:00
Rachel Powers
17907151b3 feat(slots UI): much better slot occupant card 2024-04-28 12:48:05 -07:00
Rachel Powers
d240095020 refactor device.ts to split up code 2024-04-22 18:28:59 -07:00
Rachel Powers
e18698dae0 fix sl-divider
(tailwindcss was clobering it's border display)

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2024-04-22 16:11:25 -07:00
Rachel Powers
cba4abd34f fix Changelog dialog label
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2024-04-22 15:55:20 -07:00
Rachel Powers
f6ce5b5788 Update CHANGELOG.md
Co-authored-by: Emil Gardström <emil.gardstrom@gmail.com>
2024-04-22 15:53:18 -07:00
Rachel Powers
50312dbfad update changelog
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2024-04-22 15:50:16 -07:00
Rachel Powers
4333a43612 don't just unwrap number prase during grammer, fixes #28
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2024-04-22 15:47:22 -07:00
Rachel Powers
05de77698c add status check to preview deploy
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2024-04-22 15:06:48 -07:00
Rachel Powers
e6b8f20c81 fixup workflow perms
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2024-04-22 15:01:44 -07:00
Rachel Powers
762295696c add deploy-previews to pull requests
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2024-04-22 14:37:50 -07:00
Rachel Powers
61e4d418b3 ensure build path for netlify
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2024-04-22 14:24:44 -07:00
Rachel Powers
f70cb0ce79 preview deploy action
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2024-04-22 14:18:35 -07:00
Rachel Powers
982fe4771c bump version 0.2.1
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2024-04-22 13:32:04 -07:00
Rachel Powers
454228385d Merge pull request #25 from Emilgardis/fix-batch
Fix named types/modes
2024-04-22 13:25:38 -07:00
Rachel Powers
255dc4221f Merge pull request #26 from Ryex/ensure_no_borrow_errors
move mutability within IC struct to limit borrow panics
2024-04-22 13:25:17 -07:00
Rachel Powers
98aa57fd8c fix unneeded borrow_mut of ic
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2024-04-22 13:23:57 -07:00
Rachel Powers
16e11c5bce test generated enums have values + report parse errors 2024-04-22 13:14:07 -07:00
Emil Gardström
d50803b03f Fix named types/modes 2024-04-21 23:48:09 +02:00
Rachel Powers
f1b68e18b8 move mutability within IC struct to limit borrow panics 2024-04-21 14:01:16 -07:00