Commit Graph

89 Commits

Author SHA1 Message Date
δυς
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
dan13ram
0da62e9ee9 fixed version of ethers in utils package 2023-01-20 17:05:24 +05:30
Alec LaLonde
601ed71029 Tweaked copy for join guild page, added Discord notification on guild submit 2022-12-15 12:50:46 -07: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
Alec LaLonde
8e5a4ebb44 Better pseed holdings calculations 2022-10-19 22:55:17 -06:00
Alec LaLonde
b78554ad64 Updated /join/patron to compute patron league tiers properly 2022-10-19 22:55:17 -06:00
vidvidvid
ec8182d7da Role Onboarding using Quest Chains (#1150)
* feat: set up quests dashboard

move quest explorer to /quests/general

* feat: prepare containers for path-of-the-engaged and initiation quests

* chore(release): 0.2.0

* feat: add metacollab and web 3 onboarding categories

* feat: move initiation quests from notion -> metaOS

awyiss it's happening

* chore: lint quickfix

* feat: add descriptions, objectives, checkbox, collapse/expand

* add Dockerfile to .gitignore

* go

* quick fix

* upload proof modal

* config and install

* upload proof works

* show status of quests (pending, etc..)

* remove initiation & update engaged quests

* fix quest categories

add bridgebuilders, builders, patrons, fix icons

* typecheck fix

* fix address for bridgebuilders quests

* design of chain progress + small fix

* minor fixes

* using latest version of quest-chains sdk

* basic UI for quests

* using children for react-markdown

* better styling for quest tiles

* completed quest chain styling

* fixed toasts

* fixed imageLink

* added link to quest chains

* minor fixes

* added back to onboarding paths link

* fixed external link icon as absolute pos

* reduce gaps for mobile

Co-authored-by: Vid <vid@meisterlabs.com>
Co-authored-by: dan13ram <dan13ram@gmail.com>
2022-10-08 19:05:42 +01:00
W.J. “dysbulic” H
6a67fcfb72 switching description display to Markdown 🚒 2022-10-08 10:42:11 +05:30
W.J. “dysbulic” H
b1e4c0e4d7 making needed pSEED configurable 🚵🏿‍♀️ 2022-10-08 10:42:11 +05:30
Alec LaLonde
2489f91670 Hooked up balancer-polygon graph, implemented getPSeedInfo 2022-10-05 08:53:07 -06:00
Dan OneTree
bfd28ac5ce Update packages/utils/src/extendedProfileTypes.ts
Co-authored-by: δυς <dys@dhappy.org>
2022-10-05 10:58:07 +05:30
Dan OneTree
46d80ceb6d Update packages/utils/src/extendedProfileTypes.ts
Co-authored-by: δυς <dys@dhappy.org>
2022-10-05 10:58:07 +05:30
dan13ram
a78d494d87 fix: remove images from ceramic profile 2022-10-05 10:58:07 +05:30
dan13ram
f8f3f444be fix(login): signing welcome message only for did 2022-09-30 19:59:43 +02:00
dan13ram
2fb2595c3c fix(login): fixed token verification 2022-09-29 15:07:08 -06:00
Alec LaLonde
1b4efb4ec5 Refactoring, fixing eslint warnings 2022-09-29 08:25:43 -06:00
Alec LaLonde
d865b259f4 Onboarding game tweaks 2022-09-29 08:25:43 -06:00
luxumbra
27407e2796 adding some help text for noobies
- also now displaying the chiev image in the chiev claim component
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
dan13ram
00f75ce8f2 Update IPFS Gateway (#1325)
* change ipfs gateway

* change env name for ipfs link pattern
2022-08-10 14:48:45 -04:00
Alec LaLonde
49f1bc9a04 Fixed tests 2022-08-10 09:36:19 -06:00
Alec LaLonde
4fe4e707ea Explicitly reset all players' XP at the beginning of a season 2022-07-25 22:19:46 -06:00
Alec LaLonde
34dcc87664 Reverted the ceramic dependency bumps 2022-07-11 21:06:45 -06:00
Alec LaLonde
90f48fdb25 Bumped a whole bunch of deps 2022-07-11 21:06:45 -06:00
Alec LaLonde
5d91aa0a26 Implemented fetching announcements from Discord 2022-07-05 21:01:30 -06:00
δυς
8eec746cbe Changing import location of isAddress function (closes #1274) 2022-05-31 07:13:41 -04:00
Arsenije Savic
ea42bea2c0 Dashboard fixes; closes #1209, #1210, #1223, & #1224
* Remove connect to progress if the network is not mainnet

* Move xpHelpers to the utils

* Add tests to the utils package

* Add xpHelpers test

* Add convertToRoman util function

* Display current season label dynamically

* Add onboarding text if player does not have xp

* Remove ConnectToProgress import

* Add connect to progress if the network is not mainnet

* Show edit button if network is not main

* Refactor xp helper season start

* displaying modal when chain change is needed 🛬

* using Unicode Roman numerals Ⅲ

* slight formatting fixes 🗯
2022-05-18 01:48:07 -04:00
Alec LaLonde
341961e581 Fix XP sync for players with multiple linked eth addresses in SC (#1266)
* Use latest eth address rather than the first when migrating XP data

* Changed imports from ethers package
2022-05-11 10:24:52 -04:00
Ramon Canales
0879473cef addressing Alec's comments on the PR 2022-05-07 15:20:30 -06:00
Ramon Canales
35caa695b9 adding almost all logic and ui elements 2022-05-07 15:20:30 -06:00
dan13ram
ca109f87ab feat: upgraded dependencies 2022-05-03 09:31:01 -06:00
Alec LaLonde
e3dc738288 Regenerated yarn.lock after rebase 2022-04-25 21:14:29 -06:00
Michiel Quellhorst
f1e4902dd3 SC update on discord bot package (#1202)
* SC update on discord bot package

* Fix GithubStorage

* Bumped remaining sourcecred references to 0.10.3, updated typings

* Bumped SC to 0.11

* Fix command in usage hint

Co-authored-by: Alec LaLonde <alec@convergencelabs.com>
2022-03-20 18:09:24 +01:00
vvvvvv1vvvvvv
b9834ab077 Fix Param Order For personal_sign (#1185) 2022-03-08 02:21:32 -05:00
Alec LaLonde
936a63d411 Start using daohaus metadata when populating DAO information 2022-02-19 11:23:03 -07:00
W.J. “dysbulic” H
f24b22c3da having eslint ignore a console.error call 🎑 2022-02-16 20:17:48 +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
δυς
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
vidvidvid
65810855e6 chore: bump ethers 5.4.3 -> 5.5.3 2022-02-01 11:29:22 -07:00
vidvidvid
22ecd3bb18 chore: bump js-base64 3.6.1 -> 3.7.2 2022-02-01 11:29:22 -07:00
Michiel Quellhorst
d36ea1b761 rank up notification (#1077)
* rank up notification

When a player ranks up a message will be send to the props channel.

* added congrats

* tag player

* small changes after feedback
2022-01-26 21:43:03 +01: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
Cali93
a6f85fc84f WIP: ceramic login 2021-10-29 21:16:28 -06:00
Alec LaLonde
957f641b79 Implemented discord role manager trigger 2021-09-10 11:25:58 -06:00
Alec LaLonde
dcdd58d4e0 Implemented state check in discord auth, added twitter/github URLs to guild form 2021-09-02 15:34:33 -06:00
dan13ram
ea3db28b66 fixed LinkOverlay issues 2021-08-25 08:56:33 -06:00