Commit graph

782 commits

Author SHA1 Message Date
563eaa7539 Lint 2024-03-29 00:19:57 -05:00
90d0307cf0 Add hotkey tests, make them pass
Includes updating vitest and supporting hotkeys with both ctrl+shift
2024-03-28 23:40:46 -05:00
dfb14acc6e Allow null and undefined values in persistent refs 2024-03-29 04:39:56 +00:00
68e6e3f37a Revert "Add link to docs in setupDraggableNode docstring"
This reverts commit 1c7824b550.
2024-03-12 21:52:19 -05:00
1c7824b550 Add link to docs in setupDraggableNode docstring 2024-03-10 09:37:02 -05:00
1b267edc32 Revert changes in /data. Check the board-example branch for them instead 2024-03-10 09:27:31 -05:00
0e7ca27e3b Move common board node CSS to class 2024-03-09 21:59:17 -06:00
2cfa450d96 Move board to src/game 2024-03-09 20:36:41 -06:00
ad421ac759 Add some tests for boards 2024-03-09 13:42:17 -06:00
68b1401c2a Document boards 2024-03-08 17:06:54 -06:00
c30724d907 Make disabled elements not eat up mouse events
Browsers make disabled elements eat events rather than let them bubble up
This allows containers with disabled elements to have listeners still
(Used specifically so after the board rewrite, purchased upgrades can still be dragged)
2024-03-08 12:19:52 +00:00
b855139ab4 Fixed issues until it fully worked on Galaxy proper 2024-03-05 22:47:29 -06:00
c85bca110b Sync cloud saves every minute 2024-03-05 22:47:29 -06:00
389e8ad1e1 Move unofficial sdk to repo 2024-03-05 22:47:28 -06:00
f6dec5c614 Sync deleting saves to cloud 2024-03-05 22:47:28 -06:00
af4229ebdd Attention grabber on saves manager when active save isn't synced 2024-03-05 22:47:28 -06:00
7a6f249f58 Add warning to saves manager when not all saves are synced 2024-03-05 22:47:28 -06:00
5c6ea01990 Add synced icon to saves in saves manager 2024-03-05 22:47:28 -06:00
f970b658ff Add "Keep Both" button 2024-03-05 22:47:28 -06:00
ece7ed2923 Add save conflict resolver 2024-03-05 22:47:27 -06:00
cfba55d2c6 Add galaxy api 2024-03-05 22:47:11 -06:00
17b878e3be Fix upgrade purchasing on drag 2024-03-03 22:31:20 -06:00
3fd8375031 Perf optimization 2024-03-03 22:17:16 -06:00
aca56f6af6 Use z-index to avoid changing render order 2024-03-03 22:17:06 -06:00
f0e831ee8f Add cnodes 2024-03-03 20:26:00 -06:00
1acfde134b Add support for rendering VueFeatures in boards 2024-03-03 19:59:26 -06:00
df9ba59a1a Merge branch 'main' into feat/enforce-eslint 2024-03-04 01:26:29 +00:00
424bde0cdd WIP on rewriting board 2024-02-28 23:19:11 -06:00
escapee
b40d4bef32 Allow both cases in shift+hotkeys 2024-02-21 19:21:18 +00:00
f7a8fbbb11 Lint 2024-02-20 22:38:49 -06:00
5f8e35478d Merge remote-tracking branch 'upstream/main' into feat/enforce-eslint 2024-02-20 22:37:17 -06:00
1f22f506dd Add tests for tree reset propagation 2024-02-21 04:15:49 +00:00
d3faec6a66 Add Nodes to the text that can disappear in projEntry 2024-02-21 04:08:59 +00:00
a39e65852d Remove unused imports 2024-02-21 01:25:52 +00:00
2e0e221010 Made modifier typing a lot less nasty 2024-02-21 01:25:52 +00:00
4092cd6d56 Add regression test for modifier.getFormula respecting enabled 2024-02-21 01:25:52 +00:00
18de3d9f32 Fix merge issue
Some checks failed
Build and Deploy / build-and-deploy (push) Successful in 1m2s
Run Tests / test (push) Failing after 2m15s
2024-02-18 09:38:15 -06:00
7df42f3185 Merge remote-tracking branch 'template/main'
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 54s
Run Tests / test (push) Failing after 53s
2024-02-18 09:12:04 -06:00
fa2d7cb53a Merge branch 'main' into feat/enforce-eslint 2024-02-18 02:17:01 +00:00
143b0773e7 Add eslint workflow action and CONTRIBUTING.md that says to lint first 2024-02-17 20:16:00 -06:00
04a5e963ab Merge branch 'main' into main 2024-02-14 17:38:53 +00:00
263c951cf8 Requested changes 2024-02-14 15:56:18 +00:00
nif
5e32fa4985 Fix branchedResetPropagation
BREAKING CHANGE - Forces branches to be directed

