Commit Graph

207 Commits

Author SHA1 Message Date
Alec LaLonde
dceacb94dd If no players are associated with a dao, delete it 2022-03-08 20:26:24 +05:30
Alec LaLonde
88decd7f5a Added link to edit your own guild 2022-03-08 20:26:24 +05:30
Alec LaLonde
6c82d004c3 Implemented saving multiple DAOs per guild 2022-03-08 20:26:24 +05:30
Alec LaLonde
ce6a9ce744 Added permissions, removed moloch_address from guild 2022-03-08 20:26:24 +05:30
dan13ram
7bc99d4b45 Fix Onboarding + A Bunch of Other Issues (#1181)
* feat: metamask switch network support + fixed dependancy cycle

* feat: moved landing to index

* feat: updated favicon

* fix: fixed landing page issues + scrollSnap

* feat: join button

* fix: fixed seed script with new prod schema

* feat: join button redirects based on user creation date

* fix: minor ui bug fixes

* feat: connect to mainnet to continue with switch network on metamask

* fix: uniform setup screens

* fix: fixed XP on dashboard

* feat: added start page

* fix: fixed issues on landing page

* fix: fixed minor issues on dashboard

* fix: update idx profile in auth webhook for new players

* fix: minor fixes in seed page

* fix: player avatar & type

* fix: incorporated review comments from @dysbulic & @vidvidvid

* fix: more review comments
2022-03-07 10:20:26 -05:00
δυς
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
dan13ram
ac5f3fe98e fix: login issues 2022-02-18 15:37:28 +05:30
W.J. “dysbulic” H
9acc0443d9 clearing auth token on address change 🍡 2022-02-16 20:17:48 +05:30
W.J. “dysbulic” H
dc5eb4db5f 75 of 100 files from #1078 have been added; need to rebase the parent branch 🚲 2022-02-16 20:17:48 +05:30
δυς
0af87e965d Clean Up & Simplify the Type System (#1116) 2022-02-08 13:13:28 -05: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
dan13ram
e3b5cff2e0 refactor: using next api for fetching metadata + eslint updates 2022-02-07 15:58:31 +01: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
28dad8c92b chore: revert changes that allowed me to bypass creating quests 2022-02-02 10:49:59 -07:00
vidvidvid
9859116d4a feat: save roles to backend 2022-02-02 10:49:59 -07:00
vidvidvid
5259841bfa chore: roles_id -> roleIds 2022-02-02 09:54:12 -07:00
vidvidvid
b0efb56ed2 chore: add createQuest changes 2022-02-02 09:54:12 -07:00
vidvidvid
65810855e6 chore: bump ethers 5.4.3 -> 5.5.3 2022-02-01 11:29:22 -07:00
vidvidvid
85f2b33715 chore: bump graphql 15.5.0 -> 15.8.0 2022-02-01 11:29:22 -07:00
Michiel Quellhorst
d36ea1b761 rank up notification (#1077)
* rank up notification

When a player ranks up a message will be send to the props channel.

* added congrats

* tag player

* small changes after feedback
2022-01-26 21:43:03 +01: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
Alec LaLonde
1fcf78d9d1 Added cron trigger to sync guild memberships from Discord 2022-01-24 09:15:26 -07:00
dan13ram
981d3a93e9 fix: eslint & fetching layout from user on login 2022-01-13 15:57:01 +05:30
Alec LaLonde
925e3511fb For existing guilds, create a metadata table after the discord auth callback 2022-01-09 14:51:58 -07:00
vidvidvid
318939926c fix: revert the @graphql-tools/schema -> graphql-tools 2021-12-20 15:52:17 -07:00
vidvidvid
40de5fb9b6 fix: exclude ./tests from linting 2021-11-30 14:54:49 -07:00
vidvidvid
eeca6e0d46 chore: upgrade eslint and fix all errors 2021-11-30 14:54:49 -07:00
vidvidvid
1145b566d3 chore: bump nock from 13.1.0 to 13.2.1 2021-11-30 14:54:49 -07:00
vidvidvid
5ff716c1b6 fix: sort out unknown types 2021-11-30 14:54:49 -07:00
vidvidvid
977fbb934f chore: replace graphql-tools for @graphql-tools/schema 2021-11-30 14:54:49 -07:00
W.J. “dysbulic” H
a470d1a5d9 semicolons 🐓 2021-11-18 21:23:13 -07:00
Will Holcomb
c00184cfab fixing build errors & duplicated fields 🐸 2021-10-29 21:16:28 -06:00
Will Holcomb
d709c0c6a2 downgrading ceramic packages to avoid typescript conflict 2021-10-29 21:16:28 -06:00
Will Holcomb
1591ecf4e2 refining basic profile input form 🍾 2021-10-29 21:16:28 -06:00
Will Holcomb
43fd20d8a8 updating Ceramic dependencies 👅 2021-10-29 21:16:28 -06:00
Will Holcomb
18075f7b81 adding dotenv & publishing to web3.storage 💰 2021-10-29 21:16:28 -06:00
δυς
b971c57653 switching to multer (& writing to a file) from streaming 🎮 2021-10-29 21:16:28 -06:00
Cali93
9bf7de4a60 basic profile form 2021-10-29 21:16:28 -06:00
Will Holcomb
02409ca242 adding dotenv & publishing to web3.storage 💰 2021-10-29 21:16:28 -06:00
δυς
0362f8ca47 switching to multer (& writing to a file) from streaming 🎮 2021-10-29 21:16:28 -06:00
Will Holcomb
6c9ae80f3a fixing various typescript and dependency issues 🧷 2021-10-29 21:16:28 -06:00
Alec LaLonde
eababb3ae7 Removed reference to old PlayerRole_Enum 2021-10-15 21:24:33 -06:00
Alec LaLonde
c489ac9924 If guild already exists, show edit page 2021-09-16 16:59:26 -06:00
Alec LaLonde
957f641b79 Implemented discord role manager trigger 2021-09-10 11:25:58 -06:00
Alec LaLonde
7f130bfedd Added player_role permissions, playerRoleChanged trigger 2021-09-10 11:25:58 -06: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
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