Commit Graph

56 Commits

Author SHA1 Message Date
James Lyne
e1c56c201e Use radio buttons for server list 2021-05-27 18:18:26 +01:00
James Lyne
76fb05f0b2 Sidebar tweaks 2021-05-26 23:31:07 +01:00
James Lyne
cc5b1afb3e More accessibility things 2021-05-26 20:09:00 +01:00
James Lyne
a05cfde9d7 Fix player keyboard interaction 2021-05-26 18:49:11 +01:00
James Lyne
c9fbe61d2b Browsers already do what these listeners were doing 2021-05-26 18:44:32 +01:00
James Lyne
b096240651 Use mutation for collapsed state updates 2021-05-26 17:43:15 +01:00
James Lyne
1fb28739cf Fix PlayerListItem keyboard interaction 2021-05-26 17:42:05 +01:00
James Lyne
1d506c81ac Use role=option/aria-pressed for server list 2021-05-26 15:32:02 +01:00
James Lyne
134ede6870 Fix build 2021-05-26 14:54:59 +01:00
James Lyne
bbf057c84b ServerList keyboard controls 2021-05-26 03:04:37 +01:00
James Lyne
71edab6b74 Add icon to Collapsible sections 2021-05-26 02:10:34 +01:00
James Lyne
88b27490cb Fix tabbing over section headings 2021-05-25 23:39:04 +01:00
James Lyne
36a2d483ff Various accessibility improvements 2021-05-25 23:28:43 +01:00
James Lyne
0690b3d500 Collapsible section accessibility improvements 2021-05-25 22:40:10 +01:00
James Lyne
af8292f872 Make entire sidebar scrollable instead of individual sections 2021-05-25 19:26:51 +01:00
James Lyne
eaecba10c6 Allow sidebar sections to be collapsed 2021-05-25 19:26:14 +01:00
James Lyne
4d34927c39 Fix player icon disappearing on focus 2021-05-24 17:34:15 +01:00
James Lyne
302077c9c1 Use .menu styling for other menu-y things 2021-05-24 17:16:07 +01:00
James Lyne
a8ec660ffd Map context menu 2021-05-24 16:42:32 +01:00
James Lyne
e6f0a0e80d Break long names only when necessary 2021-05-20 22:09:05 +01:00
James Lyne
e444390698 Break long world names to avoid horizontal scrollbar 2021-05-20 21:46:45 +01:00
James Lyne
360e1e8f94 Improve world icon logic (Fixes #25) 2021-05-20 21:44:22 +01:00
James Lyne
fcf124c9ef Make LiveAtlas messages translatable 2021-05-20 21:33:53 +01:00
James Lyne
131e1dd685 Make LiveAtlas messages translatable 2021-05-20 16:36:02 +01:00
James Lyne
17540b6279 Fix build 2021-05-20 15:30:55 +01:00
James Lyne
2ab569c18f Refactor state.currentServer to contain the server config instead of just the ID. Abstract API away from actions. 2021-05-20 00:06:57 +01:00
James Lyne
509089e5b7 More async/await 2021-05-18 18:26:20 +01:00
James Lyne
a619c22c50 Small cleanup 2021-05-18 00:22:49 +01:00
James Lyne
97fed3fed2 Fix server button active state 2021-05-17 15:41:08 +01:00
James Lyne
78a818491e Move server list to its own component 2021-05-17 14:17:52 +01:00
James Lyne
0facb446f5 Initial work for multiple servers 2021-05-17 03:39:25 +01:00
James Lyne
36d2be4100 Move to native css variables 2021-05-15 23:24:29 +01:00
James Lyne
ce241c93e0 Switch from webpack to vite 2021-05-15 20:25:03 +01:00
James Lyne
df487ec364 export Util functions separately 2021-01-26 20:37:29 +00:00
James Lyne
d721286ea3 Use px for media queries to work around iOS bugs 2021-01-25 02:27:35 +00:00
James Lyne
d3658e35a2 Player/world list skeletons 2021-01-24 22:15:19 +00:00
James Lyne
7a4207d946 Keep player list names on one line 2021-01-06 01:00:01 +00:00
James Lyne
30d0219535 Add player image to FollowTarget 2020-12-31 13:55:05 +00:00
James Lyne
3e095c0ae9 Better handle hidenames: true 2020-12-23 03:23:58 +00:00
James Lyne
42cdb8fba7 Implement skin images in player list 2020-12-23 03:07:52 +00:00
James Lyne
ce7827659a Convert PlayerListItem to component api 2020-12-23 03:07:19 +00:00
James Lyne
816f96777e Current map active state 2020-12-20 19:37:25 +00:00
James Lyne
0ed11db15c Show follow status alongside player list on small screens 2020-12-20 18:52:44 +00:00
James Lyne
ee391773a2 Hopefully improve sidebar shrink ratios 2020-12-20 15:13:09 +00:00
James Lyne
b92120e801 Handle hidden/offworld players
- Respect server config for greying out players in other worlds
- Always grey out players hidden due to other restrictions
- Allow following for hidden players, and show their hidden status on the follow popup
2020-12-18 16:04:06 +00:00
James Lyne
3acd40efd2 Pan to players on click 2020-12-17 00:13:28 +00:00
James Lyne
31b05613fb Add license 2020-12-16 16:54:41 +00:00
James Lyne
e23842574d Respect config map list heading 2020-12-15 22:11:29 +00:00
James Lyne
4c91b3225e Fix player names in FollowTarget 2020-12-14 00:51:51 +00:00
James Lyne
f37d3531a1 Allpw HTML in player names, sanitise it to be sure 2020-12-13 23:22:59 +00:00