Commit Graph

860 Commits

Author SHA1 Message Date
James Lyne
46c9468214 Remove some debug logging 2021-09-01 18:42:26 +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
78655e7ebe Don't clear parsed url on config load 2021-09-01 18:06:49 +01:00
James Lyne
ca9b3ce1f4 Quick fix for world with many maps defined
Need a better long term solution for this
2021-09-01 17:53:08 +01:00
James Lyne
c1ed50f8c4 Make player markers interactive 2021-09-01 17:47:43 +01:00
James Lyne
eb7d31669f Fix build 2021-09-01 17:47:29 +01:00
James Lyne
661d0ca8fa Update package-lock.json 2021-09-01 17:47:20 +01:00
James Lyne
d682358306 Limit width of marker labels in a better way 2021-09-01 17:40:16 +01:00
James Lyne
79fc8f6816 Reuse existing players pane if present 2021-09-01 17:39:44 +01:00
James Lyne
77b9850ea9 Marker refactoring
- Don't extend DivIcon as we don't use anything that class provides
- Update PlayerMarker icon using internal watch
- Remove unused panTo() PlayerMarker method
- Apply needed parts of _setIconStyles directly in GenericIcon's createIcon
2021-09-01 17:38:42 +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
5350c2483f Reset splash screen on show instead of hide 2021-09-01 02:15:51 +01:00
James Lyne
ca3d3c7442 Update chat login button to use login modal 2021-09-01 02:15:00 +01:00
James Lyne
c015886f4a Improve login modal mobile styling 2021-09-01 02:13:44 +01:00
James Lyne
0de1780f6f Update package-lock.json 2021-09-01 01:08:00 +01:00
James Lyne
816783bb1f Update active state colors 2021-09-01 01:07:51 +01:00
James Lyne
4fbd41c040 Add configurable invalid input border color 2021-09-01 01:07:24 +01:00
James Lyne
aa78d6ad63 Change Maps button to a Servers button when <2 maps are defined in the current server 2021-09-01 01:06:43 +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
21cb8da32f Modal updates
- Add options for removing backdrop and preventing closing
- Add close button
- Style tweaks
2021-09-01 01:00:42 +01:00
James Lyne
1e4c8a080f Revert "Drop :active styles"
This reverts commit 146aadb9
2021-08-31 19:56:42 +01:00
James Lyne
c4230fda7d Use --outline-focus for map focus indicator 2021-08-31 17:46:02 +01:00
James Lyne
0b05ad05e4 Focus login button when closing modal 2021-08-31 17:45:37 +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
3cb9f8f315 Fix super call in GenericIcon 2021-08-31 16:41:11 +01:00
James Lyne
fdf5e521d8 Prefer using super over prototype calls 2021-08-31 16:38:19 +01:00
James Lyne
0ae42a9409 Fix typings for LiveAtlasTileLayer _tiles property 2021-08-31 16:35:30 +01:00
James Lyne
00483025cd Correctly cleanup CoordinatesControl event handlers 2021-08-31 16:00:11 +01:00
James Lyne
f1d38e7485 Fix layer control error when switching servers 2021-08-31 15:55:39 +01:00
James Lyne
a82052714d aria-live login modal alerts 2021-08-31 15:03:33 +01:00
James Lyne
8deabad47b Refactor mutations
- Remove some unused mutations
- Move CLEAR_PLAYERS into RESET
- Clear chat history in RESET
2021-08-31 15:03:32 +01:00
James Lyne
9fd53d754e Reduce CoordinatesControl layout shifts 2021-08-31 15:03:32 +01:00
dependabot[bot]
4996234650
Bump @typescript-eslint/parser from 4.29.3 to 4.30.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.29.3 to 4.30.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.30.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-31 12:14:41 +00:00
James Lyne
a689b227c7
Merge pull request #100 from JLyne/dependabot/npm_and_yarn/types/leaflet-1.7.5
Bump @types/leaflet from 1.7.4 to 1.7.5
2021-08-31 13:13:56 +01:00
dependabot[bot]
2ce47a1730
Bump @types/leaflet from 1.7.4 to 1.7.5
Bumps [@types/leaflet](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/leaflet) from 1.7.4 to 1.7.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/leaflet)

---
updated-dependencies:
- dependency-name: "@types/leaflet"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-30 22:14:34 +00:00
James Lyne
ebb27bbe1c
Merge pull request #97 from JLyne/dependabot/npm_and_yarn/eslint-plugin-vue-7.17.0
Bump eslint-plugin-vue from 7.16.0 to 7.17.0
2021-08-30 23:13:57 +01:00
James Lyne
90e83a6b52
Merge pull request #101 from JLyne/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.30.0
Bump @typescript-eslint/eslint-plugin from 4.29.3 to 4.30.0
2021-08-30 23:12:37 +01:00
James Lyne
ffdf26c7c6
Merge pull request #102 from JLyne/dependabot/npm_and_yarn/sass-1.38.2
Bump sass from 1.38.1 to 1.38.2
2021-08-30 23:12:28 +01:00
dependabot[bot]
1d2599bbf2
Bump sass from 1.38.1 to 1.38.2
Bumps [sass](https://github.com/sass/dart-sass) from 1.38.1 to 1.38.2.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.38.1...1.38.2)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-30 22:09:42 +00:00
dependabot[bot]
9b1e63af5d
Bump @typescript-eslint/eslint-plugin from 4.29.3 to 4.30.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.29.3 to 4.30.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.30.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-30 22:09:32 +00:00
James Lyne
289c5c08b5 Update vcs.xml 2021-08-30 22:29:01 +01:00
James Lyne
76f151a64c First attempt at login/register 2021-08-30 22:28:20 +01:00
James Lyne
6028779b45 Icon optimisations
- Ran icons through SVGo
- Removed some remaining unneeded attributes
2021-08-30 22:28:19 +01:00
James Lyne
b426ed3cae Refactor fetch logic
- Add credentials: include
- Allow passing arbitrary options to fetch, and rename existing simple get to getJSON
2021-08-30 22:28:19 +01:00
James Lyne
e41a841bdb Don't make sendChatMessage abstract 2021-08-30 22:28:19 +01:00
James Lyne
2ff6fb6665 Add sensible base font size to app container 2021-08-30 22:28:19 +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
50c7018441 Fix build 2021-08-30 22:03:23 +01:00
James Lyne
0fba7747c8 Reset splash error state on hide 2021-08-30 22:02:57 +01:00
dependabot[bot]
f915e52894
Bump eslint-plugin-vue from 7.16.0 to 7.17.0
Bumps [eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue) from 7.16.0 to 7.17.0.
- [Release notes](https://github.com/vuejs/eslint-plugin-vue/releases)
- [Commits](https://github.com/vuejs/eslint-plugin-vue/compare/v7.16.0...v7.17.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-vue
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-27 22:10:37 +00:00