271 Commits

Author SHA1 Message Date
δυς
2921a47ef0 Review: meTokens ₍wᵢₜₕ gᵣₐₙᵤₗₐᵣ 𝄴ₒₘₘᵢₜₛ₎ (#1552)
* linting 🃡

* removing MetaMask specificity 🃢

* moving `StrictMode` to Next.js 🃣

* compressing & commafying 🃤

* upgrading eslint 👘

* removing preface from guild name 🃥

* removing unnecessary ESLint `no-console` directives 🌂

* fixing a typo in a comment 🃦

* updating GraphQL codegen for paid subgraph 🦏

* replacing Discord invite link 📌

* passing through The Graph API token to Docker ♾

* setting Docker ARG to set ENV 📟

* missed a file rename in frontend Docker config 🦀

* adding ts-node to fix Docker build issue ⸙

* trying to narrow down the 500 error's source in the test instance 

* exposing The Graph API token on Cloud Run 🦃

* more logging to try & find server error 🐠

* more logging 🧱

* trying to run Node.js in development mode on Cloud Run 🎁

* reconfiguring frontend Dockerfile to also run the dev environment 🌿

* dev mode seems to function 🧨

* 768MiB wasn't enough memory 🍁

* 1GiB wasn't enough memory 🔱

* 1.5GiB was interpreted as 1GiB 🥃

* 1536MiB wasn't enough memory 👾

* 2GiB wasn't enough memory 🧲

* 3GiB wasn't enough memory 🆎

* 4GiB might have been enough, but it still doesn't load 🧻

* 5GiB requires two CPUs 📝

* giving up on dev server; unexplained HTTP 429s 🎨

* disabling Honeybadger in test instances 📮

* trying an `ErrorBoundary` to gather more info 🕷

* setting GraphQL endpoint 🇲🇰

* exposing environment variables ⛈

* trying to expose `` 📻

* the Next compiled version still references `node_modules` 🦢

* removing Alchemy API key from sources 

* trying a different Docker build action 💉

* removing logging 🍿

* switching to Docker Buildx 👠

* missed an escaped newline 🗿

* trying a newer gcloud setup action 🦝

* hopefully fixing authentication 📴

* bunch of changes to the meTokens profile section 🦜

* need credentials file 🐆

* hunting for layout load error & pushing debug statements to testing 🥁

* updating eslint 💓

* trying to debug the missing Breadchain Coop 🧀

* apparently chose the wrong changeset 🐚

* removing logging 🥀
2023-05-15 09:12:03 -06:00
dysbulic
d07f4d785f tweaking Ceramic aliases & trying to remove duplicate @emotions 2023-03-13 10:19:16 -06:00
dysbulic
0f9759aeb6 fixing SourceCred & Discord syncs, Meet w/ Wallet, & gating backgrounds 🥶 2023-03-13 10:19:16 -06:00
dysbulic
257f1db21f squashing bugs in Discord & SourceCred syncs 🤹🏿‍♀️ 2023-03-13 10:19:16 -06:00
Sero
b30267941b Resolve ENS
* moving pr over to fresh branch

* fixes

* update migrate

* pulling in files for rename of `migrate` to `sync` for SourceCred 🔖

* fix

* prevent lack of data

* formatAddress

* tile

* fixes

* switch rpc

* refactor and remove maps, clean up set

---------

Co-authored-by: dysbulic <dys@dhappy.org>
2023-03-02 15:36:34 -05:00
δυς
5f8cae1aea Improving Leaderboard Loading Time
* removing BrightId *(unused)* and DAOHaus memberships *(loaded separately)* from `Player` retreival 🦷

* setting `max-width` on hamburger menu 🧾

* increasing shown DAOs, shunting remote schemas, & handling missing Discord token 🤐

* triggering recalc on element resize 🚲

* adding copy of ETH address on profile image click 🛹

* adding `@emotion/cache` to try and eliminate unstyled content render 

* cleaning up failed emotion cache experiment 🚓

* updating Ceramic & locking versions to beat a dependency conflict 🤲🏿
2023-01-31 16:44:01 -05:00
Alec LaLonde
9f8a367f4c Disabled give-props discord notification for league advancement 2022-12-15 12:50:46 -07:00
Alec LaLonde
8c98c75020 Addressed dysbulic's suggestions 2022-12-15 12:50:46 -07:00
Alec LaLonde
601ed71029 Tweaked copy for join guild page, added Discord notification on guild submit 2022-12-15 12:50:46 -07:00
δυς
7cd6b90e37 Ceramic ModelManager → DataModel (#1453)
* updating frontend Ceramic ModelManager → DataModel 🚪

* adding DataModel to the backend 🎼

* fixing CAIP-10 lookup 🛎
2022-11-29 18:13:32 -05:00
Alec LaLonde
3c2dec7909 Only send props for completed quests in prod environment 2022-11-15 15:55:06 -07:00
Alec LaLonde
1ee1e046ad Fix local dev in docker 2022-11-15 09:59:44 +01:00
δυς
9e37df6207 Update MyMeta to ECMAScript Modules + Switch to DID:PKH (#1429)
* beginning ESM transition: Ceramic libraries, Next.js, & TypeScript configuration 🇭🇰

* updating Chakra, React, & Next image `import`s 👔

* upgrading `@types/react`, import extensions for Node, & b64 SVG to PNG ⛹🏿‍♀️

* fixing relative import names & upddating @types packages 📻

* removoing WYSIWYG editor, draft-js, & updating express ⛹🏿‍♀️

* updating OpenSea 🚲

* ¡@metafam/utils is building! 📰

* ¡Discord bot is building! 👘

* ¡backend is building! 🛩

* fixed everything but Ceramic DID update 🏍

* switching to DID:PKH 📦

* fixing "only one child allowed" error 🙇🏿‍♀️

* importing `React` as required by tsc's `isolatedModules` 🇲🇰

* disabling testing rather than taking the time to fix jest ⚜

* removing set `types` from `tsconfig` to fix compilation error 🥦

* printing tests disabled warning, hopefully 🙀

* setting file to be copied to the new resolver 👁️‍🗨️

* "paths-resolver" not "paths-resolve" 🦴

* switching back to relative paths rather than trying to fix `paths` 

* `yarn backend:dev` not working, testing GitHub build 🎺

* removing design system build & fixing some images ✊🏿

* fixed "expected function got string" error & trying to address undefined HTMLElement 🐡

* fixing @emotion/react tree shaking by making external 🏏

* including eslint config in Dockerfile 🌾

* fixing more images 🎯

* updating DIDs & switching back to an updated DID:3 ❇

* switching to w3s.link gateway & fixing early termination of storage endpoint 🔭

* switching back to ipfs.io gateway b/c w3s.link serves SVGs as application/xml which are CORB blocked 🥾

* fixing node config name in eslint ignore & shortening some paths 🧰

* fixing ts-node not handling project references 🥁
2022-11-14 11:26:41 -05:00
Alec LaLonde
69f1bbeaaa Added sortPosition to guild table 2022-10-25 22:04:22 -06:00
luxumbra
a794355f44 Frontend Honeybadger integration
- See  #1414
- `trycatch` blocks should now have `Honeybadger.notify(error)` which will give us nice error/exception reports when stuff happens in the wild.
- Also have Clarity working again with a new projectId
- HotJar integration is working as well.
- env vars will need adding to test & prod for honeybadger, clarity and hotjar.
2022-10-21 13:21:38 -06:00
Alec LaLonde
3dabae9f49 Filter out contract address in pSeed holders 2022-10-19 22:55:17 -06:00
Alec LaLonde
b78554ad64 Updated /join/patron to compute patron league tiers properly 2022-10-19 22:55:17 -06:00
vidvidvid
ec8182d7da Role Onboarding using Quest Chains (#1150)
* feat: set up quests dashboard

move quest explorer to /quests/general

* feat: prepare containers for path-of-the-engaged and initiation quests

* chore(release): 0.2.0

* feat: add metacollab and web 3 onboarding categories

* feat: move initiation quests from notion -> metaOS

awyiss it's happening

* chore: lint quickfix

* feat: add descriptions, objectives, checkbox, collapse/expand

* add Dockerfile to .gitignore

* go

* quick fix

* upload proof modal

* config and install

* upload proof works

* show status of quests (pending, etc..)

* remove initiation & update engaged quests

* fix quest categories

add bridgebuilders, builders, patrons, fix icons

* typecheck fix

* fix address for bridgebuilders quests

* design of chain progress + small fix

* minor fixes

* using latest version of quest-chains sdk

* basic UI for quests

* using children for react-markdown

* better styling for quest tiles

* completed quest chain styling

* fixed toasts

* fixed imageLink

* added link to quest chains

* minor fixes

* added back to onboarding paths link

* fixed external link icon as absolute pos

* reduce gaps for mobile

Co-authored-by: Vid <vid@meisterlabs.com>
Co-authored-by: dan13ram <dan13ram@gmail.com>
2022-10-08 19:05:42 +01:00
Alec LaLonde
41550cdacd Reverted pSeed requirement hack 2022-10-08 08:15:31 -06:00
Alec LaLonde
00550596a1 Stubbed out new quest activity page 2022-10-08 08:15:31 -06:00
W.J. “dysbulic” H
b1e4c0e4d7 making needed pSEED configurable 🚵🏿‍♀️ 2022-10-08 10:42:11 +05:30
dan13ram
30e2e4b3a4 added mutation to update guild profileLayout 2022-10-06 22:26:02 -06:00
Alec LaLonde
f5196d5d2c Return null rather than undefined 2022-10-05 08:53:07 -06:00
Alec LaLonde
2489f91670 Hooked up balancer-polygon graph, implemented getPSeedInfo 2022-10-05 08:53:07 -06:00
dan13ram
99840576eb fixed backend to update images if undefined 2022-10-05 10:58:07 +05:30
Alec LaLonde
2c9251a0e7 Don't sync during tests 2022-08-10 09:36:19 -06:00
Alec LaLonde
403dbd2d48 Added DAO / player membership sync when fetching a player 2022-08-10 09:36:19 -06:00
Alec LaLonde
3bc31d50fa Refactored backend graphql queries 2022-08-10 09:36:19 -06:00
Alec LaLonde
44691b6ab1 Refactored backend graphql mutations 2022-08-10 09:36:19 -06:00
Alec LaLonde
4fe4e707ea Explicitly reset all players' XP at the beginning of a season 2022-07-25 22:19:46 -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
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
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
dan13ram
e74f9928fc better profile caching in auth webhook 2022-03-17 23:09:32 +05:30