58 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
91b3d8fb0f Start using daohaus metadata when populating DAO information 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
7a7af04cc5 chore: roles_id -> roleIds 2022-02-28 20:28:28 -08:00
vidvidvid
9ba4884f41 chore: update schema 2022-02-28 20:28:28 -08:00
vidvidvid
e0c05a0c7d fix: even more lint 2022-02-28 20:28:28 -08:00
vidvidvid
63c9cd24d8 chore: roles_id -> roleIds 2022-02-28 20:28:28 -08:00
vidvidvid
8bfc73ebde chore: update schema 2022-02-28 20:28:28 -08:00
vidvidvid
c14e6a2f1f fix: even more lint 2022-02-28 20:28:28 -08:00
vidvidvid
a95ef4e3f3 chore: add createQuest changes 2022-02-28 20:28:28 -08:00
vidvidvid
c8709496fe fix: update schema 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
δυς
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
Alec LaLonde
b6a89453ee For existing guilds, create a metadata table after the discord auth callback 2022-02-28 20:28:28 -08:00
dan13ram
236cde9ff6 feat: persisting profile layout changes in hasura 2022-02-28 20:28:28 -08:00
vidvidvid
42aba14546 fix: revert formatting changes 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
Alec LaLonde
5eafa1359e Standardized player relationship names 2021-09-10 11:25:58 -06:00
Istvan Richter
a38769c4b9 Add id and rank field to player_skill 2021-09-07 11:34:03 -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
be16175a04 Moved membership_through_discord to guild table from guild_metadata 2021-09-02 15:34:33 -06:00
Alec LaLonde
dcdd58d4e0 Implemented state check in discord auth, added twitter/github URLs to guild form 2021-09-02 15:34:33 -06:00
Alec LaLonde
891e2975a9 Added trigger to sync GuildPlayers with Discord 2021-09-02 15:34:33 -06:00
Alec LaLonde
7a86124e97 Fixed a couple migrations 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
Michiel Quellhorst
2778f14fd6 Add internal / external position property to guilds (closes #489) 2021-08-10 17:11:59 -04:00
Will Holcomb
9d6dc90df5 rebasing & regenerating schema 🥘 2021-07-28 06:38:25 +05:30
Will Holcomb
b377f71f4c missing CacheProcessOutput 🐥 2021-07-28 06:38:25 +05:30
Will Holcomb
9fdc2747e6 configuring Hasura actions and triggers to cache profiles 🎡 2021-07-28 06:38:25 +05:30
dan13ram
265ad06772 support select of season_xp by players & public 2021-07-27 10:28:06 +05:30
dan13ram
6810e573b7 added season_xp to db 2021-07-22 12:21:04 +05:30
Hammad Jutt
142aa8a9a3 Allow users to force-update their linked ETH address
Removed sc_identity_id from Player table because it enforces ETH addresses to be used as the single source of truth for users and prevents conflicts when users update their ETH address in the ledger. sc_identity_id is not needing anywhere in our backend / data model.
2021-07-05 21:44:14 -06:00
Matthew Cantelon
b2d53b06b6 feat: add polygon and xdai chains when pulling DAO membership
This uses two new subgraphs to pull DAO memberships for Ethereum, xDai,
and Polygon mainnets. The pulls are in parallel. The underlying data is
structured the same way but seems to be missing some information, see
https://github.com/HausDAO/daohaus-supergraph/issues/44
2021-06-13 23:57:34 -06:00
mquellhorst
05bf6fd9cf guild pages implemented 2021-05-01 23:50:28 -06:00
Alec LaLonde
6e3fe89744 Changed oauth handler to use a web URL that calls the backend to exchange the given code 2021-04-21 10:07:34 -06:00
Alec LaLonde
b29e629082 Added status to guild table 2021-03-28 22:08:25 -06:00
Alec LaLonde
27985422e6 Tweaked sourcecred migrator to use new player.discord_id column 2021-03-28 22:08:25 -06:00
Will Holcomb
2fa256d23e removin' vistiges of Enneagram ✴ 2021-03-28 22:08:25 -06:00
Will Holcomb
f00bee9b41 ~ minimum code to add color chooser 🔦 2021-03-28 22:08:25 -06:00
Alec LaLonde
cf89c01642 updated schema 2021-03-26 21:17:15 -06:00
Alec LaLonde
04503aff17 Added migration for metafam rank discord role IDs 2021-03-26 21:17:15 -06:00
Alec LaLonde
f9e1b14631 Added status to guild table 2021-03-26 21:17:15 -06:00
Alec LaLonde
647fe8e550 Tweaked sourcecred migrator to use new player.discord_id column 2021-03-26 21:17:15 -06:00
Pacien Boisson
b5ee57abc9 squash backend changes (#438) 2021-03-26 11:23:59 +04:00
dan13ram
ba35ff0cb7 added seed-graph as a new remote schema (#410)
* added seed-graph as a new remote schema

* removed unwanted remote schema and added a query
2021-03-15 16:48:49 +05:30