Commit 7f40667
committed
New UI framework classes and score lib features.
- Unfolded a number of nested useEffect calls in hooks to be used in class components. So much simpler now.
- Added HOCs for classes that have to subscribe to elements that have to be accessed via preact contexts (props forwarding).
- Replaced all simple HTML buttons with our Button class.
- Added new dialog types to allow input from the user beyond the standard browser abilities.
- Added UpDown control to the UI framework for numeric changes. Removed the no longer needed NumberInput class.
- Data type simplifications (removed unnecessary interfaces, used Readonly<> to make types unmodifiable instead of defining an own type for that feature).
- Added action buttons in the score tree to interact with an entry (add, remove, rename, import).
- Yes, we can now import existing BananaDrum song links in our db.
- Data model:
- Added folder name validation.
- Scores can now be added to db.
- Entries can be renamed + deleted.
- Fixed many bugs related to subscriptions and score replay.1 parent 7539b13 commit 7f40667
File tree
66 files changed
+2516
-993
lines changed- .vscode
- src
- components/ui
- Arrangement
- GuideRail
- Note
- Track
- composites
- framework
- Dialogs
- core
- serialisation
- types
- player
- server
- supplement
- ui
- hooks
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
66 files changed
+2516
-993
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
35 | | - | |
| 37 | + | |
| 38 | + | |
36 | 39 | | |
37 | 40 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
142 | 143 | | |
143 | 144 | | |
144 | 145 | | |
| 146 | + | |
145 | 147 | | |
146 | 148 | | |
147 | 149 | | |
| |||
173 | 175 | | |
174 | 176 | | |
175 | 177 | | |
| 178 | + | |
176 | 179 | | |
177 | 180 | | |
178 | 181 | | |
| |||
188 | 191 | | |
189 | 192 | | |
190 | 193 | | |
191 | | - | |
192 | | - | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
193 | 197 | | |
194 | 198 | | |
195 | 199 | | |
196 | 200 | | |
197 | 201 | | |
198 | 202 | | |
199 | 203 | | |
200 | | - | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
201 | 209 | | |
202 | 210 | | |
203 | 211 | | |
| |||
416 | 424 | | |
417 | 425 | | |
418 | 426 | | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
419 | 437 | | |
420 | 438 | | |
421 | 439 | | |
| |||
470 | 488 | | |
471 | 489 | | |
472 | 490 | | |
| 491 | + | |
473 | 492 | | |
474 | 493 | | |
475 | 494 | | |
| |||
662 | 681 | | |
663 | 682 | | |
664 | 683 | | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
665 | 689 | | |
666 | 690 | | |
667 | 691 | | |
| |||
919 | 943 | | |
920 | 944 | | |
921 | 945 | | |
922 | | - | |
923 | 946 | | |
924 | 947 | | |
925 | 948 | | |
926 | 949 | | |
927 | 950 | | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
928 | 956 | | |
929 | 957 | | |
930 | | - | |
931 | 958 | | |
932 | 959 | | |
933 | 960 | | |
| |||
965 | 992 | | |
966 | 993 | | |
967 | 994 | | |
968 | | - | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
969 | 998 | | |
970 | 999 | | |
971 | 1000 | | |
| |||
1001 | 1030 | | |
1002 | 1031 | | |
1003 | 1032 | | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
1004 | 1037 | | |
1005 | 1038 | | |
1006 | 1039 | | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
1007 | 1045 | | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
1008 | 1050 | | |
1009 | 1051 | | |
1010 | 1052 | | |
| |||
0 commit comments