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