Commit Graph

132 Commits

Author SHA1 Message Date
3231a36be5 Makes AdvantagePicker work if you set the id of the advantage picker to advantage. 2021-06-20 00:41:09 -07:00
0c7394f05e Adds ability score picker. 2021-06-20 00:40:14 -07:00
edafe908fc Lint cleanup. 2021-06-20 00:37:16 -07:00
30bb44a8a8 Removes debug logging. 2021-06-20 00:35:35 -07:00
463311b949 Adds ability to remove a skill. 2021-06-12 22:16:16 -07:00
186c1a80bd Keeps skills on the edit skills screen sorted. 2021-06-12 22:14:31 -07:00
363bad5931 Fixes bug where adding a new skill wouldn't show up until leaving and returning to the edit skills screen. 2021-06-12 22:12:39 -07:00
afba6e8490 Adds item dividers to the Library and Edit Skills screens.
Makes the two layouts consistent with each other.
2021-06-12 21:48:23 -07:00
b51318220b Makes Add Skill button a FloatingActionButton. 2021-06-12 19:51:48 -07:00
703bb3d77f Adds "New Skill" button. 2021-06-10 23:45:04 -07:00
98f46694fc Adds edit skills view. 2021-06-10 22:50:27 -07:00
0e3f14f288 Adds edit challenge rating screen. 2021-05-31 20:23:39 -07:00
8fc27a6d6e Adds remaining monster properties to the edit monster view model. 2021-05-31 17:16:58 -07:00
a6cced2ccf Adds better change tracking to know if a monster needs to be saved. 2021-05-31 14:35:23 -07:00
8fd313e3df Adds saving throws editor. 2021-05-31 12:58:34 -07:00
1c5762405a Adds AdvantagePicker and ProficiencyPicker components. 2021-05-31 12:56:58 -07:00
aa850ecfc6 Adds a Stepper control and uses it for the steppers in the editor. 2021-05-30 03:40:30 -07:00
5a94408f7b Adds screen to edit ability scores. 2021-05-30 01:55:45 -07:00
bc115efba8 Adds missed change tracking to EditMonsterViewModel. 2021-05-30 00:11:14 -07:00
84467dbb0d Adds Edit Speed screen to the monster editor. 2021-05-30 00:10:44 -07:00
f4dd3855d6 Adds Edit Armor screen to edit a monster's armor stats. 2021-05-29 19:46:28 -07:00
82ce3d3788 Adds hit dice and has custom HP toggle to the edit basic info screen. 2021-05-27 21:44:17 -07:00
f41b8d0065 Adds confirmation when going up from the edit monster screen to save, cancel, or discard changes. 2021-05-27 19:16:05 -07:00
ced5560dd0 Adds setTitle helper method to MCFragment. 2021-05-27 19:15:23 -07:00
a19839b473 Adds edit basic info screen with most string fields.
Cleans up fonts/margins on edit screens.
Makes the EditMonsterViewModel shared between edit monster fragments.
2021-05-27 13:22:57 -07:00
b377e0656e Adds TextChangedListener helper class to make working with text inputs less verbose. 2021-05-27 04:17:22 -07:00
acef784c6d Makes EditMonsterFragment load the monster based with the id passed in and show it's name in the title. 2021-05-27 03:24:33 -07:00
4ff945301f Fixes passing the monster id when navigating to the edit monster screen. 2021-05-27 03:23:23 -07:00
71c0fdb43e Extracts library strings to resources. 2021-05-27 03:22:23 -07:00
dc631839cf Adds helper method to MCFragment to get the AppCompatActivity for the fragment. 2021-05-27 03:18:17 -07:00
c1624d69ac Adds edit monster view holder and placeholder for basic info tap handler. 2021-05-27 02:28:29 -07:00
76027ca186 Replaces EditMonsterFragment with a basic ConstraintLayout. 2021-05-27 01:15:46 -07:00
dc4d78b7fb Adds Edit Monster placeholder fragment. 2021-05-24 02:48:00 -07:00
91647ab951 Adds edit button to monster detail view. 2021-05-24 02:09:42 -07:00
f6cb9e392c Library refactoring. 2021-05-02 15:05:21 -07:00
d100624c32 Makes the swipe to delete callback more generic. 2021-05-02 03:16:02 -07:00
ec518cd2db Fixes a bunch of lint errors and enables Flipper navigation logging. 2021-05-02 02:46:50 -07:00
d1ec7fd51c Replaces fragment tag with FragmentContainerView. 2021-05-02 01:36:16 -07:00
ff379521c0 Renames MonsterFragment to MonsterDetailFragment to better explain its use. 2021-05-02 01:35:45 -07:00
3a3cd04010 Make AppCenter only included in debug builds.
Moves Flipper initialization to the same place as AppCenter.
2021-05-02 00:45:23 -07:00
ce8583a876 Removes release build dependencies on Flipper and SoLoader. 2021-05-02 00:03:46 -07:00
573fc19048 ViewModel cleanup
Removes unused view models.
Fixes warnings int MonsterViewModel.
2021-05-01 23:22:04 -07:00
656ae9c0e4 Cleans up compiler warnings. 2021-05-01 22:35:37 -07:00
764fcf0890 Removes unused type converter. 2021-05-01 22:34:25 -07:00
213360f418 Adds functional search using sqlite full text search syntax. 2021-05-01 17:53:48 -07:00
258e62a28f Adds Flipper support to debug DB issues. 2021-05-01 13:37:11 -07:00
09197c8429 Adds DevContent class with dev resources. Specifically an example monster.
Adds a task.
2021-05-01 00:50:14 -07:00
8a0b955dbe Adds swipe to delete monsters on the library screen. 2021-05-01 00:48:17 -07:00
1cf9ae73d7 Adds floating action button to the library screen to create new monsters.
Adds a snackbar on successful muonster creation to view the new monster.
2021-05-01 00:45:48 -07:00
583e550007 Makes clicking a monster on the library screen show that monster in the detail screen. 2021-05-01 00:41:24 -07:00