Commit Graph

185 Commits

Author SHA1 Message Date
596186deaa Refactors DamageTypes to String since we using it as a generic list of strings editor. 2021-03-24 17:44:53 -07:00
055a8b28cc Expands fields searched in the monster search. 2021-03-24 16:00:26 -07:00
3fa4ae0bdb Removes unused handler function. 2021-03-24 15:46:00 -07:00
9e3b36da69 Adds titles to the sub views that were missing them. 2021-03-24 15:44:30 -07:00
ed44cd9947 Sets default capitalization of text fields to make sense. 2021-03-24 15:40:44 -07:00
0c3821dbe6 Sets default names for skills and damage types to an empty string. 2021-03-24 15:37:10 -07:00
06069e89ba Sets default names for skills and damage types to an empty string. 2021-03-24 15:36:52 -07:00
08fb3745c8 Reorders condition immunities in the editor. 2021-03-23 23:17:38 -07:00
af7e3666de Adding missed file for previous commit
> Stops saving the raw core data objects in view models and makes them optional in the constructor.
2021-03-23 23:16:15 -07:00
d27a7ca5c5 Stops saving the raw core data objects in view models and makes them optional in the constructor. 2021-03-23 23:15:02 -07:00
749da2151e Adds missing file to last commit.
> Adds damage types and condition immunities to core data so they are saved now.
2021-03-23 23:12:52 -07:00
85e2529289 Adds damage types and condition immunities to core data so they are saved now. 2021-03-23 23:12:01 -07:00
d4e93a92a7 Adds shared scheme. 2021-03-23 21:34:45 -07:00
2b6741b5dc Adds damage vulnerabilities to the monster editor. 2021-03-22 18:06:50 -07:00
f90227bc29 Adds damage resistances to the monster editor. 2021-03-22 18:06:30 -07:00
09a16c85b7 Adds damage immunities to the monster editor. 2021-03-22 18:05:05 -07:00
c8f18a00dd Adds condition immunities to the monster editor. 2021-03-22 18:00:05 -07:00
e23b35f75e Reorganized the MonsterDetail view to get around the 10 items per group limit.
Adds layout for resistances, immunities, and languages.
2021-03-22 01:02:21 -07:00
2cd9e6d92d Adjusts the monster detail view so it makes better use of small screens. 2021-03-21 20:28:05 -07:00
f5c3ce57de Adds skills display to the monster detail view. 2021-03-21 19:49:03 -07:00
0299213dfa Sorts skills specifically for the EditSkills view, but also more generally when creating a MonsterViewModel. 2021-03-21 18:28:04 -07:00
7073e3d952 Fixes to skill saving 2021-03-21 18:27:17 -07:00
44b585aab8 Adds EditSkill view to allow editing a specific skill. 2021-03-21 17:25:28 -07:00
106b41d2ee Adds MCAbilityScorePicker. 2021-03-21 17:25:00 -07:00
861bae24d6 Adds EditSkills view bound to the monster view model's skills. 2021-03-21 16:18:04 -07:00
e25e37c871 Moves saving throws from EditMonster to a sub view. 2021-03-21 14:47:15 -07:00
21eae233f3 Moves ability scores from EditMonster to a sub view. 2021-03-21 14:42:32 -07:00
7bef443ead Moves speed info from EditMonster to a sub view. 2021-03-21 14:38:13 -07:00
ecfdf7ae58 Fixes the fetched monster on MonsterDetail not updating when the EditMonster view saves. 2021-03-21 14:37:11 -07:00
d90c32691a Changes the NavigationView to stack navigation style so the save button on EditMonster takes you back to MonsterDetail instead of the root of the NavigationView. 2021-03-21 14:23:38 -07:00
b83a88c1f2 Moves editing armor to a sub view of EditMonster. 2021-03-21 14:22:30 -07:00
9f0896943f Moves Basic Info section of the monster editor to a sub view. 2021-03-21 14:13:10 -07:00
a6ad738d48 Fixes some bugs with how the editing monster is passed around.
Removes the custom cancel since we don't need it now.
2021-03-21 14:07:11 -07:00
0e551ce01b Fixes HP display. 2021-03-21 00:46:23 -07:00
46372268d4 Makes EditMonster use MonsterViewModel instead of binding directly to the Core Data types. 2021-03-21 00:43:24 -07:00
cee4f24e93 Started adding skills. 2021-02-13 20:53:38 -08:00
da74b68a9c Hides elements on monster detail if they don't have values to show.
Adds TODO to hide dividers when applicable.
2021-02-07 13:00:48 -08:00
fe431475a2 Adds comments with other picker types to the advantage picker for refreence. 2021-02-07 12:45:27 -08:00
9d185d27a5 Makes saving throw proficiencies and advantages use enums instead of raw strings. 2021-02-07 12:45:03 -08:00
f960df1424 Makes armor type a picker instead of a string. 2021-02-07 12:43:23 -08:00
f6ef6a7f3d Convertes to Swift and SwiftUI 2021-01-18 00:30:45 -08:00
3d54342687 Fixes a bug editing a new monster. 2020-10-09 22:04:28 -07:00
5da0ee2549 Updates storyboard to fix display on iPad.
Disables dark mode until we can come up with a dark mode color scheme that looks good
2020-10-04 01:12:25 -07:00
d0bd26c7e0 Fixes how we check which saving throws to show. 2020-10-04 00:46:12 -07:00
692bfdd943 Adds advantage/disadvantage to saving throw display. 2020-10-04 00:37:11 -07:00
0e800dfd1c Adds saving throws to monster card display.
Adds proficiencyBonus implementation to Monster. The proficiency bonus relies on CR and defaults to 0 until the CR fields are implemented
2020-10-04 00:19:04 -07:00
3c3ed3c94b Adds Saving Throws to the data model and monster editor. 2020-10-03 22:44:15 -07:00
23b840f3ff Disables row selection in the edit form table. 2020-10-03 22:22:12 -07:00
f4c981ab36 Fixes JSON initializer and tests. 2020-09-26 23:10:24 -07:00
2a9b936d0d Adds ability scores to monster cards. 2020-09-26 23:06:03 -07:00