Commit Graph

114 Commits

Author SHA1 Message Date
Alec LaLonde
474bc32dbc Create a new model, last one got hosed 2023-03-14 12:26:40 -06:00
Alec LaLonde
415911ae40 Bumped composedb version 2023-03-14 12:26:38 -06:00
Alec LaLonde
ff9959359b Added new linkProfileNode action to validate ceramic node on the backend 2023-03-14 12:19:13 -06:00
Alec LaLonde
afc94f244b Added query to fetch all profile fields from composeDB 2023-03-14 12:16:54 -06:00
Alec LaLonde
6789fa5e88 Refactored setup logic into ProfileWizardContext 2023-03-14 12:04:39 -06:00
Alec LaLonde
f655494b89 Some fixes after bumping urql to 3.x 2023-03-14 12:02:22 -06:00
Alec LaLonde
16a51931d6 Got PoC working for persisting username to ComposeDB 2023-03-14 12:02:19 -06:00
Alec LaLonde
7fe1d49e3f Started hooking up the edit profile page to composedb 2023-03-14 11:57:07 -06:00
dysbulic
83004fad00 updating to Next.js v13 🀐 2023-03-13 10:19:16 -06:00
dysbulic
d07f4d785f tweaking Ceramic aliases & trying to remove duplicate @emotions 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
δυς
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
vidvidvid
d1a7514fde give the tilt to the MetaTile 2022-11-23 22:08:07 -07:00
vidvidvid
b9a022afd1 add tilting to the cards 2022-11-23 22:08:07 -07:00
Alec LaLonde
54f1f1205a Too many dependencies 😭 2022-11-15 09:59:44 +01: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
0f6ddea286 Removed hotjar & replaced with UserBack
- userback has more configurability - look & feel, form fields, etc
- removed references to Sentry as we're using Honeybadger
- removed clarity after privacy concerns
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
c3fa9e359a WIP on adding a feedback widget.
- LogRocket & HotJar currently trialling.
- Sentry + Honeybadger deps are installed but the integration is more involved
2022-10-21 13:21:38 -06:00
luxumbra
f4efb2c228 wip for adding logrocket 2022-10-21 13:21:38 -06:00
luxumbra
3ee733dd6a adding prose & parsing for cases of HTML in the quest tiles 2022-10-11 11:36:26 +05:30
luxumbra
72f281c8a3 The description on the details page now handles both HTML or Markdown. \n - added styles and correct fonts for the headings. 2022-10-11 11:36:26 +05:30
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
Alec LaLonde
1b4efb4ec5 Refactoring, fixing eslint warnings 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
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
δυς
8eec746cbe Changing import location of isAddress function (closes #1274) 2022-05-31 07:13:41 -04: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
luxumbra
07189ecdbc Section 5 WIP
- bg and text layout.
- added `gsap` with a view to  add horizontal scroll effect to section 5 among other things.

*Why gsap? gsap works well with threejs which will be used in the next iteration of the landing page
2022-03-26 14:17:52 +01: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
W.J. “dysbulic” H
c5b78e8dc6 disabling DAOHaus Graph & enabling better logging on GraphQL generation 🐭 2022-03-17 23:09:32 +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
dan13ram
917160ecbd feat: updated dashboard layout styles 2022-03-02 11:21:28 +01:00
δυς
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
δυς
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
e3b5cff2e0 refactor: using next api for fetching metadata + eslint updates 2022-02-07 15:58:31 +01:00
vidvidvid
964fb4aac5 chore: bump next-urql 3.1.0 -> 3.3.2 2022-02-01 11:29:22 -07:00
vidvidvid
65810855e6 chore: bump ethers 5.4.3 -> 5.5.3 2022-02-01 11:29:22 -07:00
vidvidvid
85f2b33715 chore: bump graphql 15.5.0 -> 15.8.0 2022-02-01 11:29:22 -07: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
bd3ff54e8e Dependabot updates December (#958)
* chore: bump dids from 2.4.0 -> 2.4.3

* Upgrade Typescript to latest

* chore: bump @storybook/addon-links  6.3.2 -> 6.4.9

* chore: bump opensea-js from 1.2.1 -> 1.2.7

* chore: react 16 -> 17

* chore: upgrade jsdom 16 -> 19

* fix: yarn.lock

* chore: upgrade eslint-config-airbnb 0.0.1 -> 0.0.2

* chore: add versioning strategy to dependabot

so the package.json files will also increase the version instead of just package.lock in some cases

* fix: ss rendered page trying to access an unavailable component

from design system

Co-authored-by: Firat Tale <firat.tale@auto1.com>
2022-01-04 17:23:59 +01:00
Udit Takkar
5fef8118f1 fix: remove nextjs-cors package 2021-12-20 07:29:54 -07:00
Udit Takkar
5cfa859d50 feat: add api route for fetching data 2021-12-20 07:29:54 -07:00
Udit Takkar
d3a688eb77 Add XP Display to the Dashboard (#899)
Displays the total and seasonal XP accumulation on the new dashboard.
2021-12-07 09:26:21 -05:00
Michiel Quellhorst
1d74d7beea Quest Editor Implemented (#760)
* added WYSIWYG Editor for quest description
rebased

* remove console output

* completed quest editor

* removed html-to-draftjs

* fix: file directory updates

* feat: js-dom added
rebase

* fix: fixed UI bugs

* fix: toast error message added for insufficient pSEED

* fix: replaced text with Box

* fix: limit description to 4 lines

* fix: removed incorrect condition from useUser hook

* fix: webpack 5 added in next.config

* fix: next.config webpack bug and rebased

* chore: remove comment

Co-authored-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
2021-12-01 15:57:32 -05:00
vidvidvid
268841c92b chore: bump opensea-js from 1.1.11 to 1.2.1 2021-11-30 14:54:49 -07:00