Commit Graph

1294 Commits

Author SHA1 Message Date
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
James Lyne
f47bf8e691 Use HTML tooltip for marker display when it exists 2022-01-15 15:50:27 +00:00
James Lyne
42e553bda7 Marker storage/display improvements
- Store markers of all types for a marker set in a single map
- Merge all marker type components into a single Markers component
- Add marker type prefixes to dynmap marker ids to ensure they remain unique
- Add id and type properties to marker objects
- Remove now-unused update handler for specific marker types
2022-01-15 15:45:59 +00:00
James Lyne
9abd96ccb1 Overhaul marker update handling
- Renamed pendingSetUpdates to pendingMarkerUpdates
- pendingMarkerUpdates is now a simple array of LiveAtlasMarkerUpdates
- Added separate ADD_MARKER_UPDATES mutation for marker updates
- Set updates via ADD_MARKER_SET_UPDATES are applied immediately and not stored in state
- Removed all marker pop actions and mutations except POP_MARKER_UPDATES, which now returns all marker types
- Added centralised markup update handler in markers.ts, replacing much of the logic in the individual marker type components. Allows additional handlers to be registered for specific marker sets and types
2022-01-15 00:07:25 +00:00
James Lyne
61b6b820aa Combine buildArea/buildRectangle in Pl3xmapMapProvider 2022-01-14 20:52:37 +00:00
James Lyne
6b232f387b Rename markers.ts 2022-01-14 20:52:05 +00:00
James Lyne
e800b9fb73 Pl3xmap tooltip fixes 2022-01-14 20:11:43 +00:00
James Lyne
8382142cb2 Cleanup url getter 2022-01-14 20:11:43 +00:00
James Lyne
46fc602a96 Fix incorrect argument type for DynmapTileLayer.getTileInfo 2022-01-14 20:11:43 +00:00
James Lyne
b3a685e003 Add location property for all marker types
Areas/lines will calculate a center point to use for their location
2022-01-14 20:11:43 +00:00