55 Commits

Author SHA1 Message Date
Sero
38c3dc059e Sero/wc v2 (#1735)
* wc/wagmi/viem

* replace

* profile

* replace context (,:

* testing, clean up

* wallet connect deploy

* connect

* remove type slive

* podcast

* podcast

* heck yeah

* feat: connect button

* chore

* trying siwe, network switch

* redirect

* prettying, cleaning up SIWE endpoints, & passing linting 🕊

* switching minting to Optimism & converting `ethers` to `wagmi` for contract access 🥧

* simplified onboarding & successfully minted 

* typo

* api key

---------

Co-authored-by: Udit Takkar <udit222001@gmail.com>
Co-authored-by: dysbulic <dys@dhappy.org>
2024-03-21 06:09:12 -04:00
Sero
3553a9d4f3 xp and seed reward 2024-01-25 10:36:05 -05:00
Sero
06847ef5e0 deleted quest chain mut 2024-01-15 11:21:20 -05:00
Seroxdesign
ff5c5c3ddb hasura stuff for pinning 2024-01-08 08:54:45 -05:00
Seroxdesign
e4abd80201 delete 2023-12-14 20:23:50 -07:00
dysbulic
f05cfeb36e copying guild ordering logic for DAOs 🫶🏾 2023-12-14 20:23:50 -07:00
dysbulic
18b2d0cacd upcasing "URL" & throwing errors when they occur ₿ 2023-12-14 20:23:50 -07:00
dysbulic
26bee9e314 fixed visibility & position serialization 🪅 2023-12-14 20:23:50 -07:00
dysbulic
8336c07093 making legitimacy uneditable & URLs optional 📞 2023-12-14 20:23:50 -07:00
Seroxdesign
f8ea8437b0 update guild form 2023-12-14 20:23:50 -07:00
Seroxdesign
8084b3bc5f add query and mutations for inserting, updating and getting guild membership data 2023-12-14 20:23:50 -07:00
Seroxdesign
c32226cb30 make links on guild page dynamic 2023-10-09 05:45:05 -04:00
Seroxdesign
f922990bd8 add, edit, delete links for guilds 2023-09-27 12:17:01 -04:00
Seroxdesign
d61bb71b82 prepare guild stuff 2023-09-26 12:45:38 -04:00
Seroxdesign
6ac66f685f update, delete and add player links 2023-09-25 10:14:21 -04:00
Seroxdesign
ba020edd5b delete and update link mutations 2023-09-20 09:09:28 -04:00
Seroxdesign
6e7c22ffc2 xp fixes and frontend for links 2023-09-18 10:17:20 -04:00
Seroxdesign
edeafe04a4 dework fix by removing unnecessary value in gql, fix a rendering mismatch issue due to nested Text, add keys to non keyed values 2023-08-24 14:13:15 -06:00
Seroxdesign
c7dd1ed150 Write and Read Dework URL to player_account 2023-08-24 14:13:15 -06:00
Seroxdesign
2ee7bdc190 graphql stuff on FE 2023-08-24 14:13:15 -06:00
Alec LaLonde
9144bfb4d8 Fixed MWW integration, removed more cruft 2023-08-09 09:44:10 -06:00
Alec LaLonde
655b857070 Replaced IDX cache actions / triggers with composeDB ones 2023-08-09 09:44:10 -06:00
Alec LaLonde
d5ef129a2c Call new linkProfileNode action 2023-08-09 09:44:10 -06:00
Alec LaLonde
48804f0e3b Unified composeDB models into one, updated setup flow to use new model 2023-08-09 09:44:10 -06:00
dan13ram
30e2e4b3a4 added mutation to update guild profileLayout 2022-10-06 22:26:02 -06:00
dan13ram
c26e04bb7c feat(Dashboard): persisting dashboard changes to server + refactor/cleanup 2022-09-30 19:59:43 +02:00
Alec LaLonde
5d91aa0a26 Implemented fetching announcements from Discord 2022-07-05 21:01:30 -06:00
Alec LaLonde
88decd7f5a Added link to edit your own guild 2022-03-08 20:26:24 +05:30
δυς
317ba7c9e5 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 14:06:16 -05:00
Alec LaLonde
936a63d411 Start using daohaus metadata when populating DAO information 2022-02-19 11:23:03 -07:00
δυς
81883f940e 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-08 06:01:06 -05:00
vidvidvid
c368bbeb28 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-03 10:02:39 +01:00
vidvidvid
239f0009c1 fix: add field to update quest 2022-02-02 10:49:59 -07:00
vidvidvid
b590cb7785 fix: add field to update quest 2022-02-02 09:54:12 -07:00
δυς
f5295c3242 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-01-25 16:51:53 -05:00
dan13ram
19f3b7fac2 feat: persisting profile layout changes in hasura 2022-01-13 15:57:01 +05:30
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
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
Alec LaLonde
86bd86ba34 Added saveGuildInformation action 2021-08-26 10:10:01 -06:00
Will Holcomb
9eb2eb66d6 invalidating cache entry on profile page load 💣 2021-07-28 06:38:25 +05:30
dan13ram
8517a26048 Upgrade dependencies (#486)
* upgraded storybook dependencies

* upgraded web dependencies

* updated timezone selector

* upgrade chakra in metamaps

* upgraded react-dnd in metamaps

* upgraded framer-motion

* fixed types in metamaps

* upgraded eslint

* upgraded lerna, husky and graphql

* upgraded node version

* removed metamaps package

* fixed all eslint issues

* ran yarn format to prettier format all files

* updated lint-staged & husky scripts

* add executable perms to pre-push scripts

* updated yarn.lock

* fixed eslint and moved chakra icons to ds

* fixed emotion errors

* removed extra useContext

* update yarn.lock

* upgraded more packages

* removed unnecessary .huskyrc.json

* lint fix
2021-05-01 12:46:48 +05:30
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
Pacien Boisson
dfff04ebaa [Quests] Frontend (#437)
* squash frontend changes

* Style quest explorer

* Style quest page

* Dates

* Dates

* Typecheck

* Prettier

* Fix create page layout

* Update only OPEN quests

* Repetition info

* Fix create quest errors

* Quest form Textarea

* Quest form Textarea

* Truncate texts

* Redirect if user not logged in

* Tooltips

* Factorize skills tags

* fix username in completions

* Metafam as default guild on creation

* Layouts

* Remove todo

* cooldown

* Rename to "claim quest"

* squash frontend changes

* Style quest explorer

* Style quest page

* Dates

* Dates

* Typecheck

* Prettier

* Fix create page layout

* Update only OPEN quests

* Repetition info

* Fix create quest errors

* Quest form Textarea

* Quest form Textarea

* Truncate texts

* Redirect if user not logged in

* Tooltips

* Factorize skills tags

* fix username in completions

* Metafam as default guild on creation

* Layouts

* Remove todo

* cooldown

* Rename to "claim quest"

* Move ConfirmModal in ds

* Extract pSeed balance

* Fix "created by me" switch

* Reword complete quest

* Style quest form

* prettier

* lint
2021-04-08 15:32:27 +04:00
Will Holcomb
2fa256d23e removin' vistiges of Enneagram ✴ 2021-03-28 22:08:25 -06:00
Alec LaLonde
c7111fe3fd Changed update player username graphql mutation 2021-02-26 16:07:47 -07:00
Alec LaLonde
5534ff1a45 Renamed player columns to be consistent snake_case (#262) 2021-01-06 22:08:58 -07:00