Commit graph

  • ff14443102 Complete the rewrite Renderables no longer get wrapped in computed refs, because JSX.Elements don't like that (desyncs with the DOM) Relatedly, a lot of display functions got fairly simplified, removing unnecessary local components Added MaybeGetter utility type for something that may be a getter function or a static value (but not a ref) Made Achievement.vue use a Renderable for the display. The object of components can still be passed to createAchievement Made Challenge.vue use a Renderable for the display. The object of components can still be passed to createChallenge Fixed some issues introduced by the rewrite that broke particles systems feat/board-feature-rewrite thepaperpilot 2024-12-11 13:58:14 -0600
  • ffd9529e9a Merge remote-tracking branch 'template/feature/feat-and-board-rewrite' into feat/board-feature-rewrite thepaperpilot 2024-12-03 22:11:01 -0600
  • 83d41428eb Feature rewrite - Removed jsx() and JSXFunction. You can now use JSX.Element like any other Computable value - joinJSX now always requires a joiner. Just pass the array of elements or wrap them in <> and </> if there's no joiner - Removed coerceComponent, computeComponent, and computeOptionalComponent; just use the render function now - It's recommended to now do <MyComponent /> instead of <component :is="myComponent" /> - All features no longer take the options as a type parameter, and all generic forms have been removed as a result - Fixed forceHideGoBack not being respected - Removed deepUnref as now things don't get unreffed before being passed into vue components by default - Moved MarkNode to new wrapper, and removed existing mark properties - Moved Tooltip to new wrapper, and made it take an options function instead of raw object - VueFeature component now wraps all vue features, and applies styling, classes, and visibility in the wrapping div. It also adds the Node component so features don't need to - mergeAdjacent now works with grids (perhaps should've used scss to reduce the amount of css this took) - CoercableComponent renamed to Renderable since it should be used with render - Replaced isCoercableComponent with isJSXElement - Replaced Computable and ProcessedComputable with the vue built-ins MaybeRefOrGetter and MaybeRef - convertComputable renamed to processGetter - Also removed GetComputableTypeWithDefault and GetComputableType, which can similarly be replaced - dontMerge is now a property on rows and columns rather than an undocumented css class you'd have to include on every feature within the row or column - Fixed saves manager not being imported in addiction warning component - Created vueFeatureMixin for simplifying the vue specific parts of a feature. Passes the component's properties in explicitly and directly from the feature itself - All features should now return an object that includes props typed to omit the options object and satisfies the feature. This will ensure type correctness and pass-through custom properties. (see existing features for more thorough examples of changes) - Replaced decorators with mixins, which won't require casting. Bonus amount decorators converted into generic bonus amount mixin. Removed effect decorator - All render functions now return JSX.Element. The JSX variants (e.g. renderJSX) (except joinJSX) have been removed - Moved all features that use the clickable component into the clickable folder - Removed small property from clickable, since its a single css rule (min-height: unset) (you could add a small css class and pass small to any vue feature's classes property, though) - Upgrades now use the clickable component - Added ConversionType symbol - Removed setDefault, just use ??= - Added isType function that uses a type symbol to check - General cleanup thepaperpilot 2024-11-19 08:32:45 -0600
  • 99511288c9 Merge branch 'feat/update-deps' into feat/board-rewrite thepaperpilot 2024-11-29 07:52:52 -0600
  • 4987916900 Fix last lint issue thepaperpilot 2024-10-20 13:51:31 -0500
  • 528e703c88 Ran lint:fix thepaperpilot 2024-10-20 11:46:09 -0500
  • 6c8dd66677 Remove _props abstraction (fixes #2) thepaperpilot 2024-10-20 06:27:24 -0500
  • 1e5411d279 Remove processedPropType and convert all components to composition API thepaperpilot 2024-10-20 05:47:59 -0500
  • ccd685cb9c Update node thepaperpilot 2024-10-19 06:13:24 -0500
  • 5ce3e64f5d Remove node install thepaperpilot 2024-10-19 06:08:12 -0500
  • a676829d66 Add rollup for linux thepaperpilot 2024-10-19 06:05:00 -0500
  • 3eeff40910 Update container version thepaperpilot 2024-10-19 05:34:32 -0500
  • 052a01d3f7 Fix build issues thepaperpilot 2024-10-18 09:26:10 -0500
  • bd165da264 Update deps some more thepaperpilot 2024-10-18 09:11:58 -0500
  • c93418bfec Fix merge thepaperpilot 2024-10-18 08:49:17 -0500
  • 88abd53faf Update eslint and prettier thepaperpilot 2024-03-18 00:27:57 -0500
  • 80d7a743bc Update TS thepaperpilot 2024-03-17 23:28:57 -0500
  • 2dab35f7cf Update vue thepaperpilot 2024-03-17 21:55:45 -0500
  • dc8d0ecc95 Update pixi (while staying at v6 until particle-emitter supports v8) thepaperpilot 2024-03-17 13:30:04 -0500
  • 707aacc383 Update vitest thepaperpilot 2024-03-17 13:23:41 -0500
  • 1e13da1129 Revert "Add link to docs in setupDraggableNode docstring" thepaperpilot 2024-03-12 21:52:19 -0500
  • 643bfccada Add link to docs in setupDraggableNode docstring thepaperpilot 2024-03-10 09:37:02 -0500
  • f9c59f7636 Revert changes in /data. Check the board-example branch for them instead thepaperpilot 2024-03-10 09:27:31 -0500
  • 99227a2cb2 Move common board node CSS to class thepaperpilot 2024-03-09 20:52:02 -0600
  • e0da9588d2 Move board to src/game thepaperpilot 2024-03-09 20:36:41 -0600
  • 46d0a9aa2e Add some tests for boards thepaperpilot 2024-03-09 13:42:17 -0600
  • c6035f9077 Document boards thepaperpilot 2024-03-08 17:06:54 -0600
  • 8745304631 Fix upgrade purchasing on drag thepaperpilot 2024-03-03 22:31:20 -0600
  • 5b33a0fceb Perf optimization thepaperpilot 2024-03-03 22:17:16 -0600
  • 6a17bbc29c Use z-index to avoid changing render order thepaperpilot 2024-03-03 22:17:06 -0600
  • a75c8d81f8 Add cnodes thepaperpilot 2024-03-03 20:26:00 -0600
  • c64ac82a25 Add support for rendering VueFeatures in boards thepaperpilot 2024-03-03 19:59:26 -0600
  • 1cbe97251c WIP on rewriting board thepaperpilot 2024-02-28 23:19:11 -0600
  • 6ba25f9abd Removed dynamic imports thepaperpilot 2024-03-17 12:55:41 -0500
  • 673f7790c7 Switch from CJS to ESM thepaperpilot 2024-03-17 12:17:53 -0500
  • ae45f9bc2f Bump some minor dependencies thepaperpilot 2024-03-17 12:02:51 -0500
  • 8a9e106157 Update vite dependencies thepaperpilot 2024-03-17 10:45:17 -0500
  • 90300ce848 Update fontsource dependencies thepaperpilot 2024-03-17 10:18:18 -0500
  • 2b861c3fcf Fix Links.vue checking startNode twice instead of both nodes thepaperpilot 2024-10-17 16:14:59 +0000
  • 9debfe6fb4 Unref hotkey descriptions thepaperpilot 2024-04-12 07:10:24 -0500
  • 9f25d7f58f Fix more modal paths thepaperpilot 2024-04-12 07:08:17 -0500
  • 239ae7c94a Update saves bank path thepaperpilot 2024-04-12 07:04:52 -0500
  • 2d28be84a9 Add modal to take a mental health break thepaperpilot 2024-03-17 00:50:22 -0500
  • c6389317d0 Version Bump thepaperpilot 2024-03-29 00:49:58 -0500
  • b98f6db1c4 Move printFormula to Formula.stringify and add tests for it thepaperpilot 2024-02-13 06:48:02 -0600
  • 563eaa7539 Lint thepaperpilot 2024-03-29 00:19:57 -0500
  • b88fa68874 Fix extends syntax thepaperpilot 2024-02-23 07:37:48 -0600
  • 90d0307cf0 Add hotkey tests, make them pass Includes updating vitest and supporting hotkeys with both ctrl+shift thepaperpilot 2024-02-23 01:48:20 -0600
  • dfb14acc6e Allow null and undefined values in persistent refs thepaperpilot 2024-03-03 19:24:24 -0600
  • 68e6e3f37a Revert "Add link to docs in setupDraggableNode docstring" thepaperpilot 2024-03-12 21:52:19 -0500
  • 1c7824b550 Add link to docs in setupDraggableNode docstring thepaperpilot 2024-03-10 09:37:02 -0500
  • 1b267edc32 Revert changes in /data. Check the board-example branch for them instead thepaperpilot 2024-03-10 09:27:31 -0500
  • 0e7ca27e3b Move common board node CSS to class thepaperpilot 2024-03-09 20:52:02 -0600
  • 2cfa450d96 Move board to src/game thepaperpilot 2024-03-09 20:36:41 -0600
  • ad421ac759 Add some tests for boards thepaperpilot 2024-03-09 13:42:17 -0600
  • 68b1401c2a Document boards thepaperpilot 2024-03-08 17:06:54 -0600
  • 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) thepaperpilot 2024-03-03 19:30:13 -0600
  • 660528ea00 Update package-lock.json to new commit hash thepaperpilot 2024-02-20 22:23:16 -0600
  • b855139ab4 Fixed issues until it fully worked on Galaxy proper thepaperpilot 2024-02-18 17:14:04 -0600
  • c85bca110b Sync cloud saves every minute thepaperpilot 2024-02-18 10:51:50 -0600
  • d237201339 Update sdk thepaperpilot 2024-02-18 10:47:10 -0600
  • 389e8ad1e1 Move unofficial sdk to repo thepaperpilot 2024-02-17 18:02:03 -0600
  • f6dec5c614 Sync deleting saves to cloud thepaperpilot 2024-02-17 16:57:16 -0600
  • af4229ebdd Attention grabber on saves manager when active save isn't synced thepaperpilot 2024-02-17 16:50:39 -0600
  • 7a6f249f58 Add warning to saves manager when not all saves are synced thepaperpilot 2024-02-17 16:37:39 -0600
  • 5c6ea01990 Add synced icon to saves in saves manager thepaperpilot 2024-02-17 16:31:13 -0600
  • f970b658ff Add "Keep Both" button thepaperpilot 2024-02-17 15:57:03 -0600
  • ece7ed2923 Add save conflict resolver thepaperpilot 2024-02-17 10:23:18 -0600
  • cfba55d2c6 Add galaxy api thepaperpilot 2024-02-16 13:17:40 -0600
  • b2d7a9ea1d Merge pull request 'Add eslint workflow action and CONTRIBUTING.md that says to lint first' (#66) from thepaperpilot/Profectus:feat/enforce-eslint into main thepaperpilot 2024-03-06 04:45:20 +0000
  • 17b878e3be Fix upgrade purchasing on drag thepaperpilot 2024-03-03 22:31:20 -0600
  • 3fd8375031 Perf optimization thepaperpilot 2024-03-03 22:17:16 -0600
  • aca56f6af6 Use z-index to avoid changing render order thepaperpilot 2024-03-03 22:17:06 -0600
  • f0e831ee8f Add cnodes thepaperpilot 2024-03-03 20:26:00 -0600
  • 1acfde134b Add support for rendering VueFeatures in boards thepaperpilot 2024-03-03 19:59:26 -0600
  • df9ba59a1a Merge branch 'main' into feat/enforce-eslint thepaperpilot 2024-03-04 01:26:29 +0000
  • 424bde0cdd WIP on rewriting board thepaperpilot 2024-02-28 23:19:11 -0600
  • b40d4bef32 Allow both cases in shift+hotkeys escapee 2024-02-21 11:13:17 -0800
  • f7a8fbbb11 Lint thepaperpilot 2024-02-20 22:38:49 -0600
  • 5f8e35478d Merge remote-tracking branch 'upstream/main' into feat/enforce-eslint thepaperpilot 2024-02-20 22:37:17 -0600
  • 64fad5c74a PR Feedback thepaperpilot 2024-02-20 22:16:20 -0600
  • 1f22f506dd Add tests for tree reset propagation thepaperpilot 2024-02-13 08:25:32 -0600
  • d3faec6a66 Add Nodes to the text that can disappear in projEntry thepaperpilot 2024-02-17 19:04:55 -0600
  • a39e65852d Remove unused imports thepaperpilot 2024-02-20 19:23:14 -0600
  • 1e2b20a70f PR feedback thepaperpilot 2024-02-20 15:10:59 +0000
  • 2e0e221010 Made modifier typing a lot less nasty thepaperpilot 2024-02-20 08:32:03 -0600
  • 4092cd6d56 Add regression test for modifier.getFormula respecting enabled thepaperpilot 2024-02-13 06:48:56 -0600
  • 44fcc9753f Deploying to pages from @ profectus/TMT-Demo@18de3d9f32 🚀 pages thepaperpilot 2024-02-18 15:39:23 +0000
  • eb2e784873 Initial pages commit thepaperpilot 2024-02-18 15:39:23 +0000
  • 18de3d9f32 Fix merge issue main thepaperpilot 2024-02-18 09:38:15 -0600
  • 7df42f3185 Merge remote-tracking branch 'template/main' thepaperpilot 2024-02-18 09:12:04 -0600
  • fa2d7cb53a Merge branch 'main' into feat/enforce-eslint thepaperpilot 2024-02-18 02:17:01 +0000
  • 143b0773e7 Add eslint workflow action and CONTRIBUTING.md that says to lint first thepaperpilot 2024-02-17 20:16:00 -0600
  • cba79df80d Merge pull request 'Fix branchedResetPropagation' (#57) from nif/Profectus-Niffix:main into main thepaperpilot 2024-02-14 17:39:06 +0000
  • 04a5e963ab Merge branch 'main' into main thepaperpilot 2024-02-14 17:38:53 +0000
  • 263c951cf8 Requested changes TJCgames 2024-02-14 15:56:18 +0000
  • 1b809a9550 Merge pull request 'Keep disabled modifiers when making formulas' (#56) from escapee/profectus-template:main into main thepaperpilot 2024-02-13 05:18:01 +0000
  • 5e32fa4985 Fix branchedResetPropagation nif 2024-02-12 19:46:31 +0000
  • cf6265d8ce Keep disabled modifiers when making formulas Seth Posner 2024-02-12 07:58:39 -0800
  • 4f807aaf96 Merge pull request 'Add forgejo workflows support' (#53) from thepaperpilot/Profectus:main into main thepaperpilot 2024-02-11 19:43:37 +0000