Commit graph

225 commits

Author SHA1 Message Date
Elias Projahn
d441dbcd57 Add basic parts editing to work editor
The work editor contains a ReorderableList view now. This list consists
of instances of the new PartTile widget, which only supports editing the
parts title and its level (meaning how deep it is down the tree) for
now.
2019-12-13 22:51:55 +01:00
Elias Projahn
0594b00199 Make work editor modular
The work editor holds all data for a work and its parts. The widgets for
editing work information are reusable now.
2019-12-12 14:57:51 +01:00
Elias Projahn
0d29a5f15d Remove unnecessary tiles from home screen
The person and instruments selectors should only be acessed from the
work editor.
2019-12-11 13:22:39 +01:00
Elias Projahn
40acc2b555 Add initial selection to instrument selector
Also use this from the work editor.
2019-12-11 13:19:56 +01:00
Elias Projahn
4855cafdf3 Add instrument selector to work editor 2019-12-11 13:17:23 +01:00
Elias Projahn
45c430e7f6 Add basic work editor
This also adds a tile to the temporary home screen for debugging
purposes.
2019-12-11 13:07:46 +01:00
Elias Projahn
be7699f322 Color the check button properly
Unfortunately this isn't themeable at the moment.
2019-12-11 12:50:14 +01:00
Elias Projahn
d9149d2ff2 Add instruments selector
This also adds a tile to the temporary home screen for debugging
purposes.
2019-12-11 12:44:30 +01:00
Elias Projahn
ab7dd8dc00 Theme FABs properly 2019-12-11 12:30:10 +01:00
Elias Projahn
cc45018c83 Add access to person editor to person selector
The person editor can be reached via the FAB. If a new person is
created, it will be selected.
2019-12-04 20:52:52 +01:00
Elias Projahn
2ee49246e4 Add person selector 2019-12-04 20:48:55 +01:00
Elias Projahn
ef4b81ce9b Fix error opening database
The schemaVersion has to be at least one.
2019-12-04 20:48:03 +01:00
Elias Projahn
63fd75c0a4 Add instrument editor 2019-12-03 12:47:23 +01:00
Elias Projahn
b1ed4fe747 Add person editor 2019-12-03 12:47:14 +01:00
Elias Projahn
f7c2393872 Add database to backend 2019-12-03 12:44:24 +01:00
Elias Projahn
d73f2075fa Add function to generate an ID 2019-12-03 12:42:43 +01:00
Elias Projahn
d18fd880ed Reach initial values without animation 2019-12-03 12:33:43 +01:00
Elias Projahn
03fb8b2c49 Stop listening to streams in dispose() 2019-12-03 12:23:41 +01:00
Elias Projahn
437e30933a Add basic database for works and composers
This includes tables for persons, instruments and works as well as some
queries and functions to work with them. The generated code should be
ignored by Git for now. I also added a section to README.md explaining
how to handle code generation.
2019-12-03 12:03:39 +01:00
Elias Projahn
2be7238a96 Depend on moor 2019-12-03 11:39:26 +01:00
Elias Projahn
736bf24989 Add position and duration labels to program screen
They are dummies for now.
2019-12-03 10:24:23 +01:00
Elias Projahn
78ba3e0523 Add playback controls to program screen.
The previous/next buttons are dummies for now.
2019-12-02 22:05:07 +01:00
Elias Projahn
4772290dd9 Theme sliders
Sliders can be themed using the colorScheme field. Unfortunately this is
a little bit inconsistent across different widgets.
2019-12-02 21:58:13 +01:00
Elias Projahn
2beccd070a Add playback position slider to program screen
ProgramScreen became a StatefulWidget. It listens to playback position
updates from the backend and updates the slider unless the user is
currently interacting with it.
2019-12-02 21:38:47 +01:00
Elias Projahn
17f3040645 Initial commit 2019-12-02 21:05:49 +01:00