73 Commits

Author SHA1 Message Date
δυς
5a700cde42 working on relative paths & saving to Ceramic 🧇 2024-08-13 19:04:31 -04:00
δυς
2118e92bad switching to package.json import munging from TypeScript paths 🥔 2024-08-13 19:04:31 -04:00
Sero
8c8934ceee composedb ID chain (#1747) 2024-04-01 07:21:07 -04:00
Sero
38c3dc059e Sero/wc v2 (#1735)
* wc/wagmi/viem

* replace

* profile

* replace context (,:

* testing, clean up

* wallet connect deploy

* connect

* remove type slive

* podcast

* podcast

* heck yeah

* feat: connect button

* chore

* trying siwe, network switch

* redirect

* prettying, cleaning up SIWE endpoints, & passing linting 🕊

* switching minting to Optimism & converting `ethers` to `wagmi` for contract access 🥧

* simplified onboarding & successfully minted 

* typo

* api key

---------

Co-authored-by: Udit Takkar <udit222001@gmail.com>
Co-authored-by: dysbulic <dys@dhappy.org>
2024-03-21 06:09:12 -04:00
Sero
fc6d6827b4 remove dup 2024-01-23 04:34:27 -05:00
Sero
f4a1834d8e docker file edits to add args and envs 2024-01-23 04:34:27 -05:00
Sero
7d65cb2731 t 2024-01-23 04:34:27 -05:00
Sero
b9f10b513e mig 2024-01-22 08:04:14 -05:00
Sero
5869e6dffc Revert "trying to fix web3.storage… 🦨"
This reverts commit 7bbf92c320.
2024-01-19 09:07:34 -05:00
Sero
4f0a220137 Revert "removing obsolesced web3.storage integration 🧛"
This reverts commit 05bb53bc76.
2024-01-19 09:07:34 -05:00
Sero
0772f19dff Revert "made w3s work"
This reverts commit 99f6cdc3cf.
2024-01-19 09:07:34 -05:00
Sero
370ce11f3f Revert "yay"
This reverts commit 4585b47423.
2024-01-19 09:07:34 -05:00
Sero
7dd9783bcb Revert "fixes and clean up"
This reverts commit 3f6fb80161.
2024-01-19 09:07:34 -05:00
Sero
3f6fb80161 fixes and clean up 2024-01-19 09:02:39 -05:00
Sero
4585b47423 yay 2024-01-19 09:02:39 -05:00
Sero
99f6cdc3cf made w3s work 2024-01-19 09:02:39 -05:00
dysbulic
05bb53bc76 removing obsolesced web3.storage integration 🧛 2024-01-19 09:02:39 -05:00
dysbulic
7bbf92c320 trying to fix web3.storage… 🦨 2024-01-19 09:02:39 -05:00
dysbulic
21f4524030 semantics & efficiency 🕺 2023-12-14 20:23:50 -07:00
Alec LaLonde
9144bfb4d8 Fixed MWW integration, removed more cruft 2023-08-09 09:44:10 -06:00
Alec LaLonde
e97688ce3f Show website URL if provided 2023-08-09 09:44:10 -06:00
Alec LaLonde
790b6d0968 Made edit profile form more compact, show field errors on blur 2023-08-09 09:44:10 -06:00
Alec LaLonde
ee5f318697 Went through profile wizard to make error conditions more obvious 2023-08-09 09:44:10 -06:00
Alec LaLonde
a94334fc87 Edit profile styling improvements 2023-08-09 09:44:10 -06:00
Sero
f5b1a2be9f Edit Profile Style Changes (#1553)
* First pass at composedb models

* Removed patterns as they're not supported yet

* Started hooking up the edit profile page to composedb

* Got PoC working for persisting username to ComposeDB

* Some fixes after bumping urql to 3.x

* Refactored setup logic into ProfileWizardContext

* Implemented fetching from ComposeDB for first three profile wizard screens

* Refactored wizard stuff again to simplify it

* Finished upgrading profile setup components

* Added query to fetch all profile fields from composeDB

* Load profile data from composeDB on player page

* Unified composeDB models into one, updated setup flow to use new model

* Fixed a couple errors in first-time setup flow

* Added new linkProfileNode action to validate ceramic node on the backend

* Call new linkProfileNode action

* Implemented proper persistence w/ verification of a user's ceramic profile node

* Fetch profile details from ComposeDB during [username] page SSR

* Added PlayerHydrationContext for dynamically refreshing player data on player page

* Implemented player hydration from Hasura

* Slight refactor of Setup components to accept a player object

* Added ComposeDB migration modal, still need to implement image migration

* Added useImageReader, updated EditProfileModal to get the appropriate picked file data

* Implemented persisting ComposeDB profile fields from edit profile modal

* Check in composeDB graphql definition because generating it at build time may be problematic

* Merged in new setup profile image field page

* Fixed and tested image upload during setup

* Fixed background image URL form field name

* Added fallback for non-SSR player pages

* Implemented fetching file size and dimensions before persisting to ComposeDB

* Fix lint issues

* More debug logs

* Set CERAMIC_URL in deployment action

* Don't delete / recreate stuff

* Fix setup / avatar upload

* Fixed edit profile field saving, updated useUser to load from composeDB

* Fixed construction of profile payload when changing an image

* Pull in additional data in seed-db script

* Fixed white background in menus

* Updated GA4 ID

* Point to ceramic mainnet

* Bumped composedb version

* Fix ceramic API change

* Update frontend ceramic_url as well

* Only authenticate the DID for the model the compose client connects to

* Create a new model, last one got hosed

* Updated model ID in definition

* Reinstate original deployment action

* Fixed player loading

* Handle errors during DAO sync

* Handle questchain lookup errors during SSR build

* Replaced IDX cache actions / triggers with composeDB ones

* Added mainnet check to composeDB port modal

* Fixed issue where saving from the edit profile modal was wiping out fields

* Add ComposeDBPromptModal to setup pages as well

* Upgrade Hasura

* Added context to 'port data' modal

* fix bad merge

* Hasura 2.0 requires a flag for our sloppy queries to still work

* add comment to begin wokr

* refactor: 💄 Update profile UI to new design

* style: 💄 Minor style changes

* Add getPlayer import

* Make changes requested in #1559

* Delete EditAvatarImage.tsx.orig

* Delete EditBackgroundImage.tsx.orig

* Delete EditDescription.tsx.orig

* refactor: Remove commented code

---------

Co-authored-by: Alec LaLonde <alec@convergencelabs.com>
Co-authored-by: Alec LaLonde <alec@boxelderweb.com>
Co-authored-by: nitegeist <nitegeist.dev@gmail.com>
2023-08-09 09:44:10 -06:00
Alec LaLonde
f52f53b975 Add ComposeDBPromptModal to setup pages as well 2023-08-09 09:44:10 -06:00
Alec LaLonde
f3577020d1 Fixed issue where saving from the edit profile modal was wiping out fields 2023-08-09 09:44:10 -06:00
Alec LaLonde
655b857070 Replaced IDX cache actions / triggers with composeDB ones 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
ae7308dc9d Fix lint issues 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
fce3e980d1 Fixed background image URL form field name 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
2e8b98d762 Implemented persisting ComposeDB profile fields from edit profile modal 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
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
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
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
Seroxdesign
06a7205465 rebase 2023-05-15 09:12:03 -06:00
dysbulic
0f9759aeb6 fixing SourceCred & Discord syncs, Meet w/ Wallet, & gating backgrounds 🥶 2023-03-13 10:19:16 -06:00
Konrad Gnat
772507b9b5 remove logs, prep for cr 2023-02-21 09:39:39 -07:00
Konrad Gnat
1953b1a164 implement image height and width values save to ceramic 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