Commit Graph

96 Commits

Author SHA1 Message Date
vidvidvid
a909ee7649 add plausible 2023-05-29 22:07:03 -06:00
δυς
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
Alec LaLonde
08bae099a9 Cache ENS lookup (#1542)
* Added usePlayerName and usePlayerURL

* Removed resize handler as it was always rendering regardless of edit status

* re-work player page to avoid duplicate player lookups

* Lint fixes

* Force 5.x version of ethers
2023-04-12 05:54:59 -04: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
dan13ram
0da62e9ee9 fixed version of ethers in utils package 2023-01-20 17:05:24 +05:30
Alec LaLonde
601ed71029 Tweaked copy for join guild page, added Discord notification on guild submit 2022-12-15 12:50:46 -07:00
δυς
b67025fd60 Adding of an Image to Quests & Other Fixes (#1461)
* squashing @thebeyondr's adding an image to quests 🧣

* cleaning, conglomerating, & standardizing 

* properly spreading arguments & restructuring forms 🥴

* setting required pSEED to 0 in testing & switching the IPFS gateway ⛑

* printing `NODE_ENV` to double check testing setting 🔩

* `connecting` needs to be initially false to avoid a hydration error 🛶

* testing if setting `$NODE_ENV` is sufficient for configuration 🦋

* seeing if "development" works as a `NODE_ENV` for Next.js 

* adding graphql retry on empty response 🥁

* consuming `NODE_ENV` in Dockerfile 🥺

* going to `APP_ENV` b/c `NODE_ENV` is unsettable 🎺

* removing printing `NEXT_PUBLIC_APP_ENV` 🦷

* making entire quest tile a link

* aligned rank tag in quest details page

* fix: 🐛 Add a `minWidth` to `PlayerTile`

* feat:  Add more accurate image preview for quests

* feat:  Add image to `QuestDetail`

* refactor: 💬 Update `Raid/Phase III` description

* UI & semantics tweaks from @luxumbra 🧞‍♀️

* centering short quest titles 🇪🇺

* borked the quest title centering 👹

Co-authored-by: Scott Stevenson <scott@1box.onmicrosoft.com>
Co-authored-by: thebeyondr <beyondr42@gmail.com>
2022-12-06 17:02:08 -05: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
δυς
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
8e5a4ebb44 Better pseed holdings calculations 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
W.J. “dysbulic” H
6a67fcfb72 switching description display to Markdown 🚒 2022-10-08 10:42:11 +05:30
W.J. “dysbulic” H
b1e4c0e4d7 making needed pSEED configurable 🚵🏿‍♀️ 2022-10-08 10:42:11 +05:30
Alec LaLonde
2489f91670 Hooked up balancer-polygon graph, implemented getPSeedInfo 2022-10-05 08:53:07 -06:00
Dan OneTree
bfd28ac5ce Update packages/utils/src/extendedProfileTypes.ts
Co-authored-by: δυς <dys@dhappy.org>
2022-10-05 10:58:07 +05:30
Dan OneTree
46d80ceb6d Update packages/utils/src/extendedProfileTypes.ts
Co-authored-by: δυς <dys@dhappy.org>
2022-10-05 10:58:07 +05:30
dan13ram
a78d494d87 fix: remove images from ceramic profile 2022-10-05 10:58:07 +05:30
dan13ram
f8f3f444be fix(login): signing welcome message only for did 2022-09-30 19:59:43 +02:00
dan13ram
2fb2595c3c fix(login): fixed token verification 2022-09-29 15:07:08 -06:00
Alec LaLonde
1b4efb4ec5 Refactoring, fixing eslint warnings 2022-09-29 08:25:43 -06:00
Alec LaLonde
d865b259f4 Onboarding game tweaks 2022-09-29 08:25:43 -06:00
luxumbra
27407e2796 adding some help text for noobies
- also now displaying the chiev image in the chiev claim component
2022-09-29 08:25:43 -06:00
luxumbra
75333a6c9e Prefers reduced motion + WIP on adding Chiev.
- 99% of prefers reduced motion toggle sorted aside from the bug with initial state of toggle switch (see todo)
- 50% of Chiev & claim functionality working - TODO: sort issue with chain mismatch & getting the chiev contract available on chiev.es
2022-09-29 08:25:43 -06:00
dan13ram
00f75ce8f2 Update IPFS Gateway (#1325)
* change ipfs gateway

* change env name for ipfs link pattern
2022-08-10 14:48:45 -04:00
Alec LaLonde
49f1bc9a04 Fixed tests 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
34dcc87664 Reverted the ceramic dependency bumps 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
5d91aa0a26 Implemented fetching announcements from Discord 2022-07-05 21:01:30 -06:00
δυς
8eec746cbe Changing import location of isAddress function (closes #1274) 2022-05-31 07:13:41 -04: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
Alec LaLonde
341961e581 Fix XP sync for players with multiple linked eth addresses in SC (#1266)
* Use latest eth address rather than the first when migrating XP data

* Changed imports from ethers package
2022-05-11 10:24:52 -04:00
Ramon Canales
0879473cef addressing Alec's comments on the PR 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
e3dc738288 Regenerated yarn.lock after rebase 2022-04-25 21:14:29 -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
vvvvvv1vvvvvv
b9834ab077 Fix Param Order For personal_sign (#1185) 2022-03-08 02:21:32 -05:00
Alec LaLonde
936a63d411 Start using daohaus metadata when populating DAO information 2022-02-19 11:23:03 -07:00
W.J. “dysbulic” H
f24b22c3da having eslint ignore a console.error call 🎑 2022-02-16 20:17:48 +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
f225de93c8 debugging authentication process 2022-02-16 20:17:48 +05:30
δυς
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
65810855e6 chore: bump ethers 5.4.3 -> 5.5.3 2022-02-01 11:29:22 -07:00
vidvidvid
22ecd3bb18 chore: bump js-base64 3.6.1 -> 3.7.2 2022-02-01 11:29:22 -07:00