Commit Graph

172 Commits

Author SHA1 Message Date
dan13ram
314575dfe1 updated select perms for new tables 2022-03-16 20:25:55 +05:30
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
δυς
4b41d5c187 Break GitHub Deployment Action Into Jobs (#1103) 2022-02-06 07:52:26 -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
845547816c Delete up.sql~quest-roles-demo-1 2022-02-02 10:49:59 -07:00
vidvidvid
99da5a9d11 Delete up.sql~develop 2022-02-02 10:49:59 -07:00
vidvidvid
f65966db08 chore: rename 2022-02-02 10:49:59 -07:00
vidvidvid
dfdd9d0132 chore: consolidate migrations 2022-02-02 10:49:59 -07:00
vidvidvid
ab811be56b quest-roles-demo init
feat: backend changes
2022-02-02 10:49:59 -07:00
vidvidvid
af28651dcf chore: rename 2022-02-02 10:49:59 -07:00
vidvidvid
10fa3e6fc9 chore: consolidate migrations 2022-02-02 10:49:59 -07:00
vidvidvid
fa7e30a6fb quest-roles-demo init
feat: backend changes
2022-02-02 10:49:59 -07:00
vidvidvid
5259841bfa chore: roles_id -> roleIds 2022-02-02 09:54:12 -07:00
vidvidvid
e2311f3aba chore: rename 2022-02-02 09:54:12 -07:00
vidvidvid
4f1d2e4043 chore: consolidate migrations 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
ca8654a8eb Revert tables metadata change 2022-01-24 09:15:26 -07:00
Alec LaLonde
1fcf78d9d1 Added cron trigger to sync guild memberships from Discord 2022-01-24 09:15:26 -07: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
Guilherme Jabur
6c4c73a685 allow a player to store their pronouns as part of their profile 2021-11-04 22:59:58 -06:00
polimyl
0563c72395 make parameters of seed-local-db.js customizable via env vars 2021-10-27 19:35:33 -06:00
Alec LaLonde
99c4236825 Fixed permissions in hasura metadata 2021-10-15 21:24:33 -06:00
Alec LaLonde
45b3b3f362 First pass at desktop select-roles UI 2021-10-15 21:24:33 -06:00
Alec LaLonde
eababb3ae7 Removed reference to old PlayerRole_Enum 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
9bd59ee44c Added emojis and descriptions to player roles 2021-10-15 21:24:33 -06:00
polimyl
34fdf7f4c4 make env vars in hasura and backend containers more customizable 2021-10-06 20:44:20 -06:00
Alec LaLonde
b69aa39669 Upgraded docker-compose-wait and bumped the wait timeout to 60 (#826) 2021-09-17 12:58:22 +02: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
e5d81b0c1a Added player_role join table and PlayerRole enum table 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
9ddbafe2c3 Fixed permission, input parsing 2021-08-26 10:10:01 -06:00