Commit Graph

1153 Commits

Author SHA1 Message Date
James Lyne
e91f820322 Improve handing of append_to_world
- Always use the store map list for checking for/retrieving maps, to avoid the non-unique map name problem append_to_world otherwise causes
- Change LiveAtlasWorldDefinition maps property to Set as map keys were not unique if appended maps with the same names existed
- Add appended map to both original and appended world's map set. The appended world needs this to display the map in the UI, the original world needs this to avoid situations where LiveAtlas needs the "first" map of a world, and that world has 0 non-appended maps (i.e switching worlds when following, URL without a map name)
- Add an appendedWorld property to maps to indicate when a map has been appended. This is used by MapContextMenu to show the appended world's map list instead, and in WorldListItem to filter out maps appended to other worlds
- Use the map's world property instead of the world prop in the template for WorldListItem. This fixes tooltips and prevents duplicate IDs.

Fixes #345
2022-02-04 21:58:07 +00:00
James Lyne
f7b774321b Use template strings over array joins for map names 2022-02-04 20:36:10 +00:00
James Lyne
e2a89c28d0 Handle possible nested arrays when calculating Squaremap/Pl3xmap bounds from points 2022-01-31 22:36:25 +00:00
James Lyne
7bea15be32 Fix leaflet repository name 2022-01-23 19:18:43 +00:00
James Lyne
bf622b1bad Merge remote-tracking branch 'origin/master' 2022-01-22 12:06:13 +00:00
James Lyne
c7c17af6d5 Fix point marker icon updates 2022-01-22 12:05:54 +00:00
James Lyne
3ca7a72703 Fix player image not updating on follow target change 2022-01-22 12:03:40 +00:00
James Lyne
96fb1d340e
Merge pull request #338 from JLyne/dependabot/npm_and_yarn/vue-tsc-0.31.1
Bump vue-tsc from 0.30.5 to 0.31.1
2022-01-22 11:59:40 +00:00
dependabot[bot]
25847e2270
Bump vue-tsc from 0.30.5 to 0.31.1
Bumps [vue-tsc](https://github.com/johnsoncodehk/volar/tree/HEAD/packages/vue-tsc) from 0.30.5 to 0.31.1.
- [Release notes](https://github.com/johnsoncodehk/volar/releases)
- [Changelog](https://github.com/johnsoncodehk/volar/blob/master/CHANGELOG.md)
- [Commits](https://github.com/johnsoncodehk/volar/commits/v0.31.1/packages/vue-tsc)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-22 11:53:35 +00:00
James Lyne
6957460ae8
Merge pull request #333 from JLyne/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-5.10.0
Bump @typescript-eslint/eslint-plugin from 5.9.1 to 5.10.0
2022-01-22 11:53:22 +00:00
James Lyne
6b5637ed8b
Merge pull request #334 from JLyne/dependabot/npm_and_yarn/eslint-8.7.0
Bump eslint from 8.6.0 to 8.7.0
2022-01-22 11:53:13 +00:00
James Lyne
430be14dec
Merge pull request #336 from JLyne/dependabot/npm_and_yarn/vue-tsc-0.30.5
Bump vue-tsc from 0.30.2 to 0.30.5
2022-01-22 11:53:04 +00:00
James Lyne
ff94b31b8c
Merge pull request #337 from JLyne/dependabot/npm_and_yarn/vite-2.7.12
Bump vite from 2.7.10 to 2.7.12
2022-01-22 11:52:54 +00:00
James Lyne
80fe8916f3 Refactor config loading
- Move config validation into map providers
- Move TileLayer creation into map providers
- Simplify config loading logic
2022-01-21 20:20:01 +00:00
James Lyne
52e512e316 Hopfully fix build 2022-01-21 14:02:18 +00:00
James Lyne
f8d28dd3ac Merge remote-tracking branch 'origin/master' 2022-01-21 13:59:29 +00:00
James Lyne
6c443ae87d Update leaflet 2022-01-21 13:59:22 +00:00
dependabot[bot]
af1386bcd1
Bump vite from 2.7.10 to 2.7.12
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 2.7.10 to 2.7.12.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v2.7.12/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v2.7.12/packages/vite)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 23:11:00 +00:00
dependabot[bot]
46d6cfc7ca
Bump eslint from 8.6.0 to 8.7.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.6.0 to 8.7.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.6.0...v8.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 23:10:33 +00:00
dependabot[bot]
abd6443e9b
Bump vue-tsc from 0.30.2 to 0.30.5
Bumps [vue-tsc](https://github.com/johnsoncodehk/volar/tree/HEAD/packages/vue-tsc) from 0.30.2 to 0.30.5.
- [Release notes](https://github.com/johnsoncodehk/volar/releases)
- [Changelog](https://github.com/johnsoncodehk/volar/blob/master/CHANGELOG.md)
- [Commits](https://github.com/johnsoncodehk/volar/commits/v0.30.5/packages/vue-tsc)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 23:10:33 +00:00
dependabot[bot]
b2ec99de3c
Bump @typescript-eslint/eslint-plugin from 5.9.1 to 5.10.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.9.1 to 5.10.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.10.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>
2022-01-17 23:10:25 +00:00
James Lyne
05a80ec5aa
Merge pull request #328 from JLyne/dependabot/npm_and_yarn/typescript-eslint/parser-5.10.0
Bump @typescript-eslint/parser from 5.9.1 to 5.10.0
2022-01-17 23:09:48 +00:00
James Lyne
024a74e473
Merge pull request #330 from JLyne/dependabot/npm_and_yarn/ts-jest-27.1.3
Bump ts-jest from 27.1.2 to 27.1.3
2022-01-17 23:09:41 +00:00
James Lyne
9a524c9220
Merge pull request #335 from JLyne/dependabot/npm_and_yarn/eslint-plugin-vue-8.3.0
Bump eslint-plugin-vue from 8.2.0 to 8.3.0
2022-01-17 23:09:26 +00:00
dependabot[bot]
296e8c2688
Bump @typescript-eslint/parser from 5.9.1 to 5.10.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.9.1 to 5.10.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.10.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>
2022-01-17 22:36:32 +00:00
dependabot[bot]
1b609afc0a
Bump eslint-plugin-vue from 8.2.0 to 8.3.0
Bumps [eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue) from 8.2.0 to 8.3.0.
- [Release notes](https://github.com/vuejs/eslint-plugin-vue/releases)
- [Commits](https://github.com/vuejs/eslint-plugin-vue/compare/v8.2.0...v8.3.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>
2022-01-17 22:36:31 +00:00
dependabot[bot]
f885b964d0
Bump ts-jest from 27.1.2 to 27.1.3
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 27.1.2 to 27.1.3.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v27.1.2...v27.1.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 22:36:30 +00:00
James Lyne
3afd8e5c6f
Merge pull request #329 from JLyne/dependabot/npm_and_yarn/vue-3.2.27
Bump vue from 3.2.26 to 3.2.27
2022-01-17 22:34:48 +00:00
James Lyne
9749eddb7a
Merge pull request #331 from JLyne/dependabot/npm_and_yarn/types/node-17.0.9
Bump @types/node from 17.0.8 to 17.0.9
2022-01-17 22:34:18 +00:00
James Lyne
a6cd0fa416
Merge pull request #332 from JLyne/dependabot/npm_and_yarn/sass-1.48.0
Bump sass from 1.47.0 to 1.48.0
2022-01-17 22:34:08 +00:00
dependabot[bot]
f8e85b61fa
Bump sass from 1.47.0 to 1.48.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.47.0 to 1.48.0.
- [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.47.0...1.48.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 22:08:36 +00:00
dependabot[bot]
92308b8b2f
Bump @types/node from 17.0.8 to 17.0.9
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.8 to 17.0.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 22:08:21 +00:00
dependabot[bot]
9faa0f1b4b
Bump vue from 3.2.26 to 3.2.27
Bumps [vue](https://github.com/vuejs/vue) from 3.2.26 to 3.2.27.
- [Release notes](https://github.com/vuejs/vue/releases)
- [Commits](https://github.com/vuejs/vue/commits)

---
updated-dependencies:
- dependency-name: vue
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 22:07:49 +00:00
James Lyne
e1a66acf3a 3.0.0-beta.1 2022-01-17 21:13:22 +00:00
James Lyne
4535af754c Clear player head cache/queue on server change 2022-01-17 20:15:22 +00:00
James Lyne
b82c9f39d2 Only show "Show More" button if there is actually more to show. 2022-01-17 19:57:04 +00:00
James Lyne
c87ea083a0 Only center points that need centering 2022-01-17 19:21:52 +00:00
James Lyne
62f7b25fb5 Center point markers in their block to match player markers 2022-01-17 19:01:19 +00:00
James Lyne
d9ca473674 Cancel existing follow when manually switching worlds 2022-01-17 16:45:42 +00:00
James Lyne
875301a7fa Update idea files 2022-01-17 15:21:07 +00:00
James Lyne
91739d513a Markers sidebar section 2022-01-17 15:15:00 +00:00
James Lyne
9265f8a02a Scroll to top of list when searching players 2022-01-17 12:21:23 +00:00
James Lyne
14e67571b2 Use class for styling player search 2022-01-17 12:20:33 +00:00
James Lyne
f9eb7b1fd2 Fix typo in circle bounds 2022-01-16 23:24:12 +00:00
James Lyne
f906264021 Add global marker update handler which handles all marker sets 2022-01-16 23:21:22 +00:00
James Lyne
687a31f0f7 Refactor Map pan handling
- Add setView method to handle all panning/zooming
- Replaced SET_PAN_TARGET mutation with more generic SET_VIEW_TARGET which accepts locations/bounds/zooms and leaflet options
- Merged all scheduled variables into single scheduledView
2022-01-16 22:15:12 +00:00
James Lyne
aaf4ee630d Precalculate bounds for path markers 2022-01-16 21:18:48 +00:00
James Lyne
846f894502 Follow UI improvements
- Stick to bottom of screen
- Prevent layout shift when player visibility changes
- Increase image size
2022-01-16 00:50:10 +00:00
James Lyne
cfda231048 Rename marker layer utility methods 2022-01-15 18:45:01 +00:00
James Lyne
5391b2a34c Recreate tooltips on marker update 2022-01-15 16:00:19 +00:00