91 Commits

Author SHA1 Message Date
δυς
4a4538c347 Refactor Setup Wizard & Profile Modal Configuration Panes (#1127)
* incorporating configuration panes from #1078

* standardizing player hero subcomponents & removing `owner` var from `useProfileField` 🚪

* switching box type, ambiguating overly-specific names, & massaging heights 📱

* reordering profile details sections, updating deployment environment, & conditionally wrapping the hero elements 🎬

* fixing render of color disposition selector 🕍

* self code review changes: removed some `;`s 🎋

* getting yarn typecheck && yarn lint to pass post rebase 🏇🏾

* handling "missing <div> in <button>" error with mounted check & setting HTTP return codes for OpenSea API endpoint 🕺

* `ProfileWizard` extends `Wizard`, roles display better on mobile, & pronouns use `ProfileWizardPane` 🍊

* properly encapsulating ETH address regex 🚲

* adding some tasks 🏥

* fixed skills layou

* handling default values? 

* corrections for revision comments from @dan13ram (UI bugs to follow) 🌋

* cleaning up memberships & explorer type 🧫

* refactoring player roles configuration and display to use `WizardPane` 🔮

* bunches of mobile fixes & repairing the display of deserialized skills 📟

* removing redirect in static props & formatting memberships display for responsiveness 🪆

* improving comprehensability of `/me` & more mobile tweaking 🍦

* various spacing fixes & a “try again” button for connecting 🫕

* maybe fixed issue with saving images for fields with default values 🇩🇿

* switched roles selection to a bounded `SimpleGrid` to fix sizing weirdness 🧰

* fix: removed verify on brightId button

* fix: clean up username page

* formatting & fixing skills issues 🥩

* reformatting NFT display 🚂

* adding `/join` 🚉

* style: peth's suggestions

* added mainnet required message

* style: slight tweak of megamenu item positions

* chore(release): 0.2.0

Co-authored-by: tenfinney <scott@1box.onmicrosoft.com>
Co-authored-by: dan13ram <dan13ram@gmail.com>
Co-authored-by: vidvidvid <weetopol@gmail.com>
2022-02-28 20:28:28 -08:00
Alec LaLonde
8af3b29d33 Added chain icon to DAO listings 2022-02-28 20:28:28 -08:00
Alec LaLonde
91b3d8fb0f Start using daohaus metadata when populating DAO information 2022-02-28 20:28:28 -08:00
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
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
058acfcf69 fix: add migration for new roles & isBasic -> basic 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
d1a7262053 feat: display roles on /quest/id card 2022-02-28 20:28:28 -08:00
vidvidvid
d559d5a1bf fix: add field to update quest 2022-02-28 20:28:28 -08:00
vidvidvid
5fddba61be fix: add field to update quest 2022-02-28 20:28:28 -08:00
vidvidvid
e8bb62d611 quest-roles-demo init
feat: backend changes
2022-02-28 20:28:28 -08:00
vidvidvid
d0db7db24a chore: bump next-urql 3.1.0 -> 3.3.2 2022-02-28 20:28:28 -08:00
dan13ram
e7d037bbb5 fix: prefetching personalityInfo on profile page 2022-02-28 20:28:28 -08:00
δυς
5a5d6e2915 Reading and Writing Profile Info From Ceramic (#943)
This is being merged for further testing so as to not block the progress of `develop` & not require more rebases.
2022-02-28 20:28:28 -08:00
dan13ram
6f3bcd0dc0 feat: persisting profile layout changes in hasura 2022-02-28 20:28:28 -08:00
Alec LaLonde
5f60d4a2f5 Refactored GetPlayers graphql query to pass where clause as variable (#946) 2021-12-03 17:41:51 +01:00
vidvidvid
3013f55952 fix: rebasing/merging problem 2021-11-04 22:59:58 -06:00
vidvidvid
1037889850 fix remaining issues 2021-11-04 22:59:58 -06:00
Guilherme Jabur
d8a1639bc7 allow a player to store their pronouns as part of their profile 2021-11-04 22:59:58 -06:00
Guilherme Jabur
6c4c73a685 allow a player to store their pronouns as part of their profile 2021-11-04 22:59:58 -06:00
Alec LaLonde
45b3b3f362 First pass at desktop select-roles UI 2021-10-15 21:24:33 -06:00
Alec LaLonde
89fe2b4db6 Stubbed out SetupRoles step 2021-10-15 21:24:33 -06:00
Udit Takkar
c7f913dc0c added forLoginDisplay variable to reduce data returned for login display
Closes #738.
2021-09-16 10:15:57 -04:00
Alec LaLonde
5eafa1359e Standardized player relationship names 2021-09-10 11:25:58 -06:00
Alec LaLonde
2170eb88fe Added id to a bunch of graphql responses to help with caching 2021-09-02 15:34:33 -06:00
Alec LaLonde
cce43f2e9f Implemented guild page players section 2021-09-02 15:34:33 -06:00
Alec LaLonde
29abec059d Added guild_players remote relationship to fetch discord member roles 2021-09-02 15:34:33 -06:00
Alec LaLonde
e1c5656352 Enhanced player memberships with guild image and link 2021-09-02 15:34:33 -06:00
Alec LaLonde
be16175a04 Moved membership_through_discord to guild table from guild_metadata 2021-09-02 15:34:33 -06:00
Alec LaLonde
66a9f928aa Attempt to pre-fill selected discord roles 2021-08-26 10:10:01 -06:00
Alec LaLonde
86bd86ba34 Added saveGuildInformation action 2021-08-26 10:10:01 -06:00
Alec LaLonde
30dbc737a8 Added guild_metadata table to hold admin-only guild information 2021-08-26 10:10:01 -06:00
Alec LaLonde
270bfa88e3 Added separate guild metadata table with different permissions 2021-08-26 10:10:01 -06:00
Alec LaLonde
fa690f1e48 Fetch pending guilds for guild join page 2021-08-26 10:10:01 -06:00
dan13ram
1cd91bdc72 added sorting to the filters 2021-08-25 08:56:33 -06:00
Michiel Quellhorst
2778f14fd6 Add internal / external position property to guilds (closes #489) 2021-08-10 17:11:59 -04:00
Will Holcomb
9eb2eb66d6 invalidating cache entry on profile page load 💣 2021-07-28 06:38:25 +05:30
Will Holcomb
d9876c563f standardizing the capitalization of URL 2021-07-28 06:38:25 +05:30
Will Holcomb
49f1de154d removing job & ethereum addr from cached info 🎯 2021-07-28 06:38:25 +05:30
Will Holcomb
b6ad318965 frontend changes to use cached profile rather than remote schema 🍥 2021-07-28 06:38:25 +05:30
dan13ram
d1ec0e8501 better search for timezone filter 2021-07-11 17:12:28 -06:00
dan13ram
354dc22228 fetching count and players simultaneously 2021-07-08 10:30:26 -06:00
dan13ram
9c2a11b993 added pagination for players page 2021-07-08 10:30:26 -06:00
Matthew Cantelon
62376d0f9b feat: show DAOs in a modal and match NFT gallery styling
(cherry picked from commit a29835078c490e73ef2cc447d8c10959915cd560)
2021-06-24 11:11:39 -06:00
dan13ram
591b7d1e9f updated filters with new design 2021-06-14 14:01:24 +05:30
Luxumbra
5f8d6429d8 Feature/550 personality type styles (#628)
* Gradients, colours & Icons added as per Figma

* forgot to remove `SVG` from the ds import

* formatting improvements

* Added in the correct colour value for courage
removed the quotes and added correct font (mono) for the type title

* Tweak to the white type to be moar white.

* responses to feedback from @dysbulic
2021-06-13 23:57:34 -06:00
dan13ram
c2e3782d28 added filters for /players page (#566)
* player filters for type and skills

* fetching multiple players in parallel

* removed tile fragment

* search by username or address

* better spacing

* availability filter

* timezone filter

* passing tests in ds

* submit form in search bar

* added better labels for timezone

* fixed test issue

* searching only if search >= 2 char

* meta select ds

* updated metabutton bg color

* parallel for > 50 only

* fix reset search filter
2021-05-19 20:49:06 +05:30