Commit Graph

53 Commits

Author SHA1 Message Date
vidvidvid
76a5b14fb3 close form when saving 2021-10-29 21:16:28 -06:00
vidvidvid
8dc6be095c reuse SetupSkills for edit profile modal 2021-10-29 21:16:28 -06:00
vidvidvid
45318dca43 reuse SetupPersonalityTypes for edit profile modal 2021-10-29 21:16:28 -06:00
vidvidvid
d8d5f9edc5 fix header and description mess 2021-10-29 21:16:28 -06:00
vidvidvid
9cdbf05aac rename and fix updating after saving 2021-10-29 21:16:28 -06:00
vidvidvid
fc15e18694 style both 2021-10-29 21:16:28 -06:00
vidvidvid
40d63f54c7 move getting playerTypeChoices into the SetupPlayerComponent 2021-10-29 21:16:28 -06:00
vidvidvid
32989d20e6 purge all font families apart from exo 2 2021-10-29 21:16:28 -06:00
Will Holcomb
e7c5c2aa1e straggling needed rename changes 🎟 2021-10-29 21:16:28 -06:00
Alec LaLonde
45b3b3f362 First pass at desktop select-roles UI 2021-10-15 21:24:33 -06:00
Alec LaLonde
89fe2b4db6 Stubbed out SetupRoles step 2021-10-15 21:24:33 -06:00
Udit Takkar
a7ab1ea5b0 fix: replace next/image with BoxedNextImage 2021-10-03 21:02:55 -06:00
Udit Takkar
70950eba83 fix: Setup Header Images 2021-10-03 21:02:55 -06:00
Alec LaLonde
957f641b79 Implemented discord role manager trigger 2021-09-10 11:25:58 -06:00
Istvan Richter
a38769c4b9 Add id and rank field to player_skill 2021-09-07 11:34:03 -06:00
dan13ram
591b7d1e9f updated filters with new design 2021-06-14 14:01:24 +05:30
dan13ram
8517a26048 Upgrade dependencies (#486)
* upgraded storybook dependencies

* upgraded web dependencies

* updated timezone selector

* upgrade chakra in metamaps

* upgraded react-dnd in metamaps

* upgraded framer-motion

* fixed types in metamaps

* upgraded eslint

* upgraded lerna, husky and graphql

* upgraded node version

* removed metamaps package

* fixed all eslint issues

* ran yarn format to prettier format all files

* updated lint-staged & husky scripts

* add executable perms to pre-push scripts

* updated yarn.lock

* fixed eslint and moved chakra icons to ds

* fixed emotion errors

* removed extra useContext

* update yarn.lock

* upgraded more packages

* removed unnecessary .huskyrc.json

* lint fix
2021-05-01 12:46:48 +05:30
Will Holcomb
2f23041ce4 allowing username to be completely removed 🐭 2021-04-26 22:01:03 -06:00
Will Holcomb
206cb44321 correcting invalid username error 🗼 2021-04-26 13:38:57 -06:00
Alec LaLonde
8821e4cf49 fixed merge cruft 2021-03-28 22:08:25 -06:00
Will Holcomb
51b349745f code review changes from @alaonde to hopefully code #422 🥅 2021-03-28 22:08:25 -06:00
Will Holcomb
9fb4b4e04c fixin' lintin' 🥼 2021-03-28 22:08:25 -06:00
Will Holcomb
c387912520 addin' loggin' to skills error 🧣 2021-03-28 22:08:25 -06:00
Will Holcomb
f00bee9b41 ~ minimum code to add color chooser 🔦 2021-03-28 22:08:25 -06:00
dan13ram
f03109e214 set next button as loading until next page loads (#418) 2021-03-22 15:34:18 +05:30
Pacien Boisson
8c99b5df50 Merge dependencies (#415)
* Bump @chakra-ui/icons from 1.0.3 to 1.0.6

Bumps [@chakra-ui/icons](https://github.com/chakra-ui/chakra-ui) from 1.0.3 to 1.0.6.
- [Release notes](https://github.com/chakra-ui/chakra-ui/releases)
- [Commits](https://github.com/chakra-ui/chakra-ui/compare/@chakra-ui/icons@1.0.3...@chakra-ui/icons@1.0.6)

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

* Bump tsdx from 0.13.3 to 0.14.1

Bumps [tsdx](https://github.com/formium/tsdx) from 0.13.3 to 0.14.1.
- [Release notes](https://github.com/formium/tsdx/releases)
- [Commits](https://github.com/formium/tsdx/compare/v0.13.3...v0.14.1)

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

* Bump @types/react from 16.9.52 to 17.0.3

Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 16.9.52 to 17.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

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

* Bump express-graphql from 0.11.0 to 0.12.0

Bumps [express-graphql](https://github.com/graphql/express-graphql) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/graphql/express-graphql/releases)
- [Commits](https://github.com/graphql/express-graphql/compare/v0.11.0...v0.12.0)

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

* Bump eslint-plugin-simple-import-sort from 5.0.3 to 7.0.0

Bumps [eslint-plugin-simple-import-sort](https://github.com/lydell/eslint-plugin-simple-import-sort) from 5.0.3 to 7.0.0.
- [Release notes](https://github.com/lydell/eslint-plugin-simple-import-sort/releases)
- [Changelog](https://github.com/lydell/eslint-plugin-simple-import-sort/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lydell/eslint-plugin-simple-import-sort/compare/v5.0.3...v7.0.0)

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

* Bump eslint-plugin-jsx-a11y from 6.3.1 to 6.4.1

Bumps [eslint-plugin-jsx-a11y](https://github.com/evcohen/eslint-plugin-jsx-a11y) from 6.3.1 to 6.4.1.
- [Release notes](https://github.com/evcohen/eslint-plugin-jsx-a11y/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/CHANGELOG.md)
- [Commits](https://github.com/evcohen/eslint-plugin-jsx-a11y/compare/v6.3.1...v6.4.1)

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

* Bump eslint-plugin-jest from 24.1.3 to 24.3.1

Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 24.1.3 to 24.3.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v24.1.3...v24.3.1)

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

* Bump eslint-import-resolver-typescript from 2.2.1 to 2.4.0

Bumps [eslint-import-resolver-typescript](https://github.com/alexgorbatchev/eslint-import-resolver-typescript) from 2.2.1 to 2.4.0.
- [Release notes](https://github.com/alexgorbatchev/eslint-import-resolver-typescript/releases)
- [Changelog](https://github.com/alexgorbatchev/eslint-import-resolver-typescript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/alexgorbatchev/eslint-import-resolver-typescript/compare/v2.2.1...v2.4.0)

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

* Bump eslint-config-airbnb-typescript from 9.0.0 to 12.3.1

Bumps [eslint-config-airbnb-typescript](https://github.com/iamturns/eslint-config-airbnb-typescript) from 9.0.0 to 12.3.1.
- [Release notes](https://github.com/iamturns/eslint-config-airbnb-typescript/releases)
- [Changelog](https://github.com/iamturns/eslint-config-airbnb-typescript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/iamturns/eslint-config-airbnb-typescript/compare/v9.0.0...v12.3.1)

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

* Fix eslint imports

* Fix tslint

* lint!

* lint

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-16 14:45:28 +04:00
Alec LaLonde
ee964c4633 Revert "Revert "Removed client-side username regex so as not to duplicate the server-side one""
This reverts commit 3ef18b4b92.
2021-03-09 11:52:01 -07:00
Alec LaLonde
b501a2be87 Revert "Revert "Add username lowercase mutation""
This reverts commit 76e963473c.
2021-03-09 11:52:01 -07:00
Alec LaLonde
76e963473c Revert "Add username lowercase mutation"
This reverts commit 18d52cf5bf.
2021-03-04 16:47:38 -07:00
Alec LaLonde
3ef18b4b92 Revert "Removed client-side username regex so as not to duplicate the server-side one"
This reverts commit 3e249faf93.
2021-03-04 16:47:38 -07:00
Alec LaLonde
3e249faf93 Removed client-side username regex so as not to duplicate the server-side one 2021-03-04 14:49:28 -07:00
Alec LaLonde
18d52cf5bf Add username lowercase mutation 2021-03-04 14:49:28 -07:00
Alec LaLonde
c7111fe3fd Changed update player username graphql mutation 2021-02-26 16:07:47 -07:00
Alec LaLonde
e4c56d0cc5 little cleanup 2021-02-25 11:29:22 -07:00
Alec LaLonde
c6d669e725 Modified setupOptions data structure to be more straightforward, consolidated step logic 2021-02-25 11:29:22 -07:00
Alec LaLonde
bf1a93418e Added separate pages for each step in the setup flow 2021-02-25 11:29:22 -07:00
Alec LaLonde
f6668d9f71 Persist personality type immediately rather than when saving player type 2021-02-18 20:55:47 -07:00
Hammad Jutt
7492ae5bd6 Remove unused pages / components and fix usage of Wrap with WrapItem (#284)
* Remove unused pages / components

* Add WrapItem around components inside Wrap component

New version of Chakra requires WrapItem around any components that have Wrap

* Update LoginButton to link to own profile and show Avatar (#285)

* Update LoginButton to link to own profile and show Avatar

* Change SetupUsername to explicitly mention "username"
2021-01-18 11:44:52 -07:00
Alec LaLonde
5534ff1a45 Renamed player columns to be consistent snake_case (#262) 2021-01-06 22:08:58 -07:00
Alec LaLonde
44c706761c Feature/add timezone frontend (#231)
* Added tz column

* Updated hasura permissions on new table

* Added new dependencies for working with timezones

* Added SetupTimeZone component

* Bumped spacetime-informal to use their types

* Extracted timezone computation into helper, added useMemo hook

* Re-added spacetime types
2020-12-24 23:28:12 -07:00
Hammad Jutt
74c154eba9 Refactor PlayerPage and remove mock components
renamed / cleaned up a bunch of stuff and removed things that dont work in the profile
2020-12-20 17:00:38 -07:00
dan13ram
12da46d765 color coded player skills (#212) 2020-12-14 15:12:29 -07:00
dan13ram
d7068373b2 styling for player tiles (#173)
* update username flow

* skills/memberships not shown if non-existent

* better errors

* styling for player tiles

* cover image for player tile
2020-11-06 17:58:00 +01:00
dan13ram
bf5fa29f8a profile setup flow clean up (#167)
* fixed update token on address change

* fetching already set profile data in setup flow

* select skills colors

* showing more data on player tile

* rename variables
2020-10-23 11:03:31 -06:00
Hammad Jutt
424359993c Improve UX for Skills Selector (#160)
Sticky category labels, better positioning to allow room for the drop down, and keep menu open while user is selecting skills
2020-10-16 17:30:44 -06:00
Hammad Jutt
63ab1cd0ea Setup Player Skills and complete setup flow (#161) 2020-10-16 11:04:22 -06:00
Hammad Jutt
4e1b434cce Setup Mutations on web app (#158)
* create useSetupFlow hook

* Add availability hours and fix permissions in Hasura

* Implement mutation for About You section of profile setup
2020-10-16 00:11:07 -06:00
Hammad Jutt
91b94c48fe Implement User Auth on Web (#145)
* Create "me" view for logged in user

* Implement user auth on web

* Fix type errors

* Setup static regeneration

* Disable next export

* Address PR feedback
2020-10-11 11:33:16 -06:00
dan13ram
95834c9cb5 setup availability & memberships (#138)
* setup availability with lint fixes

* setup memberships
2020-10-09 22:04:05 -06:00
dan13ram
f95b12751e profile setup - about you flow (#130)
* added data for personality types and refactored images

* setup personality type

* setup player type

* player types descriptions
2020-10-08 22:00:53 -06:00