Commit Graph

45 Commits

Author SHA1 Message Date
mquellhorst
05bf6fd9cf guild pages implemented 2021-05-01 23:50:28 -06:00
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
Alec LaLonde
f1852e104b Created guild/join page 2021-04-21 10:07:34 -06:00
Pacien Boisson
dfff04ebaa [Quests] Frontend (#437)
* squash frontend changes

* Style quest explorer

* Style quest page

* Dates

* Dates

* Typecheck

* Prettier

* Fix create page layout

* Update only OPEN quests

* Repetition info

* Fix create quest errors

* Quest form Textarea

* Quest form Textarea

* Truncate texts

* Redirect if user not logged in

* Tooltips

* Factorize skills tags

* fix username in completions

* Metafam as default guild on creation

* Layouts

* Remove todo

* cooldown

* Rename to "claim quest"

* squash frontend changes

* Style quest explorer

* Style quest page

* Dates

* Dates

* Typecheck

* Prettier

* Fix create page layout

* Update only OPEN quests

* Repetition info

* Fix create quest errors

* Quest form Textarea

* Quest form Textarea

* Truncate texts

* Redirect if user not logged in

* Tooltips

* Factorize skills tags

* fix username in completions

* Metafam as default guild on creation

* Layouts

* Remove todo

* cooldown

* Rename to "claim quest"

* Move ConfirmModal in ds

* Extract pSeed balance

* Fix "created by me" switch

* Reword complete quest

* Style quest form

* prettier

* lint
2021-04-08 15:32:27 +04:00
Alec LaLonde
8821e4cf49 fixed merge cruft 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
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
dan13ram
c276f6a057 [MyMeta] Patrons leaderboard (#395)
* added seed-graph as a new remote schema

* removed unwanted remote schema and added a query

* updated seed-balances remote schema logic

* patron leaderboard

* refactored player skills & memberships components

* removed unnecessary key in tile components

* removed getTokenBalance folder

* reduced number for calls for fetching patrons

* updated logic to use the new backend query

* made patron tiles shorter
2021-03-16 11:11:43 +05:30
dan13ram
4d59ac3f1b moved brightId verified tag to contacts (#388)
* moved brightId verified tag to contacts

* empty commit
2021-03-08 20:17:57 +05:30
dan13ram
965be2782a setup brightId verified labels (#361)
* setup basic brightId hook

* updated brightId logo

* polling brightId status & refreshing

* incorporated review comments
2021-03-02 17:50:13 +05:30
The Lone Rōnin
6d6d75e6e4 Cross Browser Gradient for App Drawer (#294)
* Cross Browser Compatibility for Gradient with new hover animation

* [MyMeta] Use responsive units on the header and footer (#305)

* fixing menu drawer to display on Chromium

* switching footer layout to responsive units

* build failing b/c player is undefined

* refactoring bottom nav to use fewer explicit sizes

* fixed link issues and removed box from focused menu items ala.

* `Error serializing `.guild` returned from `getStaticProps` in "/guild/[guildname]"`

* codegen was removed, but some references linger

* switching profile options to icons to save space

* simplifying & making links clickable

* accidentally duplicated a parameter

* adding Chakra icons to web app

* removing version smudge from icons lib

* simplifying clumsy ternary statement

* lint cares that imports are in alphabetical order

* switching drawer images to next.js component (re: #294)

* satiating the linter

* moving BoxedNextImage to deign-system

* Fix server side rendering issues with backdrop filter

* boxing next.js images

* these only look broken in Chrome's mobile emulator 🍄

* making the serialization fix precisely correct 🎷

Co-authored-by: Will Holcomb <dys@dhappy.org>
Co-authored-by: Pacien Boisson <pakokrew@gmail.com>
2021-02-16 11:20:41 +04: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
Hammad Jutt
78dd5bb20d Update chakra/core to chakra/react and cleanup theme setup (#281) 2021-01-17 21:27:36 -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
a9aa177550 Fix type error 2020-12-21 01:03:53 -07:00
Hammad Jutt
704bd38cce Implement list of Guilds in frontend 2020-12-21 01:03:53 -07:00
Hammad Jutt
94df414920 Add rel="noreferrer noopener" to external links 2020-12-20 17:57:52 -07:00
Hammad Jutt
50bb17efa7 Consolidate contact UI with PlayerTile and Player page 2020-12-20 17:57:52 -07:00
Hammad Jutt
cd14649f74 Add LoadingState and fix empty state for player page 2020-12-20 17:30:05 -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
aa0a532d4a updated frontend to display nft gallery from 3box/opensea (#222)
* updated backend to read 3box collectiblesFavorite

* removed unneccesary '?'

* updated frontend to display nft gallery from 3box/opensea

* prettier format

* using theme colors/sizes

* fixed nft price string
2020-12-16 11:16:31 -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
dan13ram
a806497cf1 fix styles + minor changes (#159) 2020-10-16 09:57:15 -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
dan13ram
1c6f899dbb refactored setup flow (#129)
* refactored setup flow

* next button labels
2020-10-02 10:20:52 -06:00
dan13ram
d5844dd8db Skills Selector (#124)
* skills map in context

* using react-select

* removed sudo from package.json

* fixed lint and format issues
2020-09-29 21:21:13 -06:00
Max Jackson
0987ee1960 mymeta aboutme (#100)
* About Me component

* ...

* fix player about-me section to not be its own file

* About Me component

* Remove empty file

* Remove H1 in About Me

Co-authored-by: Hammad Jutt <jutt@ualberta.ca>
2020-08-26 21:09:14 -06:00
Hammad Jutt
c51dd6b469 Update Profile Page to include About Me, Location, and contact info 2020-08-26 02:30:58 -06:00
dan13ram
094af24832 created ResponsiveText in design-system 2020-08-24 01:03:17 -06:00
dan13ram
5bf2463408 fixed fontWeight as normal for MetaHeading 2020-08-24 01:03:17 -06:00
Kris Urbas
4057f384bb use chakra sizes 2020-08-24 00:56:32 -06:00
Kris Urbas
37547cf025 add features section 2020-08-24 00:56:32 -06:00
Hammad Jutt
c207575e76 Add contact info and DAOHaus memberships to player list 2020-08-21 23:04:26 -06:00
Hammad Jutt
9b4e36b2c3 Clean up colors in theme and fix redundant backgroundSize 2020-08-17 14:25:04 -06:00
Hammad Jutt
b2a114bbdd Setup URQL with own backend and create basic player list page 2020-08-17 14:25:04 -06:00
Kris Urbas
ba683acd26 define a few meta components in storybook (#55) 2020-08-17 00:28:48 +10:00
dan13ram
357f292ace added layout for profile setup (#67)
* added layout for profile setup

* fixed fonts & links
2020-08-14 23:08:09 -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
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
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
c273196658 Cleanup Monorepo Build and packaging 2020-07-24 10:01:25 -06:00
Kris Urbas
73c49e6a43 setup design system as a new package (#36) 2020-07-22 19:10:20 +10:00