James Lyne
bfd2b4083f
Fix type errors
2021-09-12 20:37:51 +01:00
James Lyne
969e9db5cc
Cleanup App.vue
...
- Fix double event listener add in unmount hook
- Remove onUrlChange as it does the same thing as handleUrl
- Merge duplicate mount/unmount hooks
2021-09-10 15:28:12 +01:00
James Lyne
63a00d0681
Move loginEnabled logic to store getter
2021-09-08 15:23:21 +01:00
James Lyne
1b9a3e4f1a
Cleanup configuration loading a bit
...
- Move configuration hash clearing to RESET
- Dispatch STOP_UPDATES and RESET actions from LOAD_CONFIGURATION action
- Make exception handling simpler
2021-09-08 14:35:44 +01:00
James Lyne
ba02a2148f
Only allow maps shortcut when login required modal is open
2021-09-07 23:14:54 +01:00
James Lyne
12632004d1
Move loginRequired state into store, reset login related state in RESET
2021-09-07 23:10:57 +01:00
James Lyne
b2f58f681c
Fully support Pl3xmap URLs
2021-09-07 23:08:44 +01:00
James Lyne
ab5ede1ccc
Only reset splash screen state on server changes, reset loading attempts correctly.
2021-09-01 18:14:19 +01:00
James Lyne
fb53ad195c
Improve login ux on smaller screens
...
- Hide other UI elements when modal opens, to reduce clutter
- Hide login required modal if the server list is opened, to allow switching servers without overlapping the modal
- Use tel input for registration code
2021-09-01 02:18:02 +01:00
James Lyne
8a7a05c0d1
Prevent closing and allow server selection from login required modal,
2021-09-01 01:05:30 +01:00
James Lyne
ca60f2bb09
Store and clear loadConfiguration timeouts
...
- Avoids double loads if switching servers right after a config load has failed
2021-08-31 17:45:05 +01:00
James Lyne
76f151a64c
First attempt at login/register
2021-08-30 22:28:20 +01:00
James Lyne
dc0a03daa8
Refactor server configuration loading
...
- Move store cleanup to single RESET mutation
- Move showSplash, RESET and STOP_UPDATES calls into loadConfiguration
2021-08-30 22:28:15 +01:00
James Lyne
13260bbfeb
Fix placeholders in Pl3xmap page title
2021-08-12 14:27:39 +01:00
James Lyne
7bff12b729
Move maxPlayers to separate field in store, add mutation
2021-07-28 23:50:59 +01:00
James Lyne
5cf353cd8a
Update license headers
2021-07-26 01:05:08 +01:00
James Lyne
33b5b305e2
Add MapProvider, move dynmap api handling to DynmapMapProvider
2021-07-26 01:04:17 +01:00
James Lyne
92a854701a
Update map, pan and zoom if the url is edited manually
2021-07-20 03:25:42 +01:00
James Lyne
789505e2d9
Reimplement keyboard shortcuts more generically
2021-05-29 00:08:43 +01:00
James Lyne
9e65a5859c
Chatbox styling/accessibility improvements
2021-05-28 15:55:17 +01:00
James Lyne
034a7a2fdb
Split up Util.ts
2021-05-27 01:41:58 +01:00
James Lyne
a616a302e8
Move splash methods to Util
2021-05-27 00:50:34 +01:00
James Lyne
6f11542b33
Fix notification styles
2021-05-27 00:01:09 +01:00
James Lyne
7401512161
Fix some prop warnings
2021-05-25 23:27:53 +01:00
James Lyne
609b265951
Add copied to clipboard notifications
2021-05-25 14:21:37 +01:00
James Lyne
17540b6279
Fix build
2021-05-20 15:30:55 +01:00
James Lyne
f2bfbf732a
Merge branch 'pl3xmap'
2021-05-20 13:09:09 +01:00
James Lyne
ee96be7665
More thorough fix
2021-05-20 01:51:46 +01:00
James Lyne
f419915808
Fix various issues switching between servers containing worlds of the same name
2021-05-20 01:45:40 +01:00
James Lyne
6095647b82
Refactor redundant HDMapType into DynmapTileLayer.ts
2021-05-20 00:35:56 +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
0bdd4b3d44
Fix aborted configuration requests being retried
2021-05-19 00:37:12 +01:00
James Lyne
87024079cc
More async/await. Improve error display
2021-05-18 18:27:44 +01:00
James Lyne
509089e5b7
More async/await
2021-05-18 18:26:20 +01:00
James Lyne
8f0b1a5476
Refactor splash screen error handling
...
- Improve styling
- Add all error text dynamically to avoid showing on search results
- Reduce number of elements
- Show configuration errors
2021-05-18 17:20:34 +01:00
James Lyne
571534ca6e
Reload config on hash change
2021-05-18 00:19:51 +01:00
James Lyne
f3913ef96b
Improve server switch process
2021-05-17 20:28:33 +01:00
James Lyne
0facb446f5
Initial work for multiple servers
2021-05-17 03:39:25 +01:00
James Lyne
b52938aa42
Improve initial load error handling
2021-05-15 21:09:01 +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
d6587bf21f
Continue update requests regardless of success/failure
2021-01-24 22:16:20 +00:00
James Lyne
ae377b8a26
Rename chat component to ChatBox
2021-01-06 16:02:48 +00:00
James Lyne
cd22237e33
Chat
2020-12-31 13:22:50 +00:00
James Lyne
0a71b3dac8
Remove legacy url if one was parsed
2020-12-21 18:46:06 +00:00
James Lyne
614f0b9774
Legacy url support, allow world/world+map only new urls
2020-12-21 18:42:24 +00:00
James Lyne
7fe660d491
Fix build
2020-12-17 15:25:14 +00:00
James Lyne
d1fff4e120
Start chat implementation
2020-12-17 14:52:05 +00:00
James Lyne
0d3b0b5db6
Server config error handling
2020-12-16 22:40:44 +00:00
James Lyne
31b05613fb
Add license
2020-12-16 16:54:41 +00:00