Commit Graph

92 Commits

Author SHA1 Message Date
dan13ram
357f292ace added layout for profile setup (#67)
* added layout for profile setup

* fixed fonts & links
2020-08-14 23:08:09 -06:00
dependabot[bot]
231b5a6307 Bump graphql-request from 3.0.0-next.4 to 3.0.0 (#66)
Bumps [graphql-request](https://github.com/prisma/graphql-request) from 3.0.0-next.4 to 3.0.0.
- [Release notes](https://github.com/prisma/graphql-request/releases)
- [Commits](https://github.com/prisma/graphql-request/compare/3.0.0-next.4...3.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-13 15:25:28 -06:00
dependabot[bot]
cecf3a3879 Bump eslint-plugin-jest from 23.18.0 to 23.20.0 (#65)
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 23.18.0 to 23.20.0.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v23.18.0...v23.20.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-13 15:25:12 -06:00
dan13ram
6466104e55 Layouts for RegisterPlayer and SuccessPlayer (#63)
* registerPlayer & successPlayer layout done

* moved to chakra-ui@next

* added meta components and icons

* refactored code based on review comments

* using React.ComponentProps for getting correct props

* using jpeg for background images

* removed unwanted `declare module`

* changed font naming in design-system

* fixed fontFamily in packge web

* using Heading component for MetaHeading
2020-08-13 13:44:46 -06:00
The Lone Rōnin
9a9deaf727 Metamaps base prototype (#50)
* Metamaps base prototype

Fixed project scaffolding

* Resolved all lint related issues

Resolved all issues related to lint compliance
2020-08-06 15:04:47 -06:00
dependabot[bot]
22b6124058 Bump @typescript-eslint/eslint-plugin from 3.6.0 to 3.8.0 (#61)
* Bump @typescript-eslint/eslint-plugin from 3.6.0 to 3.8.0

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 3.6.0 to 3.8.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v3.8.0/packages/eslint-plugin)

Signed-off-by: dependabot[bot] <support@github.com>

* Fix github token in automerge

* Remove automerge

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Hammad Jutt <jutt@ualberta.ca>
2020-08-05 17:06:05 -06:00
Hammad Jutt
fc9762d02c Fix automerge action 2020-08-05 02:23:07 -06:00
dan13ram
e03ffe2763 login landing page + fixed fonts (#51)
* login landing page + fixed fonts

* fixed eslint errors

* fixed most of typecheck errors

* review comments incorporated
2020-08-05 02:04:57 -06:00
Hammad Jutt
d736aa8276 Move to v2 dependabot config 2020-08-05 02:03:49 -06:00
Hammad Jutt
476c3aaddc Setup Dependabot to keep packages up to date 2020-08-05 02:03:49 -06:00
Hammad Jutt
dbe4f046d8 Update dependencies and fix updateBoxProfile handler.ts 2020-08-05 01:45:56 -06:00
Hammad Jutt
c82ba547b6 Fix command for backend Dockerfile 2020-08-05 00:18:57 -06:00
Hammad Jutt
9b83f0c70d Update Hasura to 1.3.0 2020-08-04 21:09:51 -06:00
Hammad Jutt
bf8489f1b4 Remove unused remote relationship 2020-08-04 21:09:51 -06:00
Hammad Jutt
e7e929f5de Move typecheck to happen before lint 2020-08-04 21:09:51 -06:00
Hammad Jutt
d26150e90d Reformat files and update yarn.lock 2020-08-04 21:09:51 -06:00
Hammad Jutt
d0662178f3 Setup codegen for backend resolvers and improve 3Box types 2020-08-04 21:09:51 -06:00
Hammad Jutt
de77d805e6 Remove unnecesarry typedefs 2020-08-04 21:09:51 -06:00
Hammad Jutt
f2ec2b2f27 rename codegen package, fix generated types and move graphql-codegen deps to root 2020-08-04 21:09:51 -06:00
Pacien Boisson
790a0cc78c using a remote schema instead of an action for getBoxProfile 2020-08-04 21:09:51 -06:00
Pacien Boisson
a60aa62a94 add ethereumAddress to getBoxProfile 2020-08-04 21:09:51 -06:00
Pacien Boisson
51a4eddbbd added getBoxProfile action 2020-08-04 21:09:51 -06:00
Pacien Boisson
2212579662 get3BoxProfile handler 2020-08-04 21:09:51 -06:00
Hammad Jutt
c2b8ad307e Refromat files and fix config 2020-08-04 20:29:08 -06:00
Pacien Boisson
1be652efe4 lint 2020-08-04 20:29:08 -06:00
Pacien Boisson
5e578ef987 fetch box profile from hasura 2020-08-04 20:29:08 -06:00
Pacien Boisson
84a76ad2fe Correct authentication webhook and frontend with ethereum_address in Player 2020-08-04 20:29:08 -06:00
Pacien Boisson
9cdfa26a78 lint 2020-08-04 20:29:08 -06:00
Pacien Boisson
7b3b6c2f82 Add ethereum_address to Player model in order to get the box profile 2020-08-04 20:29:08 -06:00
Pacien Boisson
6e0f0c9b66 using a remote schema instead of an action for getBoxProfile 2020-08-04 20:29:08 -06:00
Pacien Boisson
af728ac53d add ethereumAddress to getBoxProfile 2020-08-04 20:29:08 -06:00
Pacien Boisson
f79e8cd261 added getBoxProfile action 2020-08-04 20:29:08 -06:00
Pacien Boisson
8c4df7e547 get3BoxProfile handler 2020-08-04 20:29:08 -06:00
Hammad Jutt
c2cfd22571 Fix fonts in web app 2020-08-02 19:17:47 -06:00
Kris Urbas
c22e932723 add fonts to storybook (#45) 2020-07-31 00:47:50 +10:00
Hammad Jutt
b16219fdf1 Remove restore key for CI cache 2020-07-29 14:36:41 -06:00
Hammad Jutt
b63b69674d Fix broken tests 2020-07-29 14:36:41 -06:00
Hammad Jutt
a11d4fea21 Use new TS build system for ds and utils 2020-07-29 14:36:41 -06:00
Hammad Jutt
7a3b83d9d8 Setup TSDX for design system 2020-07-29 14:36:41 -06:00
Pacien Boisson
64f9a2f661 Fix package/utils TS compiling
Due to recent change to tsconfigs, the utils module was compiling in esnext and the backend was broken
2020-07-28 12:55:52 -06:00
Hammad Jutt
ddefe14d69 Fix test command 2020-07-27 12:23:29 -06:00
Hammad Jutt
85f3e59ceb Consolidate more package.json entries into root package.json 2020-07-27 12:23:29 -06:00
Hammad Jutt
25d89a52d6 Fallback to restore previous node_modules cache in github action 2020-07-27 12:23:29 -06:00
Hammad Jutt
71c70ac4f0 Centralize more of eslint config, gitignore, and tsconfig 2020-07-27 12:23:29 -06:00
Hammad Jutt
c8bf4af0b7 Use InferGetStaticPropsType to simplify type annotations 2020-07-27 12:23:29 -06:00
Pacien Boisson
08a4b90d95 Update models (#33)
* Remove unused models

* add new props into Player model

* Added props to Guild

* Setting guild type as a foreign-key reference

* Use foreign table for skills

* Seed data

* prettier
2020-07-27 10:08:48 +02:00
Hammad Jutt
66d318fd26 Remove linting from prepush script 2020-07-26 19:56:11 -06:00
Hammad Jutt
c589719f0c Fix web build script to include deps 2020-07-26 19:56:11 -06:00
Hammad Jutt
0f9c790351 Setup Design System with NextJS Web App
Also replaced the local fonts with Google fonts since they are more performant and easier to package. Created a custom
Link component to render the ChakraUI link inside the NextJS Link properly.
2020-07-26 19:56:11 -06:00
Hammad Jutt
c7f74aa211 Setup CI to run linting / typechecking / unit testing with Github Actions 2020-07-26 10:52:22 -06:00