Tom Hicks
cb6f7122ed
Refactors monster detail to use a view holder and partially corrects Regional Actions to Regional Effects.
2025-07-06 20:05:07 -07:00
Tom Hicks
7cfc6d4f65
Removes unused methods from EditMonsterViewModel.
2025-07-06 20:05:07 -07:00
Tom Hicks
cdae6a8b39
Adds OnMoveCallback to the SwipeToDeleteCallback class.
...
Makes traits orderable.
2025-07-06 20:05:07 -07:00
Tom Hicks
9d46d1420e
Removes todo.
2025-07-06 20:05:07 -07:00
Tom Hicks
6d43b0635c
View 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.
2025-07-06 20:05:07 -07:00
Tom Hicks
4c138ee499
Fix Stepper initial values.
2025-07-06 20:05:07 -07:00
Tom Hicks
0fcfa7e782
Adds ScrollViews to the editors that were missing them.
2025-07-06 20:05:07 -07:00
Tom Hicks
791cf4164c
Fixes 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.
2025-07-06 20:05:07 -07:00
Tom Hicks
fb12deaa3e
Fixes removing languages.
2025-07-06 20:05:07 -07:00
Tom Hicks
6e597462ef
Adds some TODOs.
2025-07-06 20:05:07 -07:00
Tom Hicks
12ffc5b15f
Fixes the size of the edit languages header.
2025-07-06 20:05:07 -07:00
Tom Hicks
9c81bd4905
Fixes selection bug in AbilityScorePicker.
2025-07-06 20:05:07 -07:00
Tom Hicks
f1cbc60857
Renames EditTraitListFragment to EditTraitsFragment to match the other list fragments.
2025-07-06 20:05:07 -07:00
Tom Hicks
a2798ddc82
Replaces condition immunities, damage immunities, damage resistances, damage vulnerabilities, and senses with a unified list of strings editor.
2025-07-06 20:05:06 -07:00
Tom Hicks
ecf2b01723
Auto formatted all files.
2025-07-06 20:05:05 -07:00
Tom Hicks
18d6f2a31e
Adds editing support for other traits using some shared fragments.
2025-07-06 20:05:05 -07:00
Tom Hicks
7cbcf8d07c
Adds ability editor.
2025-07-06 20:05:04 -07:00
Tom Hicks
dc487d238a
Fixes name of "Add Damage Type" string.
2025-07-06 20:05:03 -07:00
Tom Hicks
b8c702f665
Code style cleanup.
...
Replaces Fragment with MCFragment.
2025-07-06 20:05:03 -07:00
Tom Hicks
259b59f519
Adds equals override to Trait objects.
...
Fixes trait comparisons.
2025-07-06 20:05:03 -07:00
Tom Hicks
5289bac908
Adds ability to edit languages.
2025-07-06 20:05:03 -07:00
Tom Hicks
34e11d97e5
Makes use of class compareTo methods when sorting skills and languages.
...
Fixes dirty state of skills when modifying them.
2025-07-06 20:05:03 -07:00
Tom Hicks
ca6684a093
Replaces manual view != null assertions with requireView.
2025-07-06 20:05:03 -07:00
Tom Hicks
6e48a6f455
Adds equals override for Language objects.
...
Makes languages sort group by can speaks.
2025-07-06 20:05:03 -07:00
b8af70406f
Add damage resistances and damage vulnerabilities to the monster editor.
2025-07-06 20:05:03 -07:00
7eae6f820e
Adds damage resistances to monster editor.
2025-07-06 20:05:03 -07:00
2076d53b11
ViewModel refactoring.
2025-07-06 20:05:03 -07:00
e20602cc3d
Adds editing of condition immunities.
2025-07-06 20:05:03 -07:00
04dc066191
Adds getters and setters to EditMonsterViewModel for Languages, Abilities, Actions, Reactions, Lair Actions, Legendary Actions, and Regional Actions.
2025-07-06 20:05:03 -07:00
72b3df429f
Adds getters and setters for string array properties of EditMonsterViewModel.
2025-07-06 20:05:03 -07:00
8d94afeb55
Adds edit sense fragment.
2025-07-06 20:05:03 -07:00
8bae59ed29
Edit skill cleanup.
2025-07-06 20:05:03 -07:00
c401b7919e
Adds Edit Senses fragment.
2025-07-06 20:05:03 -07:00
9983ba10cb
Removes unused code from edit skills.
2025-07-06 20:05:03 -07:00
171bc7436e
Replaces usages of Fragment with MCFragment.
2025-07-06 20:05:03 -07:00
04a30aa766
Adds senses to EditMonsterViewModel.
2025-07-06 20:05:03 -07:00
2356726e3f
Fixes default values for array/set properties of monsters in db.
...
Removes individual senses properties and replaces with a Set<String>.
2025-07-06 20:05:03 -07:00
6151ad889c
Updates TODO in EditMonsterViewModel.
2025-07-06 20:05:03 -07:00
1f15d73573
Adds edit skill fragment to edit individual skills.
2025-07-06 20:05:03 -07:00
40589f171d
Adds 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.
2025-07-06 20:05:02 -07:00
a58c851240
Makes addNewSkill return the new skill.
...
Adds replaceSkill to replace an existing skill in the skills array.
2025-07-06 20:05:02 -07:00
2c6b514538
Adds an equals method to skills.
2025-07-06 20:05:02 -07:00
f6a8b83343
Makes AdvantagePicker work if you set the id of the advantage picker to advantage.
2025-07-06 20:05:02 -07:00
eb3fa5108f
Adds ability score picker.
2025-07-06 20:05:02 -07:00
922db42322
Lint cleanup.
2025-07-06 20:05:01 -07:00
71177b92f9
Removes debug logging.
2025-07-06 20:05:01 -07:00
34e68443ae
Disables annoying lint rule.
2025-07-06 20:05:01 -07:00
857733ec9c
Adds ability to remove a skill.
2025-07-06 20:05:00 -07:00
7e78ad8b7d
Keeps skills on the edit skills screen sorted.
2025-07-06 20:05:00 -07:00
430fa61be1
Fixes bug where adding a new skill wouldn't show up until leaving and returning to the edit skills screen.
2025-07-06 20:05:00 -07:00