cb6f7122edRefactors monster detail to use a view holder and partially corrects Regional Actions to Regional Effects.
Tom Hicks
2021-06-27 00:17:16 -07:00
7cfc6d4f65Removes unused methods from EditMonsterViewModel.
Tom Hicks
2021-06-26 23:21:49 -07:00
cdae6a8b39Adds OnMoveCallback to the SwipeToDeleteCallback class. Makes traits orderable.
Tom Hicks
2021-06-26 23:21:28 -07:00
9d46d1420eRemoves todo.
Tom Hicks
2021-06-26 14:39:56 -07:00
6d43b0635cView cleanup. Makes more numeric fields Steppers. Sets titles for fragments. Sets focus on the first EditText on most edit pages. Makes Checkbox be a SwitchCompat Fixes monster list item view.
Tom Hicks
2021-06-26 02:37:37 -07:00
4c138ee499Fix Stepper initial values.
Tom Hicks
2021-06-26 02:21:56 -07:00
0fcfa7e782Adds ScrollViews to the editors that were missing them.
Tom Hicks
2021-06-25 23:38:13 -07:00
791cf4164cFixes search. It now works the same as iOS. It case insensitive matches the entire search text in any of name, size, type, subtype, or alignment.
Tom Hicks
2021-06-25 23:34:33 -07:00
fb12deaa3eFixes removing languages.
Tom Hicks
2021-06-25 23:33:09 -07:00
6e597462efAdds some TODOs.
Tom Hicks
2021-06-25 23:32:54 -07:00
12ffc5b15fFixes the size of the edit languages header.
Tom Hicks
2021-06-25 23:31:43 -07:00
9c81bd4905Fixes selection bug in AbilityScorePicker.
Tom Hicks
2021-06-25 23:26:59 -07:00
f1cbc60857Renames EditTraitListFragment to EditTraitsFragment to match the other list fragments.
Tom Hicks
2021-06-25 20:33:33 -07:00
a2798ddc82Replaces condition immunities, damage immunities, damage resistances, damage vulnerabilities, and senses with a unified list of strings editor.
Tom Hicks
2021-06-25 20:28:25 -07:00
ecf2b01723Auto formatted all files.
Tom Hicks
2021-06-25 17:41:53 -07:00
18d6f2a31eAdds editing support for other traits using some shared fragments.
Tom Hicks
2021-06-25 17:29:39 -07:00
7cbcf8d07cAdds ability editor.
Tom Hicks
2021-06-25 14:33:40 -07:00
dc487d238aFixes name of "Add Damage Type" string.
Tom Hicks
2021-06-25 14:33:09 -07:00
b8c702f665Code style cleanup. Replaces Fragment with MCFragment.
Tom Hicks
2021-06-25 14:31:49 -07:00
259b59f519Adds equals override to Trait objects. Fixes trait comparisons.
Tom Hicks
2021-06-25 14:28:21 -07:00
5289bac908Adds ability to edit languages.
Tom Hicks
2021-06-25 10:57:25 -07:00
34e11d97e5Makes use of class compareTo methods when sorting skills and languages. Fixes dirty state of skills when modifying them.
Tom Hicks
2021-06-25 10:56:42 -07:00
ca6684a093Replaces manual view != null assertions with requireView.
Tom Hicks
2021-06-25 10:54:10 -07:00
6e48a6f455Adds equals override for Language objects. Makes languages sort group by can speaks.
Tom Hicks
2021-06-25 10:52:09 -07:00
b8af70406fAdd damage resistances and damage vulnerabilities to the monster editor.Tom Hicks2021-06-20 19:57:22 -07:00
7eae6f820eAdds damage resistances to monster editor.Tom Hicks2021-06-20 19:35:16 -07:00
e20602cc3dAdds editing of condition immunities.Tom Hicks2021-06-20 17:50:37 -07:00
04dc066191Adds getters and setters to EditMonsterViewModel for Languages, Abilities, Actions, Reactions, Lair Actions, Legendary Actions, and Regional Actions.Tom Hicks2021-06-20 15:56:00 -07:00
72b3df429fAdds getters and setters for string array properties of EditMonsterViewModel.Tom Hicks2021-06-20 15:33:55 -07:00
9983ba10cbRemoves unused code from edit skills.Tom Hicks2021-06-20 12:40:06 -07:00
171bc7436eReplaces usages of Fragment with MCFragment.Tom Hicks2021-06-20 11:44:22 -07:00
04a30aa766Adds senses to EditMonsterViewModel.Tom Hicks2021-06-20 11:26:39 -07:00
2356726e3fFixes default values for array/set properties of monsters in db. Removes individual senses properties and replaces with a Set<String>.Tom Hicks2021-06-20 02:14:48 -07:00
6151ad889cUpdates TODO in EditMonsterViewModel.Tom Hicks2021-06-20 00:56:53 -07:00
1f15d73573Adds edit skill fragment to edit individual skills.Tom Hicks2021-06-20 00:51:56 -07:00
40589f171dAdds stubbed out method to navigate to the edit skill fragment. Adds a click handler to the edit skills recycler view adapter. Makes tapping a skill in the edit skills view navigate to the editor for that skill. Makes adding a new skill immediately edit the skill.Tom Hicks2021-06-20 00:49:41 -07:00
a58c851240Makes addNewSkill return the new skill. Adds replaceSkill to replace an existing skill in the skills array.Tom Hicks2021-06-20 00:44:20 -07:00
2c6b514538Adds an equals method to skills.Tom Hicks2021-06-20 00:41:56 -07:00
f6a8b83343Makes AdvantagePicker work if you set the id of the advantage picker to advantage.Tom Hicks2021-06-20 00:41:09 -07:00
857733ec9cAdds ability to remove a skill.Tom Hicks2021-06-12 22:16:16 -07:00
7e78ad8b7dKeeps skills on the edit skills screen sorted.Tom Hicks2021-06-12 22:14:31 -07:00
430fa61be1Fixes bug where adding a new skill wouldn't show up until leaving and returning to the edit skills screen.Tom Hicks2021-06-12 22:12:39 -07:00
70e05cbb21Adds item dividers to the Library and Edit Skills screens. Makes the two layouts consistent with each other.Tom Hicks2021-06-12 21:43:17 -07:00
b67073622fMakes Add Skill button a FloatingActionButton.Tom Hicks2021-06-12 19:51:48 -07:00
989440de83Adds AdvantagePicker and ProficiencyPicker components.Tom Hicks2021-05-31 12:56:58 -07:00
3c4adacc17Adds a Stepper control and uses it for the steppers in the editor.Tom Hicks2021-05-30 03:40:30 -07:00
c28e1cb8c5Adds screen to edit ability scores.Tom Hicks2021-05-30 01:55:45 -07:00
48dab535e9Adds missed change tracking to EditMonsterViewModel.Tom Hicks2021-05-30 00:11:14 -07:00
ff26cb64b7Adds Edit Speed screen to the monster editor.Tom Hicks2021-05-30 00:10:44 -07:00
28f0787020Adds Edit Armor screen to edit a monster's armor stats.Tom Hicks2021-05-29 19:46:28 -07:00
71da064423Adds hit dice and has custom HP toggle to the edit basic info screen.Tom Hicks2021-05-27 21:44:17 -07:00
23bcdc237dAdds confirmation when going up from the edit monster screen to save, cancel, or discard changes.Tom Hicks2021-05-27 19:16:05 -07:00
b56a662c9eAdds setTitle helper method to MCFragment.Tom Hicks2021-05-27 19:15:23 -07:00
dcce64f91aAdds edit basic info screen with most string fields. Cleans up fonts/margins on edit screens. Makes the EditMonsterViewModel shared between edit monster fragments.Tom Hicks2021-05-27 04:49:26 -07:00
595ee0c6fbAdds TextChangedListener helper class to make working with text inputs less verbose.Tom Hicks2021-05-27 04:17:22 -07:00
d52102d430Makes EditMonsterFragment load the monster based with the id passed in and show it's name in the title.Tom Hicks2021-05-27 03:24:33 -07:00
6a4abdd547Fixes passing the monster id when navigating to the edit monster screen.Tom Hicks2021-05-27 03:23:23 -07:00
bd3741af2dExtracts library strings to resources.Tom Hicks2021-05-27 03:22:23 -07:00
e254adfdceChanges to code format settings.Tom Hicks2021-05-27 03:18:36 -07:00
9c973ef348Adds helper method to MCFragment to get the AppCompatActivity for the fragment.Tom Hicks2021-05-27 03:18:17 -07:00
dc9a0827d4Adds edit monster view holder and placeholder for basic info tap handler.Tom Hicks2021-05-27 02:28:29 -07:00
b27274928eAdds top level items to the edit monster view.Tom Hicks2021-05-27 02:17:00 -07:00
6bb1e419c8Replaces EditMonsterFragment with a basic ConstraintLayout.Tom Hicks2021-05-27 01:15:46 -07:00
886778ee78Makes the swipe to delete callback more generic.Tom Hicks2021-05-02 03:16:02 -07:00
0a85324734Fixes a bunch of lint errors and enables Flipper navigation logging.Tom Hicks2021-05-02 02:38:32 -07:00
b374dbfe71Replaces fragment tag with FragmentContainerView.Tom Hicks2021-05-02 01:36:16 -07:00
21af6e20baRenames MonsterFragment to MonsterDetailFragment to better explain its use.Tom Hicks2021-05-02 01:30:39 -07:00
dc9066dacaMake AppCenter only included in debug builds. Moves Flipper initialization to the same place as AppCenter.Tom Hicks2021-05-02 00:45:23 -07:00
e8e19d5371Removes release build dependencies on Flipper and SoLoader.Tom Hicks2021-05-02 00:03:46 -07:00
a1fab9d399Adds functional search using sqlite full text search syntax.Tom Hicks2021-05-01 17:53:48 -07:00
e02e4ec399Adds Flipper support to debug DB issues.Tom Hicks2021-05-01 13:37:11 -07:00
8706240fb4Adds DevContent class with dev resources. Specifically an example monster. Adds a task.Tom Hicks2021-05-01 00:50:14 -07:00
e17c492bafAdds swipe to delete monsters on the library screen.Tom Hicks2021-05-01 00:48:17 -07:00
2df11701e6Adds floating action button to the library screen to create new monsters. Adds a snackbar on successful muonster creation to view the new monster.Tom Hicks2021-05-01 00:45:48 -07:00
c6c0e4f758Makes clicking a monster on the library screen show that monster in the detail screen.Tom Hicks2021-05-01 00:41:24 -07:00