Commit Graph

44 Commits

Author SHA1 Message Date
dan13ram
df9899bd8c fix: fade animation in profile sections 2022-01-27 20:42:50 +05:30
dan13ram
a39c0c42c1 fix: review changes 2022-01-27 20:42:50 +05:30
δυς
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
dan13ram
63579d8495 fix: catch opensea errors + disable player achievements section 2022-01-13 15:57:01 +05:30
vidvidvid
7ee77db0ad Fix the rerender loop of profile hero data (#985)
* fix: fixed the hook to compare previous and current raw value

* refactor: implement the new hook in other profile sections

* fix: unnecessary useEffect

* refactor: remove the comparison of previous/current value

* fix: compare previous and current value
2021-12-24 22:24:54 +01:00
Firat Story
d652bf61a0 feature/add animation to profil box sections (#963)
* add animation

* Change animation
2021-12-14 15:50:31 +01:00
Udit Takkar
0519df0c9d chore: add export 2021-12-12 21:23:09 -07:00
vidvidvid
4b0d1964d4 fix: prevent rendering loop 2021-12-12 21:23:09 -07:00
Udit Takkar
d3a688eb77 Add XP Display to the Dashboard (#899)
Displays the total and seasonal XP accumulation on the new dashboard.
2021-12-07 09:26:21 -05:00
Alec LaLonde
5f60d4a2f5 Refactored GetPlayers graphql query to pass where clause as variable (#946) 2021-12-03 17:41:51 +01: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
fb99fdbe4c fix the pr + fix the useUser redirect bug 2021-11-04 22:59:58 -06:00
Alec LaLonde
701d06134f Added requestPolicy option to useUser hook 2021-09-29 09:08:31 -06:00
Udit Takkar
c7f913dc0c added forLoginDisplay variable to reduce data returned for login display
Closes #738.
2021-09-16 10:15:57 -04:00
Alec LaLonde
b1927b8a40 Removed extraneous hook for fetching guild metadata 2021-08-26 10:10:01 -06:00
Alec LaLonde
30dbc737a8 Added guild_metadata table to hold admin-only guild information 2021-08-26 10:10:01 -06:00
dan13ram
21e76b4cef fixed bug with incorrect sorting 2021-08-25 08:56:33 -06:00
dan13ram
1a371d929b better labels for sorting 2021-08-25 08:56:33 -06:00
dan13ram
1cd91bdc72 added sorting to the filters 2021-08-25 08:56:33 -06:00
Will Holcomb
6f4fdb650c removing favorite NFTs & stylis dependency ❇ 2021-07-28 06:38:25 +05:30
Will Holcomb
ce4d42b6d2 reviewing pull request 🇯🇲 2021-07-28 06:38:25 +05:30
Will Holcomb
d9876c563f standardizing the capitalization of URL 2021-07-28 06:38:25 +05:30
Will Holcomb
b6ad318965 frontend changes to use cached profile rather than remote schema 🍥 2021-07-28 06:38:25 +05:30
dan13ram
893e1b7a55 better messaging for no players found 2021-07-27 07:24:00 +05:30
dan13ram
24e7b166ba fixed useEffect called too many times 2021-07-27 07:24:00 +05:30
dan13ram
c41246bb4e showing adjacent timezones for players 2021-07-27 07:24:00 +05:30
dan13ram
d1ec0e8501 better search for timezone filter 2021-07-11 17:12:28 -06:00
dan13ram
1fa9085170 fixed glitches due to IntersectionObserver 2021-07-08 10:30:26 -06:00
dan13ram
2bd590c791 fixed glitch in loading players 2021-07-08 10:30:26 -06:00
dan13ram
354dc22228 fetching count and players simultaneously 2021-07-08 10:30:26 -06:00
dan13ram
11286feb44 only search filter used 2021-07-08 10:30:26 -06:00
dan13ram
9c2a11b993 added pagination for players page 2021-07-08 10:30:26 -06:00
dan13ram
591b7d1e9f updated filters with new design 2021-06-14 14:01:24 +05:30
dan13ram
c2e3782d28 added filters for /players page (#566)
* player filters for type and skills

* fetching multiple players in parallel

* removed tile fragment

* search by username or address

* better spacing

* availability filter

* timezone filter

* passing tests in ds

* submit form in search bar

* added better labels for timezone

* fixed test issue

* searching only if search >= 2 char

* meta select ds

* updated metabutton bg color

* parallel for > 50 only

* fix reset search filter
2021-05-19 20:49:06 +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
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
Pacien Boisson
a02d864c9e Support connection from smart wallets (#416)
* Support connection from smart wallets

* Fix unreachable code
2021-03-16 17:42:07 +04:00
Pacien Boisson
0e3cc277f7 Fix mobile connect (#360)
* Tweak login flow

* Add connecting state and fix signing

* Fix URQL cache when switching account

* Lint
2021-03-15 21:16:47 +04:00
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
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
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
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