39 Commits

Author SHA1 Message Date
δυς
2118e92bad switching to package.json import munging from TypeScript paths 🥔 2024-08-13 19:04:31 -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
73ce8151b6 remove a bunch of shit (#1730)
* remove a bunch of shit

* test suspense

* test

* remove dead pages

* delete pages and folders

* return patron

* fix ob
2024-02-24 14:52:24 -05:00
Sero
3a17fbf1c6 remove all unused dependencies (#1720)
* remove all unused dependencies

* lazy load

* lazy load

* lazy load

* remove react imports, remove sourced

* remove react imports, remove sourced

* remove react imports, remove sourced

* restructure
2024-01-30 06:18:48 -05:00
Sero
59effdd72c Update GuildLinks.tsx 2024-01-05 11:43:27 -05:00
Seroxdesign
5a88eeb054 remove header preset MG, updates on guild links, fix guild link, delete unused file 2024-01-05 11:43:27 -05:00
dysbulic
18b2d0cacd upcasing "URL" & throwing errors when they occur ₿ 2023-12-14 20:23:50 -07:00
Seroxdesign
4684acc5a6 fix link delete on first try 2023-10-09 09:33:34 -04:00
Seroxdesign
c32226cb30 make links on guild page dynamic 2023-10-09 05:45:05 -04:00
dysbulic
430743b0a7 updating link box state on update of players' links 🏚️ 2023-10-07 21:19:35 -04:00
Seroxdesign
694440633d modify edit and create forms to create 2023-09-28 07:21:22 -04:00
Seroxdesign
f922990bd8 add, edit, delete links for guilds 2023-09-27 12:17:01 -04:00
Seroxdesign
d61bb71b82 prepare guild stuff 2023-09-26 12:45:38 -04:00
Alec LaLonde
7c802c50ae Don't short-circuit guild membership sync if one of them fails, resolves #1590 2023-08-28 10:26:30 -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
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
Y6NDR
eac67e92a6 Make Guild Links Prominent
* feat: 💄 Make  links more prominent

* fix: 💄 Make `GuildLinksSmall` Wrap Again.

* fix: 💄 Remove extra bg and update spacing accordingly on guild page

* Use consistent underlying images for all docker containers (#1470)

* fixing #1474 📛

* fixes #1468 by setting `overflow` `visible` 🛸

* 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>

* Update README.md

* Change the default share image for OpenGraph and Twitter cards

Add the new image in packages/web/public/assets

Update the default canonical URL to match current pattern i.e. metagame.wtf instead of my.metagame.wtf

Bit of commenting around usage of HeadComponent

* Forgot to check in the small text fixes

* increasing `z-index` to prevent title blurring by `backdrop-filter` 🚞

* Tweaked copy for join guild page, added Discord notification on guild submit

* Addressed dysbulic's suggestions

* Disabled give-props discord notification for league advancement

* initial implementation of the great houses x qc

* revert dockerfile

remove leftover

fix the docker file mess up

* fix the great houses descriptions

* fixes

* 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

* 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)

Co-authored-by: Alec LaLonde <alec@convergencelabs.com>
Co-authored-by: W.J. “dysbulic” H <dys@dhappy.org>
Co-authored-by: Scott Stevenson <scott@1box.onmicrosoft.com>
Co-authored-by: peth-yursick <55857222+peth-yursick@users.noreply.github.com>
Co-authored-by: HHH-GH <hayden@opie-etc.com>
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 23:18:38 -05:00
dan13ram
57bd44e206 add custom text block to supported boxes 2023-01-20 17:05:24 +05:30
δυς
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
vidvidvid
35e7589272 GuildTile 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
Alec LaLonde
12e5115470 Removed legacy GuildPosition (internal/external) flag 2022-10-25 22:04:22 -06:00
Dan OneTree
9af9a3eea5 support uploading guild logo via web3.storage (#1367)
* support uploading guild logo via web3.storage

* Update packages/web/components/Guild/GuildForm.tsx

Co-authored-by: δυς <dys@dhappy.org>

* Update packages/web/components/Guild/GuildForm.tsx

Co-authored-by: δυς <dys@dhappy.org>

* storing ipfs://hash in database

Co-authored-by: δυς <dys@dhappy.org>
2022-10-07 18:49:11 -04:00
dan13ram
cf2884c1c1 fixed lint errors 2022-10-06 22:26:02 -06:00
dan13ram
f6d38e4ccc fixed guild section styling 2022-10-06 22:26:02 -06:00
dan13ram
33ec384f9c using editable grid layout for guild profile 2022-10-06 22:26:02 -06:00
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
e323a23b70 Improved announcement styling 2022-07-05 21:01:30 -06:00
Alec LaLonde
807263ea78 Improved UX for guild announcements 2022-07-05 21:01:30 -06:00
Alec LaLonde
8b10aa0219 Unified render 2022-07-05 21:01:30 -06:00
Alec LaLonde
5d91aa0a26 Implemented fetching announcements from Discord 2022-07-05 21:01:30 -06: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
δυς
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
dan13ram
fe03537e8e feat: embedded url profile section 2022-01-13 15:57:01 +05:30
vidvidvid
af4ca2f5e1 fix: display message only when loading is complete 2022-01-09 14:48:37 -07:00
vidvidvid
fc6b0b4214 chore: show 'no known players yet' message if no players 2022-01-09 14:48:37 -07:00
vidvidvid
32989d20e6 purge all font families apart from exo 2 2021-10-29 21:16:28 -06:00
Alec LaLonde
cce43f2e9f Implemented guild page players section 2021-09-02 15:34:33 -06:00