Skip to content

Commit 188b2ac

Browse files
andrewpjames13BrettClearyblackstock
authored
Feat/achievements (#606)
* add getAchievements with mock json * prettier * WIP: rought in front end components * chore: prettier * chore: yarn lock * wip: add type to mocked data * wip: consume mock data * wip: wire up handle add and put in mock timeout for handling mint * add props to summary, add individual achievement api method * chore: render test data until api returns correct types * chore: dont use real data just yet * feat: add pagination, fliters and sort * chore: prettier * feat: update achievements submodule * feat: update achievements api * feat: allow filters and sort to make api call * chore: pull achievement layout out into parent route * wip: add game achievements page * feat: add pagination and sorting to getIndividualAchievemnts * feat: add data for achievement stats * chore: prettier * feat: allow mint selection to persist across achievement pages * fix: prettir * fix: lint * chore: update sub module branch * chore: remove getGame function * chore: move freeMints into stats * chore: prettier * chore: update to numFreeMints * feat: handle mint and update with separate buttons * chore: bump hyperplay ui * fix: put hyperplay extension helper back to main commit * fix: prettier * feat: add updateButtonProps to game achievement * feat: bump ui package 0.1.24 * feat: add accounts tab and steam id input to it * add flag (#594) * wip: use real end points to get data * feat: update backend commit * fix: disabled buttons and update state * chore: update api commit * chore: remove log * feat: remove mock data * chore: update api commit * feat: hide achievements nav behind feature flag * chore: clean up code * feat: show stores active and disabled * feat: allow user to click and change selected store * feat: use real data for stats * chore: share stats through store provider * chore: only sync in store * chore: update api commit * chore: update types * feat: update store row to have refresh button * fix: prettier * chore: refactor achievment contexts into mobx classes * chore: pull getSummaryAchievements into state * chore: pull out getIndividualAchievements into mobx class * fix: prettier * chore: move showAchievements into mobx class * chore: update to hyperplay ui 0.1.32 * feat: refetch stats and achievements when wallet connects * update ext helper to main * fix translations * fix merge errors * prettier * rename achievementstorestate * fix layout and increase page size * back button individual game achievements page * fix height no achievements * add infinite scroll and fetch for summaries * add refresh animation * add store key, fix individual achievements page fetching * disable eye for single store * update for latest ui loading changes * hide minted tab if none minted * add syncing ui indicator * add no achievements message * update props for new achievements ui components * preload images * update mint achievement state * replace all in setter * move timestamp check to helpers * use deconstructor to init * move sort updated fxn up * use deconstructor for achievement stores * fix spelling of achievement stores * move sync handler * use obj deconstructor * revert loading bg color * add hp ui * fix ui merge issues * update submodules * update translations * prettier * rm on close * mv util fxn * udpate import * handle refresh * add console error * refactor currentSummaryKey getter * refactor state if else * add free mints tranlsation key * clear cache on new steam id * share achievement nav prop translations summary and details pages * prettier --------- Co-authored-by: Brett Cleary <27568879+BrettCleary@users.noreply.github.com> Co-authored-by: Bobby Blackstock <bobbyblackstock@gmail.com>
1 parent 418bca5 commit 188b2ac

File tree

29 files changed

+2169
-1075
lines changed

29 files changed

+2169
-1075
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@
1010
[submodule "src/backend/hyperplay-overlay"]
1111
path = src/backend/hyperplay-overlay
1212
url = https://github.com/HyperPlay-Gaming/hyperplay-overlay.git
13+
[submodule "src/backend/hyperplay-achievements"]
14+
path = src/backend/hyperplay-achievements
15+
url = git@github.com:HyperPlay-Gaming/hyperplay-achievements.git

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157
"@fortawesome/free-regular-svg-icons": "^6.1.1",
158158
"@fortawesome/free-solid-svg-icons": "^6.1.1",
159159
"@fortawesome/react-fontawesome": "^0.1.18",
160-
"@hyperplay/ui": "^0.1.33",
160+
"@hyperplay/ui": "^0.1.38",
161161
"@mantine/carousel": "^6.0.19",
162162
"@mantine/core": "^6.0.19",
163163
"@mantine/hooks": "^6.0.19",

0 commit comments

Comments
 (0)