Commit Graph

71 Commits

Author SHA1 Message Date
Daan Vanden Bosch
a8b1a00e06 All code now compiles with Kotlin 2.0.0 and all tests pass. 2024-07-18 18:24:10 +02:00
Daan Vanden Bosch
e10ac484d7 Made cell implementations internal and added some factory methods. 2022-11-01 17:41:48 +01:00
Daan Vanden Bosch
82524f1f2d Removed Observable from observable project and renamed observable project to cell. Cell is now the most basic interface for users. 2022-06-04 21:33:29 +02:00
Daan Vanden Bosch
9cc6c51b9c Added mutateDeferred and made some other changes to avoid having to use setTimeout to change observables in response to observables changing. This fixes some unit tests. 2022-05-11 17:07:32 +02:00
Daan Vanden Bosch
9aa963fd3b Implemented most of the new observable algorithm. 2022-05-10 14:00:43 +02:00
Daan Vanden Bosch
0cea2d816d Renamed FilteredListCell to SimpleFilteredListCell. Added a more complex version of FilteredListCell with bugs which highlighted a fundamental problem with the observable system. Various other improvements to the observable system. 2022-04-23 22:14:10 +02:00
Daan Vanden Bosch
89ea739c65 Improved observable API and slightly simplified implementation of some observables. 2021-12-04 20:55:12 +01:00
Daan Vanden Bosch
4792dc1172 Slightly optimized bindChildrenTo for the frequent case where all list cell elements have been replaced. 2021-12-03 22:22:26 +01:00
Daan Vanden Bosch
e492b28aac Fixed bug that made some table cells unselectable when table controller had no loadingStatus. 2021-12-03 22:22:26 +01:00
Daan Vanden Bosch
ecb95b5f5e Turned most cell convenience methods into extension methods to avoid circular dependencies between different cell implementations. Added simple implementation of ListCell<E>.sortedWith and ListCell<E>.filtered with predicate cell. 2021-12-03 22:22:26 +01:00
Daan Vanden Bosch
f10a4ebe6c Improved LoadingStatusCell and its usage in Table, TableController and HuntMethodStore. Added a unit test for MethodsForEpisodeController. 2021-12-02 22:08:26 +01:00
Daan Vanden Bosch
3e17865346 Added LoadingStatusCell, a cell that shows the status of some loadable data. Table and TableController make use of it to show a notification on the first load and on errors. 2021-11-30 22:17:59 +01:00
Daan Vanden Bosch
9653a982c0 Improvements to JS-specific code and documentation and added a unit test. 2021-11-28 19:11:16 +01:00
Daan Vanden Bosch
fab0c5a77a Using fontawesome JS SVG core API instead of simple API. 2021-09-17 16:06:44 +02:00
Daan Vanden Bosch
fab1f90975 Updated all code that used deprecated Kotlin APIs. 2021-07-24 21:06:22 +02:00
Daan Vanden Bosch
89b88a0a2d Put all shared build logic in precompiled gradle conventions plugins. 2021-07-24 20:13:02 +02:00
Daan Vanden Bosch
403e03b0ee Event actions now have a "Go to event" button. 2021-06-19 11:17:17 +02:00
Daan Vanden Bosch
e5c1c81be3 Propagation of changes to observables can now be deferred until the end of a code block. 2021-05-30 15:16:58 +02:00
Daan Vanden Bosch
327dfe79bb Observables will now always see a consistent view of their dependencies when they change. 2021-05-27 15:00:19 +02:00
Daan Vanden Bosch
3af3f65c43 Renamed Val to Cell. 2021-05-02 18:46:42 +02:00
Daan Vanden Bosch
955d7dad29 Greatly improved script assembly performance. 2021-04-19 21:53:15 +02:00
Daan Vanden Bosch
fc64f62285 The 3D view now updates when a different area variant is configured for the current area. Undo/redo of entity translations now works more or less correctly even when a different area variant is now active. Fixed a bug that resulted in double onChange calls when editing an input field. 2021-04-17 11:37:16 +02:00
Daan Vanden Bosch
0112281b1a "Save" now works as expected after "Saving as". 2021-04-16 20:47:02 +02:00
Daan Vanden Bosch
5133235040 "Save" and "Save as..." buttons are now disabled while saving, mainly as visual feedback that a save happened. 2021-04-15 21:40:43 +02:00
Daan Vanden Bosch
4b8241ba80 Existing files can now be saved directly with the "Save" button or Ctrl-S. 2021-04-15 16:16:00 +02:00
Daan Vanden Bosch
329e067a17 The file system access API is now used for opening files when supported by the browser. 2021-04-14 20:35:59 +02:00
Daan Vanden Bosch
5be29df0ac Upgraded to ThreeJS r127. The viewer can now load n.rel and c.rel geometry files. 2021-04-08 15:01:03 +02:00
Daan Vanden Bosch
874cff7ae5 All viewer animation controls are now ported. 2021-03-26 19:56:48 +01:00
Daan Vanden Bosch
2c96d8cba0 Renamed ListValChangeEvent to ListChangeEvent and added some documentation. 2021-03-19 21:46:08 +01:00
Daan Vanden Bosch
b9339ac2b4 Added some observable unit tests and fixed a bug. Switched to junit 5 to support interfaces with @Test annotated concrete methods for "mixin" tests. 2021-03-19 21:32:57 +01:00
Daan Vanden Bosch
b972bddc15 Fixed compilation warnings. 2021-03-18 20:43:03 +01:00
Daan Vanden Bosch
3fb631c32b Added some unit tests to observable and fixed some bugs. 2021-03-18 18:58:50 +01:00
Daan Vanden Bosch
70d8e0f6af Fixed performance issue in events widget. 2021-03-17 20:55:08 +01:00
Daan Vanden Bosch
c0e42273ee Hunt optimizer result totals are now shown. Hunt optimizer is now fully ported to Kotlin. 2021-03-15 19:37:18 +01:00
Daan Vanden Bosch
478842ddab Hunt optimizer results are now calculated again. 2021-03-14 22:52:30 +01:00
Daan Vanden Bosch
e21bce7695 Table can now have a changing amount of columns. 2021-03-13 15:39:56 +01:00
Daan Vanden Bosch
871a61aa42 Ported addition and removal of wanted items to the hunt optimizer. 2020-12-29 20:07:17 +01:00
Daan Vanden Bosch
71669642ae Quests can be saved again. 2020-12-22 23:05:11 +01:00
Daan Vanden Bosch
bc3979da11 Entity-specific properties are editable again. 2020-12-21 21:45:29 +01:00
Daan Vanden Bosch
d0a4dbd6c7 Improved DockWidget. 2020-12-21 17:05:27 +01:00
Daan Vanden Bosch
2905fec830 Increased 3D view zoom speed and tweaked hunt method table style. 2020-12-21 14:25:09 +01:00
Daan Vanden Bosch
c6e43516ec Decreased font and control sizes for improved information density. 2020-12-21 13:46:19 +01:00
Daan Vanden Bosch
577143c2d3 Finished porting all basic event features. 2020-12-20 17:48:35 +01:00
Daan Vanden Bosch
634bcc91df Added events widget and fixed several bugs. 2020-12-20 01:22:27 +01:00
Daan Vanden Bosch
0f7189ab33 Added character class options to the viewer again. 2020-12-12 13:39:04 +01:00
Daan Vanden Bosch
7433216982 It's now possible to view character class models again in the viewer. 2020-12-11 18:18:02 +01:00
Daan Vanden Bosch
c3927729ad Hunt method tables now show correct data again and times can be edited and persisted again. 2020-12-09 22:03:10 +01:00
Daan Vanden Bosch
41f8e53efc Added hunt method tables with dummy data. 2020-12-08 21:13:29 +01:00
Daan Vanden Bosch
dc0615e1d2 Ported various features. 2020-12-05 21:48:26 +01:00
Daan Vanden Bosch
515cba5555 Entities can be dragged and dropped again. 2020-12-02 21:03:42 +01:00