Commit Graph

270 Commits

Author SHA1 Message Date
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
δυς
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
W.J. “dysbulic” H
35e2625292 tests are failing b/c of an out-of-date lock file 🕴 2022-02-16 20:17:48 +05:30
W.J. “dysbulic” H
4d7e5bfd1c adding caniuse to remove outdated db warning & trying to fix deployment report link 🧘 2022-02-16 20:17:48 +05:30
W.J. “dysbulic” H
451cf2508f fixing inconsistencies raised by yarn typecheck && yarn lint 🌵 2022-02-16 20:17:48 +05:30
W.J. “dysbulic” H
a6f1052876 miscellaneous changes pulled from #1078 for brevity 💺
​#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-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
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
923dcd6de0 chore: bump chakra-ui/icons 1.0.14 -> 1.1.3 2022-02-01 11:29:22 -07:00
vidvidvid
6cafc6afad chore: bump eslint-import-resolver-typescript 2.4 -> 2.5 2022-02-01 11:29:22 -07:00
vidvidvid
daefc4175c chore: bump framer-motion 4.1.17 -> 5.5.6 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
vidvidvid
2d9963c48d chore: bump eslint-plugin-react-hooks 4.2.0 -> 4.3.0 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
Alec LaLonde
1fcf78d9d1 Added cron trigger to sync guild memberships from Discord 2022-01-24 09:15:26 -07:00
Tommy
4018c5486e feat:Intro section (initial) 2022-01-17 16:14:10 +01:00
Firat Story
ac08a52a16 Remove storybook (#1044)
* Remove everything related to storybook

* remove test

* update yarn.lock

* remove unused packages from design system package
2022-01-15 13:23:53 +01: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
vidvidvid
318939926c fix: revert the @graphql-tools/schema -> graphql-tools 2021-12-20 15:52:17 -07:00
vidvidvid
c1115ab913 feat: install standard version
it provides  a convenient way of forming a changelog in combination with conventional commits
2021-12-19 15:34:26 -07: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
0e7fa0b43e chore: bump eslint-plugin-react 2021-11-30 14:54:49 -07:00
vidvidvid
eeca6e0d46 chore: upgrade eslint and fix all errors 2021-11-30 14:54:49 -07:00
vidvidvid
1145b566d3 chore: bump nock from 13.1.0 to 13.2.1 2021-11-30 14:54:49 -07:00
vidvidvid
86731fc12e chore: bump @chakra-ui/theme-tools from 1.1.8 to 1.3.1 2021-11-30 14:54:49 -07:00
vidvidvid
268841c92b chore: bump opensea-js from 1.1.11 to 1.2.1 2021-11-30 14:54:49 -07:00
vidvidvid
cbe09b6b5f chore: bump typescript version 2021-11-30 14:54:49 -07:00
vidvidvid
977fbb934f chore: replace graphql-tools for @graphql-tools/schema 2021-11-30 14:54:49 -07:00
vidvidvid
50076934f4 Revert "chore: bump eslint-config-airbnb-typescript from 12.3.1 to 13.0.1"
This reverts commit 83a7ba4273.
2021-11-30 14:54:49 -07:00
vidvidvid
e6bafb0d47 chore: bump eslint-config-airbnb-typescript from 12.3.1 to 13.0.1 2021-11-30 14:54:49 -07:00
vidvidvid
5e7f6bb2aa feat: install swr and fetch data with it 2021-11-30 12:06:29 -07:00
vidvidvid
1316b0ae5f refactor: replace react-h5-audio-player with default html <audio> 2021-11-30 12:06:29 -07:00
vidvidvid
b3a99c3562 feat: podcast player + title + description 2021-11-30 12:06:29 -07:00
vidvidvid
2f158e25ec feat: fetch rss data from anchor.fm -> conver to json 2021-11-30 12:06:29 -07:00
luxumbra
a50b7a186d feature: Attribution to CoinGecko + react-spring
- CoinGecko logo added to the chart as a requirement of using their free tier. The next tier is $150pm and I don't think this is ugly as such. It does link through to the MetaGame page on CoinGecko, so...
- [React Spring](https://react-spring.io/) library has been added. It's quite big for the little functionality it adds rn (animates the 7/30d range for the chart) but I think it would be a good library to have in our toolbox. Chakra uses Framer for some of the transitions but when I've tried Framer before I didn't get on so well with it. I've wanted to play with React Spring for a while and this was an excuse to use it. I am not married to the idea though.
2021-11-29 19:50:39 -07:00
luxumbra
bdb36a9825 Clean up after @mquellhorst review 2021-11-29 19:50:39 -07:00
luxumbra
e492135ae2 feature: Added in react-vis to display the 30d seed chart
The chart is displayed as an SVG in the background. Probably needs a more snr dev to sanity check typescript stuff.
2021-11-29 19:50:39 -07:00
luxumbra
f6fe5aacb6 feat: Seed section pulling in data from CoinGecko
This will probably want a refactor in terms of how I have handled the TypeScript.  😅
2021-11-29 19:50:39 -07:00
vidvidvid
4f7d0ef770 fix: remove jstz, get timezone with Intl 2021-11-29 19:44:02 -07:00
vidvidvid
ab0119e666 feat: determine timezone based on user 2021-11-17 10:34:52 -07:00
vidvidvid
87498f6108 feat: install date-fns 2021-11-17 10:34:52 -07:00
Luxumbra
57c1e42389 feature: Container Queries (#884)
* feature: First pass at Container Queries

`react-container-query` used to emulate 'media' queries based on container widths. Needs more thought on how to handle layouts for multiple devices. Min / Max widths for sections probs a good idea.

Added in an 'Edit' button to toggle editing the layout.

Added mostly static chakra elements to each of the sections to prototype the above Container Queries. I know it is not pretty, but TypeScript and I wanted to prototype it without stalling. I *will* split them out into components but would be good to perhaps pair up with you for this when you're available @vidvidvid.  🙏

* feature: Calendar UI elements (First pass)

Added in chakra popovers for event details.

Again, this is just chakra elements to be pulled out as templates for components.

* feat: better styling on the popovers & transitions on cal container queries

* feature: Improving responsiveness
2021-11-08 15:31:42 -07:00
Luxumbra
b4c08a37c1 Feature/dashboard UI mvp (WIP) (#882)
* First pass of UI config for the dashboard
- Namely adding in React Grid Layout and setting it up to save a users layouts to localStorage. It is responsive.

* Slight refactor of the dash grid code & removed lodash
2021-11-08 15:31:42 -07:00
Will Holcomb
d709c0c6a2 downgrading ceramic packages to avoid typescript conflict 2021-10-29 21:16:28 -06:00
Will Holcomb
1591ecf4e2 refining basic profile input form 🍾 2021-10-29 21:16:28 -06:00
Will Holcomb
43fd20d8a8 updating Ceramic dependencies 👅 2021-10-29 21:16:28 -06:00