-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Goal loading cleanup #925
Goal loading cleanup #925
Conversation
Codecov Report
@@ Coverage Diff @@
## master #925 +/- ##
==========================================
- Coverage 50.40% 49.83% -0.58%
==========================================
Files 238 234 -4
Lines 6660 6508 -152
Branches 425 406 -19
==========================================
- Hits 3357 3243 -114
+ Misses 2985 2961 -24
+ Partials 318 304 -14
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 17 of 19 files at r1, 3 of 3 files at r2.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @imnasnainaec)
Cleanup and refactor:
GoalSelectorScroll
.CharacterInventoryActions
.getIndexInHistory
andfindGoalByName
with use of.find()
.async
/await
with goal actions.Bug-fix: Remove
.reverse()
on the goal history in the state, and only reverse what is given to the history display.There's still some funny business with loading MergeDups (e.g. #588), so additional work is needed on general loading and advancing of multi-step goals.
This change is