Commit Graph

240 Commits

Author SHA1 Message Date
Alec LaLonde
4fe4e707ea Explicitly reset all players' XP at the beginning of a season 2022-07-25 22:19:46 -06:00
Alec LaLonde
34dcc87664 Reverted the ceramic dependency bumps 2022-07-11 21:06:45 -06:00
Alec LaLonde
4a5c577393 Added prefix to avoid conflict with TS Record<> type 2022-07-11 21:06:45 -06:00
Alec LaLonde
90f48fdb25 Bumped a whole bunch of deps 2022-07-11 21:06:45 -06:00
Alec LaLonde
72c0c24ec6 Fixed some post-merge issues 2022-07-05 21:01:30 -06:00
Alec LaLonde
3d415e223b Compute show_discord_announcements flag based on given discord permissions 2022-07-05 21:01:30 -06:00
Alec LaLonde
1254778540 Set discord bot token in backend env 2022-07-05 21:01:30 -06:00
Alec LaLonde
26401b9175 Fixed conflicts from discord v13 upgrade 2022-07-05 21:01:30 -06:00
Alec LaLonde
5d91aa0a26 Implemented fetching announcements from Discord 2022-07-05 21:01:30 -06:00
Alec LaLonde
306f7f0dd6 Post to give-props channel when a quest is accepted 2022-06-11 21:21:10 -06:00
Scott Stevenson
cdf6fc5c49 switched pSEED to Polygon 2022-06-11 20:50:41 -06:00
W.J. “dysbulic” H
f2b0b7d369 renmaing tsxts b/c it contains no JSX 🛤 2022-05-19 04:48:23 -04:00
Alec LaLonde
4b34405d7f Test relative import 2022-05-18 09:06:43 -06:00
Alec LaLonde
cf1e099d56 More config to get relative imports working in backend 2022-05-18 09:06:43 -06:00
Alec LaLonde
6c30c38915 Got relative imports working with ts-node-dev 2022-05-18 09:06:43 -06:00
Arsenije Savic
ea42bea2c0 Dashboard fixes; closes #1209, #1210, #1223, & #1224
* Remove connect to progress if the network is not mainnet

* Move xpHelpers to the utils

* Add tests to the utils package

* Add xpHelpers test

* Add convertToRoman util function

* Display current season label dynamically

* Add onboarding text if player does not have xp

* Remove ConnectToProgress import

* Add connect to progress if the network is not mainnet

* Show edit button if network is not main

* Refactor xp helper season start

* displaying modal when chain change is needed 🛬

* using Unicode Roman numerals Ⅲ

* slight formatting fixes 🗯
2022-05-18 01:48:07 -04:00
Ramon Canales
88719d7579 Build fix and removing useless code 2022-05-07 15:20:30 -06:00
Ramon Canales
0879473cef addressing Alec's comments on the PR 2022-05-07 15:20:30 -06:00
Alec LaLonde
4c9105d5ad Added graphql mutation to remove a PlayerAccount 2022-05-07 15:20:30 -06:00
Ramon Canales
35caa695b9 adding almost all logic and ui elements 2022-05-07 15:20:30 -06:00
Alec LaLonde
c091d76d89 re-enabled daohaus SDK 2022-05-03 09:31:01 -06:00
W.J. “dysbulic” H
202be3f43b porting in disabling of broken DAUHaus Graph 🔖 2022-05-03 09:31:01 -06:00
dan13ram
ca109f87ab feat: upgraded dependencies 2022-05-03 09:31:01 -06:00
Alec LaLonde
5a2baf553a Moved bot init code into bot.ts so that dependent packages aren't using it 2022-04-25 21:14:29 -06:00
Alec LaLonde
702b33c4c3 Got all commands running again 2022-04-25 21:14:29 -06:00
Alec LaLonde
08c8ab671d Remove debugging log 2022-04-25 20:17:05 -06:00
Alec LaLonde
2e30413e41 Fixed guild member sync 2022-04-25 20:17:05 -06:00
Michiel Quellhorst
f1e4902dd3 SC update on discord bot package (#1202)
* SC update on discord bot package

* Fix GithubStorage

* Bumped remaining sourcecred references to 0.10.3, updated typings

* Bumped SC to 0.11

* Fix command in usage hint

Co-authored-by: Alec LaLonde <alec@convergencelabs.com>
2022-03-20 18:09:24 +01:00
dan13ram
e74f9928fc better profile caching in auth webhook 2022-03-17 23:09:32 +05:30
W.J. “dysbulic” H
8077cb4142 reenabling DAOHaus Supergraph 🍇 2022-03-17 23:09:32 +05:30
W.J. “dysbulic” H
c5b78e8dc6 disabling DAOHaus Graph & enabling better logging on GraphQL generation 🐭 2022-03-17 23:09:32 +05:30
dan13ram
4a244d48cc fix: incorporated review comments from @dysbulic & @vidvidvid 2022-03-17 23:09:32 +05:30
dan13ram
3ac9fab95a fix: update idx profile in auth webhook for new players 2022-03-17 23:09:32 +05:30
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