Commit Graph

129 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
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
fc0c0a4023 fixed time zone saving & rendered description as Markdown 2023-03-13 10:19:16 -06:00
dysbulic
3029a6818b converting PNGs to WebPs 🇲🇦 2023-03-13 10:19:16 -06:00
Konrad Gnat
cd10cfd1e8 make profile picture clickable to upload new image 2023-02-21 09:39:39 -07:00
Konrad Gnat
4845d3077e set image as null in ceramic, code review updates 2023-02-21 09:39:39 -07:00
Konrad Gnat
1017d8ba3e styling improvements 2023-02-21 09:39:39 -07:00
Konrad Gnat
772507b9b5 remove logs, prep for cr 2023-02-21 09:39:39 -07:00
Konrad Gnat
c3740a9a66 code improvements, remove console logs, button style, invalidate cache bugfix 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
δυς
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
696b40445c Remove space from link + revert temp 'Join as player' url (#1433) 2022-10-27 13:32:57 +01: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
luxumbra
4dabf5c420 Fix/glaring holes (#1377)
* fix for 1376 priority issues.

* fix ts erorrs

* fix metamanifesto link
2022-10-09 00:05:51 +01:00
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
dan13ram
ca109f87ab feat: upgraded dependencies 2022-05-03 09:31:01 -06:00
vidvidvid
e03e16c72f style: button hovers & lint 2022-03-20 20:02:04 +01:00
vidvidvid
281d96f09c style: prettify roles 2022-03-20 20:02:04 +01:00
vidvidvid
97ae0a5e6a fix: remove shadows, remove membership step, rename stuff 2022-03-20 20:02:04 +01:00
vidvidvid
7bd02d78a5 chore: Description -> Bio + username -> name 2022-03-20 20:02:04 +01:00
vidvidvid
21d863cd90 feat: add description step 2022-03-20 20:02:04 +01:00
vidvidvid
e25fce5b9d chore: change role descriptions 2022-03-20 20:02:04 +01:00
vidvidvid
aaf2e733e5 chore: unused import 2022-03-20 20:02:04 +01:00
vidvidvid
c049914030 fix: color disposition 2022-03-20 20:02:04 +01:00
vidvidvid
33a6e51bbc fix: name setup + icon 2022-03-20 20:02:04 +01:00
dan13ram
794e4cef7b fix: uniform setup screens 2022-03-17 23:09:32 +05:30
dan13ram
95658e33ff feat: connect to mainnet to continue with switch network on metamask 2022-03-17 23:09:32 +05:30
dan13ram
3753b2b8ac fixed minor issues in start page 2022-03-14 19:09:47 +01:00
dan13ram
610e2e95a7 fixed subscribe link 2022-03-14 16:04:20 +01:00
dan13ram
8a0139e107 feat: onboarding flow v2 2022-03-14 16:04:20 +01:00
Alec LaLonde
febee67d24 Cleaned up setupmmemberships component to match the player memberships modal UI 2022-03-08 20:26:24 +05:30
Alec LaLonde
ca838d818c Added DAO links to guild page 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
Scott Stevenson (@tenfinney)
93563088ea centered available roles label 2022-03-01 09:35:36 +05:30
Scott Stevenson (@tenfinney)
4f9cfa011f removed chain connection message 2022-03-01 09:35:36 +05:30
Scott Stevenson (@tenfinney)
28014c10ff add substack link, roster button and spacing 2022-03-01 09:35:36 +05:30
δυς
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
13c2871f25 Remove role=group tag as it wasn't rendering properly in chrome 2022-02-19 11:23:03 -07:00
Alec LaLonde
c7263d0aa4 Added chain icon to DAO listings 2022-02-19 11:23:03 -07:00
Alec LaLonde
936a63d411 Start using daohaus metadata when populating DAO information 2022-02-19 11:23:03 -07:00
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
0c9bec1752 fix: bugs in EmbedUrl + SetupRoles 2022-02-07 16:48:38 +01:00