Commit Graph

35 Commits

Author SHA1 Message Date
Daan Vanden Bosch
02708a0436 Static data formats now conform to the rest of the project's code style. 2020-01-01 16:05:23 +01:00
Daan Vanden Bosch
de20e7b82f - Bugfix: FlatMappedListProperty wouldn't recompute its value and emit an event when it's computed property changed
- Event section IDs are now immutable
- Top level events can now be added
2019-12-27 23:33:34 +01:00
Daan Vanden Bosch
c8b0025096 - Moved Persister to core/persistence
- Simplified number_to_hex_string and reused it in disassembly.ts
- Fixed sporadic layout issue with ApplicationView
2019-12-27 03:16:52 +01:00
Daan Vanden Bosch
994afa7387 Refactored HTML element creation code. Removed PropertyChangeEvent, properties don't emit their old value anymore. Added an EventsController and moved some code from EventsView and QuestEditorStore to it. 2019-12-27 00:55:32 +01:00
Daan Vanden Bosch
99d50d754d Replaced js-logger. Improved testability with mocks, improved test configuration and code improvements. 2019-12-25 00:17:02 +01:00
Daan Vanden Bosch
33026ce015 Improved golden layout config persistence. A prompt is now shown when the user tries to leave the page after making changes to the current quest. Set production log level to INFO. 2019-12-22 15:30:16 +01:00
Daan Vanden Bosch
d168030550 Improved application initialization test. Improved error handling in hunt optimizer. 2019-12-22 02:37:06 +01:00
Daan Vanden Bosch
05c9f3ce81 All code now uses HttpClient interface instead of fetch for improved testability. 2019-12-21 22:49:41 +01:00
Daan Vanden Bosch
8ce19fac62 Most dependencies are now injected to improve testability. 2019-12-21 19:40:42 +01:00
Daan Vanden Bosch
20885cb0f2 Simplified Widget.finalize_construction. Added game state to QuestRunner and modified execution flow to enable loading of area/entity models. Split QuestModelManager into two different classes so a different loading strategy can used in the quest runner view. Quest runner view is now automatically created when running a quest. 2019-12-19 18:54:01 +01:00
jtuu
8582a25bc3 Lint 2019-11-16 18:07:21 +02:00
Daan Vanden Bosch
345c9ab0dc Improved typing of ListProperty. 2019-10-07 18:26:45 +02:00
Daan Vanden Bosch
9b3d280e4f Upgraded all dependencies and fixed linting warnings/errors resulting from eslint upgrade. 2019-10-01 18:30:26 +02:00
Daan Vanden Bosch
8622b07bde Added bind_children_to function to efficiently update child nodes of an HTML element based on the contents of a ListProperty. 2019-09-17 17:26:25 +02:00
Daan Vanden Bosch
87c6ae37e4 Widget's element property is now abstract and is overridden in every concrete subclass. This often simplifies widget code. 2019-09-15 19:32:34 +02:00
Daan Vanden Bosch
4c09486f65 Removed all React-related dependencies and config. 2019-09-14 17:31:03 +02:00
Daan Vanden Bosch
d9b6c7015a The hunt method tables can be sorted again. There's no visual feedback in the table headers though. 2019-09-14 16:11:45 +02:00
Daan Vanden Bosch
9906ea88a9 Added more finalize_construction calls where necessary. 2019-09-14 15:20:36 +02:00
Daan Vanden Bosch
3a95e8a974 Added server select. Widget construction now happens in two phases with a finalize_construction method being called from the lowest subclass. 2019-09-14 15:15:59 +02:00
Daan Vanden Bosch
944f72d1a7 Improved help text. 2019-09-14 14:25:12 +02:00
Daan Vanden Bosch
20a1046053 Added a help tab in Hunt Optimizer. 2019-09-14 14:23:06 +02:00
Daan Vanden Bosch
58939b2ff5 The ComboBox menu can now be filtered by typing. 2019-09-14 13:16:13 +02:00
Daan Vanden Bosch
c8ff72726e The OptimizationResultView is now completely ported to the new GUI system. 2019-09-14 11:59:50 +02:00
Daan Vanden Bosch
a933c5e4c1 Wanted items can now be added and removed. 2019-09-13 14:30:29 +02:00
Daan Vanden Bosch
c9820ceccb More data is now shown in the optimization result view. 2019-09-11 15:51:56 +02:00
Daan Vanden Bosch
0cfa20e30f Started working on optimization result view. 2019-09-09 18:37:20 +02:00
Daan Vanden Bosch
d7490b0d3c Text in table cells can now be aligned. Table now works in firefox. 2019-09-07 20:43:53 +02:00
Daan Vanden Bosch
a28a8ce624 Refactored table from MethodsForEpisodeView into a reusable Table widget. 2019-09-07 17:49:21 +02:00
Daan Vanden Bosch
1c2473c24f Improved loading of store data. 2019-09-05 20:30:11 +02:00
Daan Vanden Bosch
46ba5bb018 Length is now updated when a SimpleWritableListProperty is modified. 2019-09-03 16:49:04 +02:00
Daan Vanden Bosch
62db02e278 ListProperties can now emit update events. 2019-09-03 16:44:13 +02:00
Daan Vanden Bosch
1039049fda ListProperties now emit ListPropertyChangeEvents. 2019-09-02 21:09:40 +02:00
Daan Vanden Bosch
bb7bf16f9f Ported part of the hunt optimizer to the new GUI system. The methods tab is now working except for sorting. 2019-09-02 14:41:46 +02:00
Daan Vanden Bosch
72506461ab Swapped code using new and old UI system around. 2019-08-21 17:56:46 +02:00
Daan Vanden Bosch
66127253d3 Split code into one module per tool + core and application module. 2019-08-10 22:09:06 +02:00