Signed-off-by: nif <nif@incremental.social>
2024-02-12 19:46:31 +00:00
Seth Posner
cf6265d8ce Keep disabled modifiers when making formulas 2024-02-12 07:58:39 -08:00
Seth Posner
7750a3368d Swap logic for nextAt display 2023-11-13 14:09:48 -08:00
a5204106aa Forgot to comment the other signature 2023-10-11 21:44:02 -05:00
0cccf7aecc Add isRendered utility 2023-10-11 21:39:01 -05:00
eee5ac3e2d Fix passthroughs for inversions and make more operations invertible 2023-05-30 22:54:46 -05:00
9edda4d957 Make links ignore pointer events 2023-05-22 21:41:53 -05:00
6ad08c4052 Fix camelCase props not working on links 2023-05-21 17:27:29 -05:00
e0f1296b35 Rename "The Paper Pilot Community" to "Profectus & Friends" 2023-05-20 21:56:46 -05:00
c8ba77b89b Fix Direction.Left bars 2023-05-20 21:24:59 -05:00
d6c9f95851 Fix error about pinnable tooltips 2023-05-20 08:28:27 -05:00
210c2290f0
Fix #9 2023-05-19 10:12:24 -05:00
a5efed6e4a Add export save button to error component 2023-05-18 18:57:15 -05:00
3b7436ab89 Clarify progress is from 0 to 1 2023-05-18 18:57:10 -05:00
56279e3794 Fix thrown errors not appearing in console 2023-05-17 20:05:54 -05:00
73f20d6eb5 Merge branch 'feature/requirements-refactor' 2023-05-17 18:35:25 -05:00
7deacb41e1 Fixed tests 2023-05-17 08:23:10 -05:00
056aa4d2f7 Fix reset button showing currentAt if buyMax is true 2023-05-17 08:15:27 -05:00
3e23555b25 Fixed tests 2023-05-17 00:37:33 -05:00
a55f99daed Fix merge conflicts 2023-05-17 00:01:28 -05:00
ab3b180db8 Improve error handling 2023-05-16 23:49:25 -05:00
539282bef8 Improve error handling 2023-05-16 23:49:06 -05:00
d3a74da5ab Add utility for getting requirement that's met when a conversion can convert 2023-05-15 21:16:28 -05:00
500e412fdb Rebalance resource levels and implement portal costs 2023-05-15 21:10:52 -05:00
bbe0aaa31e Fix directSum breaking formulas 2023-05-14 18:51:15 -05:00
f8095a9694 Made calculateMaxAffordable, calculateCost, and cost requirements interface a bit cleaner 2023-05-14 18:51:15 -05:00
Seth Posner
d7a2049ca2 Make effect decorator generic 2023-05-14 18:50:19 -05:00
006bfdf65d Make node links follow dragging 2023-05-14 18:30:59 -05:00
0991ef0865 Fix some persistence issues 2023-05-13 17:14:29 -05:00
d4f0069dd5 Fix repeatables not buying max correctly 2023-05-12 17:08:11 -05:00
9fa5ec971a Move amount check in bonus amount decorator to postConstruct 2023-05-12 10:59:59 -05:00
502fa99f5d Show selected node above others 2023-05-12 09:40:12 -05:00
8284baa1a0 Fix step-wise formulas causing issues with reactivity 2023-05-12 01:40:51 -05:00
213bdd6005 More board optimizations 2023-05-12 01:40:45 -05:00
2f3ae85eb1 Fix recursive rendering when panning 2023-05-12 01:40:22 -05:00
866685de2d Simplify TPS 2023-05-12 01:40:17 -05:00
cb4830e06b Fix reset typing 2023-05-10 00:35:16 -05:00
0e1915f511 Fix conversion utility showing currentAt instead of nextAt 2023-05-07 21:51:21 -05:00
4d7f03d543 Fix crash when calculating formula cost
Happened when spend resource was false and the formula was non-integrable, but the amount to buy were all going to be summed anyways
2023-05-05 19:11:57 -05:00
3413585c45 Fix bar misalignment on actions 2023-05-03 15:51:18 -05:00
dbdcf19b6d Fix actions not being constructible 2023-05-01 08:20:45 -05:00
8dd2cbe466 Make upgrade.canPurchase return false when already bought 2023-04-30 13:17:15 -05:00
04f14c17bd Fix extends undefined checks 2023-04-30 11:49:49 -05:00
5d17d67e00 Fix repeatable amount display 2023-04-30 11:49:47 -05:00
bffc27344a Fixed isInvertible and isIntegrable not working nested correctly 2023-04-30 11:49:43 -05:00
ff16397cc7 Fix bug with estimateTime not showing "Never" when it should 2023-04-27 22:49:47 -05:00
81058e10b4 Throw error if lazy proxies get cyclical 2023-04-27 20:41:20 -05:00
36fa4ece65 Fix mouse leave deselecting nodes 2023-04-25 23:51:48 -05:00
6f985fd55b Correct doc for actionDistance 2023-04-23 19:31:39 -05:00
7b59fcfc38 Don't capitalize all tree nodes 2023-04-23 16:55:45 -05:00
4980074d26 Fixed board.selectedAction setter not working 2023-04-23 16:44:57 -05:00
066ef71395 Made node text easier to read 2023-04-23 14:16:27 -05:00
425e85a1ee Add function to boards for placing nodes in the next available space 2023-04-23 10:00:40 -05:00
c08ea9ce85 Make selectedNode and selectedAction writable 2023-04-23 00:40:10 -05:00
3808f299ec Fix canAccept not passing in otherNode 2023-04-23 00:40:07 -05:00
2999c971cf Expose current dragging and receiving nodes 2023-04-23 00:40:03 -05:00
9707ceb66d Fix build issue 2023-04-22 23:20:41 -05:00
962e789e1d Added way to customize board action confirmation label 2023-04-22 23:14:05 -05:00