Commit Graph

478 Commits

Author SHA1 Message Date
Alec LaLonde
d64bd2df29 Always toggle loader in effect (#862) 2021-10-16 13:46:39 +02:00
Alec LaLonde
45b3b3f362 First pass at desktop select-roles UI 2021-10-15 21:24:33 -06:00
Alec LaLonde
eababb3ae7 Removed reference to old PlayerRole_Enum 2021-10-15 21:24:33 -06:00
Alec LaLonde
89fe2b4db6 Stubbed out SetupRoles step 2021-10-15 21:24:33 -06:00
Alec LaLonde
9f085b1806 Use generic Field component in QuestForm 2021-10-15 21:24:33 -06:00
vidvidvid
e727806447 Fix/delete leftovers (#854)
* remove unused files

* remove unnecessary piece of code
2021-10-06 21:10:46 +02:00
Damjan Čorić
0c3af54c37 fix menu alignment (#842)
* add edit profile to mobile menu

* align menu dropdown

* update menulinks

* add triangle in menu dropdown

* add new icons

* fix links

* fix invest dropdown positioning

* fix link icon

* fix discord link
2021-10-04 13:26:38 +02: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
701d06134f Added requestPolicy option to useUser hook 2021-09-29 09:08:31 -06:00
Alec LaLonde
f12ee0c7cb Hide menu while going through player setup 2021-09-28 16:44:10 -06:00
Alec LaLonde
67f4c1993f Fixed edit profile button 2021-09-28 16:44:10 -06:00
Alec LaLonde
bfdc0e641f Fixed megamenu link to go to edit profile flow (#828)
* Fixed megamenu link to go to edit profile flow

* Added view profile back to user menu

* Added edit profile button to own profile
2021-09-17 23:31:21 +02:00
Alec LaLonde
58b5b84af2 Added 'reload roles' button 2021-09-16 16:59:26 -06:00
Alec LaLonde
c9c807324b Fixed initial population of discord role select fields 2021-09-16 16:59:26 -06:00
Alec LaLonde
c489ac9924 If guild already exists, show edit page 2021-09-16 16:59:26 -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
Damjan Čorić
9c7feeb611 switch to MetaLink for edit profile (#817)
* switch to MetaLink for edit profile

* add link to edit profile in mobie view

* add slash

* add player menu

* switch to svg icons

* switch to exo2 font

* align profile menu dropdown

* fix player menu alignment

* it was View Profile not Edit Profile

* remove arrow down to open player menu

* use hook to get disconnect method

* truncate pSeedBalance

* remove unnecessary props
2021-09-15 16:01:40 +02:00
Alec LaLonde
957f641b79 Implemented discord role manager trigger 2021-09-10 11:25:58 -06:00
Alec LaLonde
7f130bfedd Added player_role permissions, playerRoleChanged trigger 2021-09-10 11:25:58 -06:00
Alec LaLonde
5eafa1359e Standardized player relationship names 2021-09-10 11:25:58 -06:00
Alec LaLonde
f8f9acc4b8 Fixed internal MegaMenu links (#815) 2021-09-10 12:11:26 +02:00
Alec LaLonde
ffb78a9422 Fixed duplicate MemberOf label in patron tile (#816) 2021-09-10 12:10:05 +02:00
blake-hunsicker
c9607cf5df Feature/mega menu alt (#758)
* Import all frontend components, assets, and menuLinks list

* Remove playerstats

* Fix z-index, item type

* Import all frontend components, assets, and menuLinks list

* Remove playerstats

* Fix z-index, item type

* Add player stats bar on mobile, polish UI

* Remove unneeded imports

* add menu icons

* connect megamenu

* comment out search functionality

* fix LoginButton comments

* fix MegaMenu pr comments

* fix icons

* fix pr comments

* add keys to mapped items

* fix menu - player filters overlap

* fix mobile menu scrolling page

* center nav links

* retry vercel

Co-authored-by: Damjan Coric <damjancorica92@gmail.com>
2021-09-08 20:33:08 +02:00
Istvan Richter
a38769c4b9 Add id and rank field to player_skill 2021-09-07 11:34:03 -06:00
Alec LaLonde
2170eb88fe Added id to a bunch of graphql responses to help with caching 2021-09-02 15:34:33 -06:00
Alec LaLonde
cce43f2e9f Implemented guild page players section 2021-09-02 15:34:33 -06:00
Alec LaLonde
ba356c787d Added loading spinner to player memberships section 2021-09-02 15:34:33 -06:00
Alec LaLonde
29abec059d Added guild_players remote relationship to fetch discord member roles 2021-09-02 15:34:33 -06:00
Alec LaLonde
e1c5656352 Enhanced player memberships with guild image and link 2021-09-02 15:34:33 -06:00
Alec LaLonde
be16175a04 Moved membership_through_discord to guild table from guild_metadata 2021-09-02 15:34:33 -06:00
Alec LaLonde
dcdd58d4e0 Implemented state check in discord auth, added twitter/github URLs to guild form 2021-09-02 15:34:33 -06:00
Alec LaLonde
eb58572c20 Fixed a couple issues in guild member sync 2021-09-02 15:34:33 -06:00
Alec LaLonde
891e2975a9 Added trigger to sync GuildPlayers with Discord 2021-09-02 15:34:33 -06:00
Alec LaLonde
b14d41e6c0 Fixed discord oauth2 URL 2021-09-01 08:20:36 -06:00
Alec LaLonde
48531aa329 Removed a couple tests that were failing 2021-08-31 22:11:50 -06:00
Matthew Cantelon
47d4a01660 fix: pin nock version 2021-08-31 22:11:50 -06:00
Matthew Cantelon
fc4e30f074 fix: mistakes were made 2021-08-31 22:11:50 -06:00
Matthew Cantelon
76e4205458 fix: use console.warn
The subgraph failing isn't an error because we handle the failed case
with a default value
2021-08-31 22:11:50 -06:00
Matthew Cantelon
13c0b50f28 refactor: move moloch matcher to top of test file 2021-08-31 22:11:50 -06:00
Matthew Cantelon
6e83817129 tests: add new test for complete subgraph failure
Also did some test simplification
2021-08-31 22:11:50 -06:00
Matthew Cantelon
d6369cc7b6 refactor: remove commented out code, run eslint on backend tests 2021-08-31 22:11:50 -06:00
Matthew Cantelon
5ac303cbde WIP gracefully handles errors 2021-08-31 22:11:50 -06:00
Matthew Cantelon
1dd17aaf3f Rebase 2021-08-31 22:11:50 -06:00
Alec LaLonde
1783a34dfb Cleaned up some config, error handling 2021-08-26 10:10:01 -06:00
Alec LaLonde
1989a4f734 use new guildposition enum 2021-08-26 10:10:01 -06:00
Alec LaLonde
c080e196af Fixed oauth handler / guild insert 2021-08-26 10:10:01 -06:00
Alec LaLonde
66a9f928aa Attempt to pre-fill selected discord roles 2021-08-26 10:10:01 -06:00
Alec LaLonde
9ddbafe2c3 Fixed permission, input parsing 2021-08-26 10:10:01 -06:00
Alec LaLonde
2106d766c7 Fixed multiselect validation, values 2021-08-26 10:10:01 -06:00