W.J. “dysbulic” H
38cdc6eda5
75 of 100 files from #1078 have been added; need to rebase the parent branch 🚲
2022-02-28 20:28:28 -08:00
δυς
5ae41e26a6
Clean Up & Simplify the Type System ( #1116 )
2022-02-28 20:28:28 -08:00
δυς
ead933fccf
Miscellaneous changes pulled from #1078 ( #1115 )
...
#1078 is at about 4,000 lines changed and includes both code implementing features and unrelated functional and stylistic changes. This set of changes is about ⅓ of the total and should be largely independent.
These changes include:
* have Dependabot ignore `patch` version changes
* switch the cache invalidation Hasura action to asynchronous
* add a uniqueness constraint on the combination of player and skill ids
* print a comprehensible error message in the db seeding script on network errors
* add a mutex on the account creation process & allow it to happen only once *(subsequent runs were failing b/c of the uniqueness constraint on the ETH address & returning `null` (closes #1098 ))
* adds some more profile editing related types
* renames `HighLow7dType` to `HighLowType`
* refactors the `ColorBar` component to include links to a color explanation
* replaces `fake-tag`'s `gql` string identifier with the dependency-free `/* GraphQL */`
* rename `lib/hooks/useUserXp.ts` to `useUserXP.ts`
* fixed some typings to remove `any`s
* bumped some library versions & fixed the version numbers of some others
2022-02-28 20:28:28 -08:00
vidvidvid
e9d7739672
chore: remove unused import
2022-02-28 20:28:28 -08:00
vidvidvid
ad40a2bd96
feat: add confirmation modal to reset/cancel actions
2022-02-28 20:28:28 -08:00
vidvidvid
d07f82bd9a
style: replace cancel icon, fix mobile view of edit buttons
2022-02-28 20:28:28 -08:00
dan13ram
842e849136
feat: show reset to default button only when changed
2022-02-28 20:28:28 -08:00
vidvidvid
1b218fc522
style: increase font size and icon of XP and seed on mobile
2022-02-28 20:28:28 -08:00
vidvidvid
fde8eed3d8
chore: font size and weight
2022-02-28 20:28:28 -08:00
vidvidvid
822d0baa9b
refactor: reuse XP + seeds balance in menu on client and mobile
2022-02-28 20:28:28 -08:00
vidvidvid
a73624079d
fix: position of menu in relation to the triangle
2022-02-28 20:28:28 -08:00
vidvidvid
971bcc7cb6
chore: rename button
2022-02-28 20:28:28 -08:00
vidvidvid
17ce0455f9
style: fix player stats bar on mobile
2022-02-28 20:28:28 -08:00
vidvidvid
23048c3625
style: fix the jumping of menu when loading
2022-02-28 20:28:28 -08:00
vidvidvid
866ff5cbf6
style: center the menu + revert size of xp and seeds
...
based on discussion with dave
2022-02-28 20:28:28 -08:00
vidvidvid
22dd1cceab
style: megamenu changes
...
title color, title font weight, position of modal
2022-02-28 20:28:28 -08:00
vidvidvid
132a8bbb9e
style: set background color of body
2022-02-28 20:28:28 -08:00
vidvidvid
a44422b0f4
feat: default layout button
2022-02-28 20:28:28 -08:00
vidvidvid
1e779e7032
fix: triangular menu icon position and width
2022-02-28 20:28:28 -08:00
vidvidvid
a0b6dfaeb1
style: megamenu paddings
2022-02-28 20:28:28 -08:00
dan13ram
c61d4ab40b
fix: temporarily disabled BrightId
2022-02-28 20:28:28 -08:00
dan13ram
a8a43f3ab6
fix: bugs in EmbedUrl + SetupRoles
2022-02-28 20:28:28 -08:00
dan13ram
977ce94656
feat: can edit roles from profile page
2022-02-28 20:28:28 -08:00
dan13ram
810f07bdcd
fix: fixed default player profile layout
2022-02-28 20:28:28 -08:00
dan13ram
fa20fa3967
fix: fixed high level layouting
2022-02-28 20:28:28 -08:00
dan13ram
c38f601299
fix: temporarily disabled BrightId
2022-02-28 20:28:28 -08:00
dan13ram
e022573223
fix: bugs in EmbedUrl + SetupRoles
2022-02-28 20:28:28 -08:00
dan13ram
10f66448ea
refactor: using next api for fetching metadata + eslint updates
2022-02-28 20:28:28 -08:00
dan13ram
7222670c1c
fix: minor ui bugs
2022-02-28 20:28:28 -08:00
dan13ram
a27049de6a
feat: can edit roles from profile page
2022-02-28 20:28:28 -08:00
dan13ram
b8ceceea3c
fix: fixed default player profile layout
2022-02-28 20:28:28 -08:00
dan13ram
34881ff025
fix: fixed high level layouting
2022-02-28 20:28:28 -08:00
Alec LaLonde
55527005ca
Added common FieldDescription component
2022-02-28 20:28:28 -08:00
Alec LaLonde
75c0280781
Form styling improvements, hide the apply button until user is logged in
2022-02-28 20:28:28 -08:00
vidvidvid
c684a22ce4
Completed quests widget ( #1085 )
...
* quest-roles-demo init
feat: backend changes
* fix: more lint
* fix: even more lint
* fix: add field to update quest
* chore: consolidate migrations
* chore: rename
* chore: update schema
* quest-roles-demo init
* feat: add role selector to create quest form
* fix: after rebase
* fix: bug when clicking the only selected value in filter
* feat: save roles to backend
* feat: display roles on /quest/id card
* feat: add megamenu demo link
* feat: add additional roles: Bridgebuilding, Rainmaking, Videomaking
* feat: support for editing roles on quests
* chore: revert changes that allowed me to bypass creating quests
* fix: hide quests demo app link
* fix: alec's corrections
* chore: roles_id -> roleIds
* quest-roles-demo init
* feat: save roles to backend
* feat: add additional roles: Bridgebuilding, Rainmaking, Videomaking
* feat: support for editing roles on quests
* chore: revert changes that allowed me to bypass creating quests
* feat: completed quests section
* feat: display completed quest name + link
* fix: rebasing changes
submitted_at -> submittedAt, etc...
* style: add proof link and style
* style: all quests content and subheader
* style: all quests modal footer
* chore: remove mock data
* fix: schema
* fix: schema
* chore: delete console.log
* chore: dysbulic's suggestions
* fix: final fixes
Co-authored-by: dan13ram <dan13ram@gmail.com >
2022-02-28 20:28:28 -08:00
vidvidvid
2a65d00832
fix: useEffect dependency
2022-02-28 20:28:28 -08:00
vidvidvid
d27f4dc072
fix: alec's corrections
2022-02-28 20:28:28 -08:00
vidvidvid
81e9a8e711
fix: hide quests demo app link
2022-02-28 20:28:28 -08:00
vidvidvid
5d0f4b0a3c
chore: revert changes that allowed me to bypass creating quests
2022-02-28 20:28:28 -08:00
vidvidvid
058acfcf69
fix: add migration for new roles & isBasic -> basic
2022-02-28 20:28:28 -08:00
vidvidvid
8330950887
feat: support for editing roles on quests
2022-02-28 20:28:28 -08:00
vidvidvid
6ee14e3fa9
fix: deselect all options should search for all roles
2022-02-28 20:28:28 -08:00
vidvidvid
ffd610aa79
feat: add additional roles: Bridgebuilding, Rainmaking, Videomaking
2022-02-28 20:28:28 -08:00
vidvidvid
9fef450dec
feat: filter by roles
2022-02-28 20:28:28 -08:00
vidvidvid
14e4ec8a9c
feat: add megamenu demo link
2022-02-28 20:28:28 -08:00
vidvidvid
4b1a447ad7
feat: add roles to /quests cards
2022-02-28 20:28:28 -08:00
vidvidvid
d1a7262053
feat: display roles on /quest/id card
2022-02-28 20:28:28 -08:00
vidvidvid
2e74b96e3c
feat: save roles to backend
2022-02-28 20:28:28 -08:00
vidvidvid
b72f00c9aa
fix: bug when clicking the only selected value in filter
2022-02-28 20:28:28 -08:00
vidvidvid
a99a070b9a
fix: after rebase
2022-02-28 20:28:28 -08:00