Commit Graph

30 Commits

Author SHA1 Message Date
Savanni D'Gerinel a1441f7bb1 Bump versions to 0.6.0 2024-02-19 18:47:48 -05:00
Savanni D'Gerinel 9e7350b087 Add an about page that calls out gtk-rs and the GUI development book 2024-02-19 18:41:38 -05:00
Savanni D'Gerinel 1c2f40c868 Apply clippy suggestions 2024-02-19 16:14:08 -05:00
Savanni D'Gerinel aed4735209 Add some documentation around the quit action 2024-02-19 12:05:21 -05:00
Savanni D'Gerinel c14b20b79e Set up an application quit action group
This ties together a menu item, closing the main window, and Ctrl-Q into
the same action, which is to quit the application.
2024-02-19 11:58:01 -05:00
Savanni D'Gerinel 792e20d44b Add buttons with icons to represent workouts 2024-02-08 09:13:54 -05:00
Savanni D'Gerinel 6c68564a77 Create a function which safely initializes GTK once
This is only available in test code, and it allows GUI component tests to run without having to worry about double-initializing GTK
2024-01-31 08:40:55 -05:00
Savanni D'Gerinel 1fe318068b Set up a view model for the day detail view 2024-01-20 11:16:31 -05:00
Savanni D'Gerinel 0c3ae062c8 Save real data to the database. Load data on app start. 2023-12-28 22:46:44 -05:00
Savanni D'Gerinel d269924827 Refactorings and dead code removal 2023-12-28 22:20:30 -05:00
Savanni D'Gerinel ac343a2af6 Switch from channel-based communication to async calls into the core 2023-12-28 19:09:12 -05:00
Savanni D'Gerinel 3a728a51b4 Extract the application loop from the main file 2023-12-22 15:17:22 -05:00
Savanni D'Gerinel f19090311b Extract all of the UI components into dedicated files 2023-12-22 15:17:22 -05:00
Savanni D'Gerinel dedcc76df0 Mild cleanups 2023-12-22 15:16:03 -05:00
Savanni D'Gerinel 6678ab9852 Documentation 2023-12-22 14:28:23 -05:00
Savanni D'Gerinel 9c200f555c Set up app invocation and response handling 2023-12-22 14:08:16 -05:00
Savanni D'Gerinel 3ca8bf64cc Set up message passing between app window and an app thread 2023-12-19 18:05:22 -05:00
Savanni D'Gerinel 87994012fa Save the database path to settings and attempt to open the database on start 2023-12-19 10:59:33 -05:00
Savanni D'Gerinel 50268ffadc Actually be able to open the database 2023-12-19 10:46:53 -05:00
Savanni D'Gerinel beedeba8dc Style the welcome screen 2023-12-19 10:10:02 -05:00
Savanni D'Gerinel 104ffc5782 Set up callbacks to make the save button sensitive to the file selection 2023-12-19 00:31:36 -05:00
Savanni D'Gerinel 38db3d6780 Elaborate upon and format the welcome dialog 2023-12-18 21:14:08 -05:00
Savanni D'Gerinel 0dd0a5f7cc Set up some of the content of the welcome view 2023-12-18 20:04:55 -05:00
Savanni D'Gerinel acdf9ec150 Add the window header bar 2023-12-18 19:08:32 -05:00
Savanni D'Gerinel 0ebdcd7c2a Add some commentary 2023-12-18 18:36:22 -05:00
Savanni D'Gerinel baf652173c Set up the main views for the window, as well as the redraw policy
Whenever we change views, we need to call the redraw function. That
function will handle dropping the old view and populating the new one.
2023-12-18 18:30:41 -05:00
Savanni D'Gerinel c4befcc6de Add the CSS style context to the main window 2023-12-18 11:59:56 -05:00
Savanni D'Gerinel a7d6d82ec2 Set up an environment variable to toggle between dev and production schemas 2023-12-07 09:56:10 -05:00
Savanni D'Gerinel f3a453d151 Set up a development gsettings schema 2023-12-07 09:45:56 -05:00
Savanni D'Gerinel 0e0d67a9ac Split Fitnesstrax into two crates 2023-12-06 23:52:33 -05:00