Commit Graph

74 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
δυς
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
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
dan13ram
0b086e4c6e fix: consolidated console logs + eslint fix 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
474f976912 Fixed simultaneous typing issue 2022-09-29 08:25:43 -06:00
Alec LaLonde
a41fb60237 more refactoring 2022-09-29 08:25:43 -06:00
luxumbra
f2181d91ee reason gives a friendlier error message 2022-09-29 08:25:43 -06:00
luxumbra
dc18e218a7 adding better user feedback with toasts
- also added a new LandingPageConnect button
2022-09-29 08:25:43 -06:00
Scott Stevenson
8baa21fa16 enabled minting from https://chiev.es 2022-09-29 08:25:43 -06:00
luxumbra
a0499b2a3f smol tweaks 2022-09-29 08:25:43 -06:00
luxumbra
3709b41e57 check n set a claimed state for better ux & prevent multiple claim attemps
- should maybe improve this to check their wallet for the nft
2022-09-29 08:25:43 -06:00
luxumbra
6f311e8e95 Chiev claim now 100% working.
- Better toasts
- Still using ThirdWeb contract due to a bug with chiev.es - will probs be sorted for launch. 🤞
2022-09-29 08:25:43 -06:00
luxumbra
a22c8dbe9c Move Onboarding to new page + wip on Chiev claim
- Feedback suggested moving the onboarding page so, here it is
- Also moved the effects toggle & connect buttons into the header
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
luxumbra
996db78c5c Adding in pop up for game progress chiev 2022-09-29 08:25:43 -06:00
luxumbra
9d2012922d Fixed jumpers issue
- also discovered & fixed a couple of other issues
- slight revision on design - removed the bg image which imho looks better
2022-09-29 08:25:43 -06:00
luxumbra
5ffc21e6dc fixed the game progression
- issue of jumpers is not fixed but some progress can be made in the game
2022-09-29 08:25:43 -06:00
luxumbra
d9f0657bf4 Adding in matrix rain effect
- also re-rendered the screen for onboarding section
- TODO: fix current breakage on the jumpers in the game
- Some style updates and minor bug fixes.
2022-09-29 08:25:43 -06:00
luxumbra
20d6c471d4 Dialogue & actions/links split out so they can be grouped
- didn't need the responses to be typed out.
2022-09-29 08:25:43 -06:00
luxumbra
9b5ba37fcf removied unused consts, etc 2022-09-29 08:25:43 -06:00
luxumbra
3aac8ac76a Working game, pulling from json on IPFS. Very much a WIP. 2022-09-29 08:25:43 -06:00
luxumbra
f4572e3edd Initial commit of the Onboarding game.
Game flow is working but some bugs exist.
2022-09-29 08:25:43 -06:00
dan13ram
ca109f87ab feat: upgraded dependencies 2022-05-03 09:31:01 -06:00
vidvidvid
3ecd5f2930 chore: fix labels 2022-03-20 20:02:04 +01:00
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)
4f9cfa011f removed chain connection message 2022-03-01 09:35:36 +05:30
dan13ram
1c92f63b9f fix: landing page ui issues 2022-02-18 15:37:28 +05:30
dan13ram
ac5f3fe98e fix: login issues 2022-02-18 15:37:28 +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
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
δυς
f5295c3242 Reading and Writing Profile Info From Ceramic (#943)
This is being merged for further testing so as to not block the progress of `develop` & not require more rebases.
2022-01-25 16:51:53 -05:00
vidvidvid
eeca6e0d46 chore: upgrade eslint and fix all errors 2021-11-30 14:54:49 -07:00
Will Holcomb
1591ecf4e2 refining basic profile input form 🍾 2021-10-29 21:16:28 -06:00
Cali93
1cfa0e6020 meta profile info page/form 2021-10-29 21:16:28 -06:00
Cali93
9bf7de4a60 basic profile form 2021-10-29 21:16:28 -06:00
Will Holcomb
6c9ae80f3a fixing various typescript and dependency issues 🧷 2021-10-29 21:16:28 -06:00
Will Holcomb
1233963bd7 committing partial rollback of next.js upgragde for external validation 🦃 2021-10-29 21:16:28 -06:00
Cali93
f0913959bf meta profile info page/form 2021-10-29 21:16:28 -06:00
Will Holcomb
22a12bd70b reinstating useWeb3, shortening names, & preserving login across reloads 🕯 2021-10-29 21:16:28 -06:00
Cali93
a6f85fc84f WIP: ceramic login 2021-10-29 21:16:28 -06:00
dan13ram
8517a26048 Upgrade dependencies (#486)
* upgraded storybook dependencies

* upgraded web dependencies

* updated timezone selector

* upgrade chakra in metamaps

* upgraded react-dnd in metamaps

* upgraded framer-motion

* fixed types in metamaps

* upgraded eslint

* upgraded lerna, husky and graphql

* upgraded node version

* removed metamaps package

* fixed all eslint issues

* ran yarn format to prettier format all files

* updated lint-staged & husky scripts

* add executable perms to pre-push scripts

* updated yarn.lock

* fixed eslint and moved chakra icons to ds

* fixed emotion errors

* removed extra useContext

* update yarn.lock

* upgraded more packages

* removed unnecessary .huskyrc.json

* lint fix
2021-05-01 12:46:48 +05:30
Will Holcomb
ee403bea8d addin' comments to silence eslint 🍤 2021-03-28 22:08:25 -06:00