Commit Graph

275 Commits

Author SHA1 Message Date
Seroxdesign
0ae1cead0f remove unused dep 2023-06-21 09:25:07 -06:00
Sero
367f794ea2 recommended changes 2023-05-29 22:11:04 -06:00
Sero
5e17872e75 Update PlayerMeToken.tsx 2023-05-29 22:11:04 -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
963f848e63 remove editing thing for block 2023-05-15 09:12:03 -06:00
Seroxdesign
06a7205465 rebase 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
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
HHH
5ae48a3210 Use line clamp to limit lines shown for player/guild/patron description
* Use Chakra noOfLines to limit the length of Player/Patron/
Guild descriptions in the leaderboards

* Make the appearance of Player tiles and Guild tiles match better

Contact section is pushed to the bottom of the tile

Consistent spacing between section headings and text in the tile body

Bit of text shadow on the tile heading in case the player picture/guild logo has a light background

* Set background for tile heading, remove unneeded code and comments, guild type caption moved inside the conditional

Suggestions from code review from @dysbulic

* Add the Join CTA to the Patrons, Players, and Guilds pages

* Set a max width for the grid of tiles in PlayerList

* More descriptive meta title/description for players page

* Empty base of new Search and Filters layout

Plus code comments, commenting out the existing search and filters components

* Set up sticky container in PlayerFilter

Move the sticky container out of DesktopFilters so it can wrap the search box and the filters, add test content to help with making the layout

* Basic flex layout for the search and filters box

* Add the Filters icon SVG and import in design system

* Add Chakra Search icon to design system export

* Search box and filters styling finished for small screen design

* Layout for the desktop filters and large screen views

* Tidy the comments, remove unused components

* Better spacing for Join CTA

Make a larger margin on small screens, a consistent space between page header and the CTA and the lists

* Add nowrap to links in CTA to prevent line-breaks in the middle of the link

* Updated spacing around the Join CTA links (forgot a breakpoint in previous change)

* Remove the extra spacing added to Vstack at lg

Ref https://github.com/MetaFam/TheGame/pull/1484#discussion_r1058950645

* Make the loading component the same width as the loaded cards

* Text search is triggered by onChange in the search input instead of a form submission

Co-authored-by: vidvidvid <weetopol@gmail.com>

* maxW is 7xl instead of 79rem, matching the other components

* Use Chakra noOfLines to limit the length of Player/Patron/
Guild descriptions in the leaderboards

* Make the appearance of Player tiles and Guild tiles match better

Contact section is pushed to the bottom of the tile

Consistent spacing between section headings and text in the tile body

Bit of text shadow on the tile heading in case the player picture/guild logo has a light background

* Set background for tile heading, remove unneeded code and comments, guild type caption moved inside the conditional

Suggestions from code review from @dysbulic

* Use Chakra noOfLines to limit the length of Player/Patron/
Guild descriptions in the leaderboards

* Make the appearance of Player tiles and Guild tiles match better

Contact section is pushed to the bottom of the tile

Consistent spacing between section headings and text in the tile body

Bit of text shadow on the tile heading in case the player picture/guild logo has a light background

* Set background for tile heading, remove unneeded code and comments, guild type caption moved inside the conditional

Suggestions from code review from @dysbulic

