Commit Graph

65 Commits

Author SHA1 Message Date
dan13ram
c2cee16681 feat: setup initiation quests 2022-03-16 00:43:35 +05:30
Alec LaLonde
88decd7f5a Added link to edit your own guild 2022-03-08 20:26:24 +05:30
Alec LaLonde
2c457293c2 First pass at dao form input 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
Alec LaLonde
2c32e2702f Added dao and dao_player tables 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
δυς
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
debeb0f0d4 chore: roles_id -> roleIds 2022-02-02 10:49:59 -07:00
vidvidvid
8aacd3e979 chore: update schema 2022-02-02 10:49:59 -07:00
vidvidvid
f323729161 fix: even more lint 2022-02-02 10:49:59 -07:00
vidvidvid
5259841bfa chore: roles_id -> roleIds 2022-02-02 09:54:12 -07:00
vidvidvid
7aa0df3b10 chore: update schema 2022-02-02 09:54:12 -07:00
vidvidvid
a3aa2d4eb2 fix: even more lint 2022-02-02 09:54:12 -07:00
vidvidvid
b0efb56ed2 chore: add createQuest changes 2022-02-02 09:54:12 -07:00
vidvidvid
4840b7dfd6 fix: update schema 2022-02-02 09:54:12 -07:00
vidvidvid
a822e25839 quest-roles-demo init
feat: backend changes
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
Alec LaLonde
925e3511fb For existing guilds, create a metadata table after the discord auth callback 2022-01-09 14:51:58 -07:00
dan13ram
b00fc2a7e8 feat: persisting profile layout changes in hasura 2022-01-09 15:36:17 +05:30
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