Commit Graph

  • cb6f7122ed Refactors 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
  • 7cfc6d4f65 Removes unused methods from EditMonsterViewModel. Tom Hicks 2021-06-26 23:21:49 -07:00
  • cdae6a8b39 Adds OnMoveCallback to the SwipeToDeleteCallback class. Makes traits orderable. Tom Hicks 2021-06-26 23:21:28 -07:00
  • 9d46d1420e Removes todo. Tom Hicks 2021-06-26 14:39:56 -07:00
  • 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. Tom Hicks 2021-06-26 02:37:37 -07:00
  • 4c138ee499 Fix Stepper initial values. Tom Hicks 2021-06-26 02:21:56 -07:00
  • 0fcfa7e782 Adds ScrollViews to the editors that were missing them. Tom Hicks 2021-06-25 23:38:13 -07:00
  • 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. Tom Hicks 2021-06-25 23:34:33 -07:00
  • fb12deaa3e Fixes removing languages. Tom Hicks 2021-06-25 23:33:09 -07:00
  • 6e597462ef Adds some TODOs. Tom Hicks 2021-06-25 23:32:54 -07:00
  • 12ffc5b15f Fixes the size of the edit languages header. Tom Hicks 2021-06-25 23:31:43 -07:00
  • 9c81bd4905 Fixes selection bug in AbilityScorePicker. Tom Hicks 2021-06-25 23:26:59 -07:00
  • f1cbc60857 Renames EditTraitListFragment to EditTraitsFragment to match the other list fragments. Tom Hicks 2021-06-25 20:33:33 -07:00
  • a2798ddc82 Replaces 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
  • ecf2b01723 Auto formatted all files. Tom Hicks 2021-06-25 17:41:53 -07:00
  • 18d6f2a31e Adds editing support for other traits using some shared fragments. Tom Hicks 2021-06-25 17:29:39 -07:00
  • 7cbcf8d07c Adds ability editor. Tom Hicks 2021-06-25 14:33:40 -07:00
  • dc487d238a Fixes name of "Add Damage Type" string. Tom Hicks 2021-06-25 14:33:09 -07:00
  • b8c702f665 Code style cleanup. Replaces Fragment with MCFragment. Tom Hicks 2021-06-25 14:31:49 -07:00
  • 259b59f519 Adds equals override to Trait objects. Fixes trait comparisons. Tom Hicks 2021-06-25 14:28:21 -07:00
  • 5289bac908 Adds ability to edit languages. Tom Hicks 2021-06-25 10:57:25 -07:00
  • 34e11d97e5 Makes 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
  • ca6684a093 Replaces manual view != null assertions with requireView. Tom Hicks 2021-06-25 10:54:10 -07:00
  • 6e48a6f455 Adds equals override for Language objects. Makes languages sort group by can speaks. Tom Hicks 2021-06-25 10:52:09 -07:00
  • b8af70406f Add damage resistances and damage vulnerabilities to the monster editor. Tom Hicks 2021-06-20 19:57:22 -07:00
  • 7eae6f820e Adds damage resistances to monster editor. Tom Hicks 2021-06-20 19:35:16 -07:00
  • 2076d53b11 ViewModel refactoring. Tom Hicks 2021-06-20 18:22:13 -07:00
  • e20602cc3d Adds editing of condition immunities. Tom Hicks 2021-06-20 17:50:37 -07:00
  • 04dc066191 Adds getters and setters to EditMonsterViewModel for Languages, Abilities, Actions, Reactions, Lair Actions, Legendary Actions, and Regional Actions. Tom Hicks 2021-06-20 15:56:00 -07:00
  • 72b3df429f Adds getters and setters for string array properties of EditMonsterViewModel. Tom Hicks 2021-06-20 15:33:55 -07:00
  • 8d94afeb55 Adds edit sense fragment. Tom Hicks 2021-06-20 14:07:02 -07:00
  • 8bae59ed29 Edit skill cleanup. Tom Hicks 2021-06-20 14:06:46 -07:00
  • c401b7919e Adds Edit Senses fragment. Tom Hicks 2021-06-20 12:40:56 -07:00
  • 9983ba10cb Removes unused code from edit skills. Tom Hicks 2021-06-20 12:40:06 -07:00
  • 171bc7436e Replaces usages of Fragment with MCFragment. Tom Hicks 2021-06-20 11:44:22 -07:00
  • 04a30aa766 Adds senses to EditMonsterViewModel. Tom Hicks 2021-06-20 11:26:39 -07:00
  • 2356726e3f Fixes default values for array/set properties of monsters in db. Removes individual senses properties and replaces with a Set<String>. Tom Hicks 2021-06-20 02:14:48 -07:00
  • 6151ad889c Updates TODO in EditMonsterViewModel. Tom Hicks 2021-06-20 00:56:53 -07:00
  • 1f15d73573 Adds edit skill fragment to edit individual skills. Tom Hicks 2021-06-20 00:51:56 -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. Tom Hicks 2021-06-20 00:49:41 -07:00
  • a58c851240 Makes addNewSkill return the new skill. Adds replaceSkill to replace an existing skill in the skills array. Tom Hicks 2021-06-20 00:44:20 -07:00
  • 2c6b514538 Adds an equals method to skills. Tom Hicks 2021-06-20 00:41:56 -07:00
  • f6a8b83343 Makes AdvantagePicker work if you set the id of the advantage picker to advantage. Tom Hicks 2021-06-20 00:41:09 -07:00
  • eb3fa5108f Adds ability score picker. Tom Hicks 2021-06-20 00:40:14 -07:00
  • 922db42322 Lint cleanup. Tom Hicks 2021-06-20 00:37:16 -07:00
  • 71177b92f9 Removes debug logging. Tom Hicks 2021-06-20 00:35:35 -07:00
  • 34e68443ae Disables annoying lint rule. Tom Hicks 2021-06-20 00:33:41 -07:00
  • 857733ec9c Adds ability to remove a skill. Tom Hicks 2021-06-12 22:16:16 -07:00
  • 7e78ad8b7d Keeps skills on the edit skills screen sorted. Tom Hicks 2021-06-12 22:14:31 -07:00
  • 430fa61be1 Fixes bug where adding a new skill wouldn't show up until leaving and returning to the edit skills screen. Tom Hicks 2021-06-12 22:12:39 -07:00
  • 70e05cbb21 Adds item dividers to the Library and Edit Skills screens. Makes the two layouts consistent with each other. Tom Hicks 2021-06-12 21:43:17 -07:00
  • b67073622f Makes Add Skill button a FloatingActionButton. Tom Hicks 2021-06-12 19:51:48 -07:00
  • c90579903d Adds "New Skill" button. Tom Hicks 2021-06-10 23:45:04 -07:00
  • 1a02eab07a Adds edit skills view. Tom Hicks 2021-06-10 22:50:27 -07:00
  • 00463c8092 Adds edit challenge rating screen. Tom Hicks 2021-05-31 20:23:39 -07:00
  • 153c49fe7b Adds remaining monster properties to the edit monster view model. Tom Hicks 2021-05-31 17:16:58 -07:00
  • 8178ec6fd7 Adds better change tracking to know if a monster needs to be saved. Tom Hicks 2021-05-31 14:34:42 -07:00
  • 2e7e40554d Adds saving throws editor. Tom Hicks 2021-05-31 12:58:34 -07:00
  • 989440de83 Adds AdvantagePicker and ProficiencyPicker components. Tom Hicks 2021-05-31 12:56:58 -07:00
  • 3c4adacc17 Adds a Stepper control and uses it for the steppers in the editor. Tom Hicks 2021-05-30 03:40:30 -07:00
  • c28e1cb8c5 Adds screen to edit ability scores. Tom Hicks 2021-05-30 01:55:45 -07:00
  • 48dab535e9 Adds missed change tracking to EditMonsterViewModel. Tom Hicks 2021-05-30 00:11:14 -07:00
  • ff26cb64b7 Adds Edit Speed screen to the monster editor. Tom Hicks 2021-05-30 00:10:44 -07:00
  • 28f0787020 Adds Edit Armor screen to edit a monster's armor stats. Tom Hicks 2021-05-29 19:46:28 -07:00
  • 71da064423 Adds hit dice and has custom HP toggle to the edit basic info screen. Tom Hicks 2021-05-27 21:44:17 -07:00
  • 23bcdc237d Adds confirmation when going up from the edit monster screen to save, cancel, or discard changes. Tom Hicks 2021-05-27 19:16:05 -07:00
  • b56a662c9e Adds setTitle helper method to MCFragment. Tom Hicks 2021-05-27 19:15:23 -07:00
  • dcce64f91a Adds edit basic info screen with most string fields. Cleans up fonts/margins on edit screens. Makes the EditMonsterViewModel shared between edit monster fragments. Tom Hicks 2021-05-27 04:49:26 -07:00
  • 595ee0c6fb Adds TextChangedListener helper class to make working with text inputs less verbose. Tom Hicks 2021-05-27 04:17:22 -07:00
  • d52102d430 Makes EditMonsterFragment load the monster based with the id passed in and show it's name in the title. Tom Hicks 2021-05-27 03:24:33 -07:00
  • 6a4abdd547 Fixes passing the monster id when navigating to the edit monster screen. Tom Hicks 2021-05-27 03:23:23 -07:00
  • bd3741af2d Extracts library strings to resources. Tom Hicks 2021-05-27 03:22:23 -07:00
  • e254adfdce Changes to code format settings. Tom Hicks 2021-05-27 03:18:36 -07:00
  • 9c973ef348 Adds helper method to MCFragment to get the AppCompatActivity for the fragment. Tom Hicks 2021-05-27 03:18:17 -07:00
  • dc9a0827d4 Adds edit monster view holder and placeholder for basic info tap handler. Tom Hicks 2021-05-27 02:28:29 -07:00
  • b27274928e Adds top level items to the edit monster view. Tom Hicks 2021-05-27 02:17:00 -07:00
  • 6bb1e419c8 Replaces EditMonsterFragment with a basic ConstraintLayout. Tom Hicks 2021-05-27 01:15:46 -07:00
  • 3cda90eedd Adds shared preferences flipper plugin. Tom Hicks 2021-05-27 01:04:28 -07:00
  • 98a7dc5eeb Migrates from jcenter to maven central because of the jcenter shutdown. Tom Hicks 2021-05-27 00:22:37 -07:00
  • e384e29570 Upgrades Android Gradle Plugin to 4.2.1 and Gradle to 6.7.1 Tom Hicks 2021-05-24 02:59:24 -07:00
  • 7aa6419ece Adds Edit Monster placeholder fragment. Tom Hicks 2021-05-24 02:48:00 -07:00
  • 6b953e320d Adds edit button to monster detail view. Tom Hicks 2021-05-24 02:09:19 -07:00
  • 9f56f0283a Fixes the width of items in the library view. Tom Hicks 2021-05-24 02:07:19 -07:00
  • b5f92afae9 Project file updates. Tom Hicks 2021-05-24 02:02:41 -07:00
  • f58243ef6b Library refactoring. Tom Hicks 2021-05-02 15:05:21 -07:00
  • 886778ee78 Makes the swipe to delete callback more generic. Tom Hicks 2021-05-02 03:16:02 -07:00
  • 0a85324734 Fixes a bunch of lint errors and enables Flipper navigation logging. Tom Hicks 2021-05-02 02:38:32 -07:00
  • b374dbfe71 Replaces fragment tag with FragmentContainerView. Tom Hicks 2021-05-02 01:36:16 -07:00
  • 21af6e20ba Renames MonsterFragment to MonsterDetailFragment to better explain its use. Tom Hicks 2021-05-02 01:30:39 -07:00
  • dc9066daca Make AppCenter only included in debug builds. Moves Flipper initialization to the same place as AppCenter. Tom Hicks 2021-05-02 00:45:23 -07:00
  • e8e19d5371 Removes release build dependencies on Flipper and SoLoader. Tom Hicks 2021-05-02 00:03:46 -07:00
  • c5242b5206 ViewModel cleanup Removes unused view models. Fixes warnings int MonsterViewModel. Tom Hicks 2021-05-01 23:22:04 -07:00
  • ac2e37e494 Cleans up compiler warnings. Tom Hicks 2021-05-01 22:35:37 -07:00
  • c5d857435d Removes unused type converter. Tom Hicks 2021-05-01 22:34:25 -07:00
  • a1fab9d399 Adds functional search using sqlite full text search syntax. Tom Hicks 2021-05-01 17:53:48 -07:00
  • e02e4ec399 Adds Flipper support to debug DB issues. Tom Hicks 2021-05-01 13:37:11 -07:00
  • 8706240fb4 Adds DevContent class with dev resources. Specifically an example monster. Adds a task. Tom Hicks 2021-05-01 00:50:14 -07:00
  • e17c492baf Adds swipe to delete monsters on the library screen. Tom Hicks 2021-05-01 00:48:17 -07:00
  • 2df11701e6 Adds floating action button to the library screen to create new monsters. Adds a snackbar on successful muonster creation to view the new monster. Tom Hicks 2021-05-01 00:45:48 -07:00
  • c6c0e4f758 Makes clicking a monster on the library screen show that monster in the detail screen. Tom Hicks 2021-05-01 00:41:24 -07:00