* WIP(groups): quickish wins
* WIP(groups): two quick wins
1. Don't show task creation button if user is not leader or manager
2. Don't require JS confirm() for approving tasks
* fix(group-plans): allow delete from options button
* fix(group-plans): update tasksOrder when task deleted
* fix(group-tasks): dismiss notification when user takes action
* refactor(tasks): DRY out create button styling
* fix(group-tasks): sync after claiming/unclaiming
* use the same paging for "myChallenges" only loads 10 per call
* challenges: show loading above the load-more button (instead at the top)
* purple loading message and flat load-more button
* remove comment
* show loadMore button only when the request has 10 entries
* challenge card ui
* remove null/undefined entries from pinnedItems when an item is toggled - more inner checks + test
* drawer: fix when there isn't a page available
* rollback cleaning up pinnedEntries on item-toggle
* remove "re-setting" pinnedItems
* remove the filter
* catch promise rejection when user submits a message to group
* switch response exception handling to try/catch to avoid mixing aysnc/await with promises
* Several deps set to "optional" in lock file
This was done automatically when running `npm i` on Windows.
Node v10.15.2
NPM 6.4.1
* Begin working on issue #10687
Key files to look into:
- website/client/components/inventory/item.vue
- website/client/components/shops/market/sellModal.vue
File notes for me:
item.vue: provides wrapper for displaying item data.
sellModel.vue: for displaying items player intends to sell
- lines 10-21: check `item` computed property and load `item` component
- lines 151-153: ask how return line is evaluated to an `item`
The last one could be important to figuring out this caching issue.
Since the property is computed, it's possible that line is evaluating to
a truthy value that Vue is seeing as unchanged, even if the actual
`item` object is different each time.
* Pick up from sellModal.vue:155
This is where the item context seems to be set. The Vue dev tools
indicate that the `<item>` component is updating. It's only the `item`
reference inside of the `<sellModal>` component that isn't updating.
Issue #10687
* Remove (v-once) directive
This was preventing data referenced within nested elements from
updating.
Issue #10687
* Revert package-lock.json to "develop" version
This removes the "optional" settings that were automatically added by NPM to a handful of dependencies while working on PR #11044.
* Attempt to rerun tests
The most recent change shouldn't have caused tests to fail.