150 Commits

Author SHA1 Message Date
Alec LaLonde
4b4892bfd9 Update frontend ceramic_url as well 2023-08-09 09:44:10 -06:00
Alec LaLonde
093c201193 Fix ceramic API change 2023-08-09 09:44:10 -06:00
Alec LaLonde
23f821060f Fixed construction of profile payload when changing an image 2023-08-09 09:44:10 -06:00
Alec LaLonde
e88b219276 Fixed edit profile field saving, updated useUser to load from composeDB 2023-08-09 09:44:10 -06:00
Alec LaLonde
516922743b Fix setup / avatar upload 2023-08-09 09:44:10 -06:00
Alec LaLonde
7bd4e11d51 Implemented fetching file size and dimensions before persisting to ComposeDB 2023-08-09 09:44:10 -06:00
Alec LaLonde
46f5b5c26a Fixed and tested image upload during setup 2023-08-09 09:44:10 -06:00
Alec LaLonde
d282ee89f2 Merged in new setup profile image field page 2023-08-09 09:44:10 -06:00
Alec LaLonde
b78e17f81b Added useImageReader, updated EditProfileModal to get the appropriate picked file data 2023-08-09 09:44:10 -06:00
Alec LaLonde
5997140836 Added ComposeDB migration modal, still need to implement image migration 2023-08-09 09:44:10 -06:00
Alec LaLonde
0ca66d1da3 Implemented player hydration from Hasura 2023-08-09 09:44:10 -06:00
Alec LaLonde
4195aa5ce7 Added PlayerHydrationContext for dynamically refreshing player data on player page 2023-08-09 09:44:10 -06:00
Alec LaLonde
250ff75bd3 Fetch profile details from ComposeDB during [username] page SSR 2023-08-09 09:44:10 -06:00
Alec LaLonde
a12d7234b3 Implemented proper persistence w/ verification of a user's ceramic profile node 2023-08-09 09:44:10 -06:00
Alec LaLonde
d5ef129a2c Call new linkProfileNode action 2023-08-09 09:44:10 -06:00
Alec LaLonde
20085c7ef9 Fixed a couple errors in first-time setup flow 2023-08-09 09:44:10 -06:00
Alec LaLonde
48804f0e3b Unified composeDB models into one, updated setup flow to use new model 2023-08-09 09:44:10 -06:00
Alec LaLonde
c7be9eae90 Load profile data from composeDB on player page 2023-08-09 09:44:10 -06:00
Alec LaLonde
2f2812ba5e Added query to fetch all profile fields from composeDB 2023-08-09 09:44:10 -06:00
Alec LaLonde
85b7a66b88 Finished upgrading profile setup components 2023-08-09 09:44:10 -06:00
Alec LaLonde
6f768d8f9b Refactored wizard stuff again to simplify it 2023-08-09 09:44:10 -06:00
Alec LaLonde
0ea6dd5042 Implemented fetching from ComposeDB for first three profile wizard screens 2023-08-09 09:44:10 -06:00
Alec LaLonde
6e1cba8d4c Refactored setup logic into ProfileWizardContext 2023-08-09 09:44:10 -06:00
Alec LaLonde
4b06ac12a1 Some fixes after bumping urql to 3.x 2023-08-09 09:44:10 -06:00
Alec LaLonde
f9375c6678 Got PoC working for persisting username to ComposeDB 2023-08-09 09:44:10 -06:00
Alec LaLonde
4d3258eb43 Started hooking up the edit profile page to composedb 2023-08-09 09:44:10 -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
Konrad Gnat
772507b9b5 remove logs, prep for cr 2023-02-21 09:39:39 -07:00
Konrad Gnat
6734fd9bee add photo to profile wizard, create the ui and display local preview 2023-02-21 09:39:39 -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
δυς
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
luxumbra
2c1d450f02 Forgot to remove the Honeybadger imports from files after adding errorHandler 2022-10-21 13:21:38 -06:00
luxumbra
a53e450f81 addressing feedback from @alalonde
- Moved `Honeybadger.notify()` to `errorHandler.ts` and replaced instances.
- Removed module definitions from `env.d.ts`
2022-10-21 13:21:38 -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
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
dan13ram
33ec384f9c using editable grid layout for guild profile 2022-10-06 22:26:02 -06:00
dan13ram
1839059806 fixed bug in saving empty imageURL to jotaiState 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
9ce5dc99ae feat: added support for removing banner / background image 2022-10-05 10:58:07 +05:30
dan13ram
0b086e4c6e fix: consolidated console logs + eslint fix 2022-10-01 23:21:03 +05:30
dan13ram
da5cafa05c fix: consolidated modal styles 2022-10-01 23:21:03 +05:30
dan13ram
c26e04bb7c feat(Dashboard): persisting dashboard changes to server + refactor/cleanup 2022-09-30 19:59:43 +02:00
Alec LaLonde
1b4efb4ec5 Refactoring, fixing eslint warnings 2022-09-29 08:25:43 -06:00
δυς
3efb984a35 fixing changed third parameter for busboy.on('file') 🌻 (#1289) 2022-06-07 13:20:36 -07: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
dan13ram
ca109f87ab feat: upgraded dependencies 2022-05-03 09:31:01 -06:00
vidvidvid
0c5e9d044b Name -> Username 2022-03-20 20:02:04 +01:00