* FIX: show the search icon for all screen sizes (#1411)

Made some changes for vid, forgot to put the icon back before the PR was merged

* FIX: didn't fix this conflict properly during the rebase

* Code formatting updates and decluttering

As requested by @dysbulic

* fixed bug in section heights

* fixed version of ethers in utils package

* fixed remove bug with player & guild sections

* added custom text box type

* added custom text section component

* support custom text sections in all pages

* add custom text block to supported boxes

* add the custom text metadata editor

* support multiple custom text blocks

* added a guide for creating a custom block

* minor typo

* Add card & pointer animations

* Change card list styles & background height

* Fix background, widows & button link.

* Fix background position and size

* Fix overflow on smaller screens

* Redirect user to profile setup

* Resolve comments

* Add overflow to full page container

* Fix spacing on onboarding guidance page

* Fixes for the appearance of the Patrons Join page (#1442)

Ref: https://github.com/MetaFam/TheGame/issues/1442

* Code tidy and tweaks, &nbsp-ing

&nbsp's join the last two words in some of the boxes so those words don't end up on a line all by themselves (requested by peth)

* Use Chakra noOfLines to limit the length of Player/Patron/
Guild descriptions in the leaderboards

* Make the appearance of Player tiles and Guild tiles match better

Contact section is pushed to the bottom of the tile

Consistent spacing between section headings and text in the tile body

Bit of text shadow on the tile heading in case the player picture/guild logo has a light background

* Set background for tile heading, remove unneeded code and comments, guild type caption moved inside the conditional

Suggestions from code review from @dysbulic

* Use Chakra noOfLines to limit the length of Player/Patron/
Guild descriptions in the leaderboards

* Make the appearance of Player tiles and Guild tiles match better

Contact section is pushed to the bottom of the tile

Consistent spacing between section headings and text in the tile body

Bit of text shadow on the tile heading in case the player picture/guild logo has a light background

* Set background for tile heading, remove unneeded code and comments, guild type caption moved inside the conditional

Suggestions from code review from @dysbulic

* Make the appearance of Player tiles and Guild tiles match better

Contact section is pushed to the bottom of the tile

Consistent spacing between section headings and text in the tile body

Bit of text shadow on the tile heading in case the player picture/guild logo has a light background

* Set background for tile heading, remove unneeded code and comments, guild type caption moved inside the conditional

Suggestions from code review from @dysbulic

* FIX: show the search icon for all screen sizes (#1411)

Made some changes for vid, forgot to put the icon back before the PR was merged

* Code formatting updates and decluttering

As requested by @dysbulic

Co-authored-by: vidvidvid <weetopol@gmail.com>
Co-authored-by: dan13ram <dan13ram@gmail.com>
Co-authored-by: nitegeist <nitegeist.dev@gmail.com>
2023-01-23 13:33:00 -05:00
dan13ram
57bd44e206 add custom text block to supported boxes 2023-01-20 17:05:24 +05:30
dan13ram
e813fa8eb1 support custom text sections in all pages 2023-01-20 17:05:24 +05:30
dan13ram
9173fcdc0d fixed remove bug with player & guild sections 2023-01-20 17:05:24 +05:30
dan13ram
f3bcdb6138 fixed bug in section heights 2023-01-20 17:05:24 +05:30
HHH-GH
a389949523 maxW is 7xl instead of 79rem, matching the other components 2023-01-04 16:15:39 +01:00
HHH-GH
e94be5b8d9 Text search is triggered by onChange in the search input instead of a form submission
Co-authored-by: vidvidvid <weetopol@gmail.com>
2023-01-04 16:15:39 +01:00
HHH-GH
4b67e50533 Make the loading component the same width as the loaded cards 2023-01-04 16:15:39 +01:00
HHH-GH
b239e07762 Tidy the comments, remove unused components 2023-01-04 16:15:39 +01:00
HHH-GH
4d5c4e30aa Layout for the desktop filters and large screen views 2023-01-04 16:15:39 +01:00
HHH-GH
6ff98dfd9e Search box and filters styling finished for small screen design 2023-01-04 16:15:39 +01:00
HHH-GH
dc033d1461 Basic flex layout for the search and filters box 2023-01-04 16:15:39 +01:00
HHH-GH
11d4ffd23d Set up sticky container in PlayerFilter
Move the sticky container out of DesktopFilters so it can wrap the search box and the filters, add test content to help with making the layout
2023-01-04 16:15:39 +01:00
HHH-GH
1618701fae Empty base of new Search and Filters layout
Plus code comments, commenting out the existing search and filters components
2023-01-04 16:15:39 +01:00
HHH-GH
a73c4cfc8b Set a max width for the grid of tiles in PlayerList 2023-01-04 16:15:39 +01: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
W.J. “dysbulic” H
8c3b0b734a fixes #1468 by setting overflow visible 🛸 2022-12-06 14:58:22 +01:00
W.J. “dysbulic” H
8f2c4a9193 fixing #1474 📛 2022-12-06 14:58:22 +01:00
vidvidvid
f39e099bd0 improve readability & extract the noTilt from props
fix
2022-11-23 22:08:07 -07:00
vidvidvid
2806db4c73 revert the triangle with stats + make cards brighter 2022-11-23 22:08:07 -07:00
vidvidvid
df579bbf4a change the order of player/patron stats 2022-11-23 22:08:07 -07:00
vidvidvid
934bacdcc6 improvements on accessibility of cards 2022-11-23 22:08:07 -07:00
vidvidvid
c9093a33c4 fix the key issue 2022-11-23 22:08:07 -07:00
vidvidvid
a61ab67cd7 make all card images square & clickable 2022-11-23 22:08:07 -07:00
vidvidvid
cbd0b5e2b2 QuestTile 2022-11-23 22:08:07 -07:00
vidvidvid
a7b9a062ed Role Path cards
fix
fixes
2022-11-23 22:08:07 -07:00
vidvidvid
49a57bbc38 improve PlayerTile & GuildTile 2022-11-23 22:08:07 -07:00
vidvidvid
edabbf6e3a PatronTile 2022-11-23 22:08:07 -07:00
vidvidvid
35e7589272 GuildTile 2022-11-23 22:08:07 -07:00
vidvidvid
45bf539e98 extract PlayerRank 2022-11-23 22:08:07 -07:00
vidvidvid
d1a7514fde give the tilt to the MetaTile 2022-11-23 22:08:07 -07:00
vidvidvid
90c22330d1 style fixes 2022-11-23 22:08:07 -07:00
vidvidvid
787b8a8bca hack the links (so <a> can be inside another <a> 2022-11-23 22:08:07 -07:00
vidvidvid
d6f543bdbd redesign of the cards #2 2022-11-23 22:08:07 -07:00
vidvidvid
b9a022afd1 add tilting to the cards 2022-11-23 22:08:07 -07:00
vidvidvid
790a75a8e3 remove forwardRef 2022-11-23 22:08:07 -07:00
vidvidvid
4d308d5b1a redesign of the cards #1 2022-11-23 22:08:07 -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
Konrad Gnat
3eeda3c968 add types, fix small spacing issues, set key for item in list 2022-11-01 22:50:35 -06:00
luxumbra
2c1d450f02 Forgot to remove the Honeybadger imports from files after adding errorHandler 2022-10-21 13:21:38 -06:00