Michael Telatynski
9c816bb720
Conform more code to strictNullChecks ( #10383
...
* Update matrix-widget-api
* Conform more code to `strictNullChecks`
* Iterate
2023-03-16 10:35:17 +00:00
Michael Telatyński
12dd799301
Fix double translation issue ( #10240
...
* Fix double translation issue
* Remove some redundant string concatenations
2023-02-27 09:15:27 +00:00
Michael Telatynski
76b82b4b2b
Make more code conform to strict null checks ( #10219
...
* Make more code conform to strict null checks
* Fix types
* Fix tests
* Fix remaining test assertions
* Iterate PR
2023-02-24 15:28:40 +00:00
Michael Telatynski
4574c665ea
Conform more code to strict null checking ( #10167 )
...
* Conform more code to strict null checking
* Delint
* Iterate PR based on feedback
2023-02-16 17:21:44 +00:00
Johannes Marbach
de864f15bc
Fix strict mode issues
2023-02-13 20:25:43 +01:00
Johannes Marbach
d0e9331f07
Merge branch 'develop' into johannes/find-myself
2023-02-13 20:16:04 +01:00
Michael Telatynski
da7aa4055e
Conform more of the code base to strict null checking ( #10147 )
...
* Conform more of the code base to strict null checking
* More strict fixes
* More strict work
* Fix missing optional type
* Iterate
2023-02-13 17:01:43 +00:00
Michael Telatynski
61a63e47f4
Comply with noImplicitAny ( #9940 )
...
* Stash noImplicitAny work
* Stash
* Fix imports
* Iterate
* Fix tests
* Delint
* Fix tests
2023-02-13 11:39:16 +00:00
Kerry Archibald
06d8755f6b
add tests for geolocate self on map views
2023-02-07 16:51:58 +13:00
Johannes Marbach
93682e9d13
Further type fixes
2023-02-04 20:29:50 +01:00
Johannes Marbach
a3d09937d6
Fix types
2023-02-04 20:22:03 +01:00
Johannes Marbach
e5a7e83b48
Add option to find own location in map views
2023-02-04 19:58:19 +01:00
renovate[bot]
af3715821b
Update dependency maplibre-gl to v2 ( #9699 )
...
* Update dependency maplibre-gl to v2
* update types and mocks for maplibre 2.0
* prettier + strict fix
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kerry Archibald <kerrya@element.io >
2022-12-18 23:17:15 +00:00
Michael Weimann
526645c791
Apply prettier formatting
2022-12-12 12:24:14 +01:00
Kerry
dc6ceb1d1c
Live location share - focus on user location on list item click (PSG-609) ( #9051 )
...
* extract preventDefaultWrapper into utils
* add click handling to beacon list item
* add click handling to dialog sidebar
* focus in on beacons when clicked in list
* stylelint
* fussy import ordering
* test beacon focusing in beaocnviewdialog
2022-07-18 08:34:39 +00:00
Kerry
cc8d78d971
Location sharing - add localised strings to map ( #9025 )
...
* add localised strings to map
* fussy import ordering
* remove unused scale control strings from override
2022-07-08 15:08:05 +00:00
Kerry
15c2fb6b71
Live location sharing - open location in OpenStreetMap (PSF-1040) ( #8695 )
...
* share plain lat,lon string from beacon tooltip and list item
Signed-off-by: Kerry Archibald <kerrya@element.io >
* export makeMapSiteLink helper fn
Signed-off-by: Kerry Archibald <kerrya@element.io >
* use currentColor in external-link.svg
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add open in openstreetmap link
Signed-off-by: Kerry Archibald <kerrya@element.io >
* fussy import ordering
Signed-off-by: Kerry Archibald <kerrya@element.io >
* fix icon color var
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-05-27 11:58:39 +02:00
Michael Weimann
1535ff0d6c
Move map attribution to top right ( #8621 )
...
Signed-off-by: Michael Weimann <michaelw@matrix.org >
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2022-05-23 12:19:59 +02:00
Kerry
e0415d0123
remove unused map util fn ( #8573 )
2022-05-12 17:50:13 +02:00
Kerry
9ba55d1d14
Live location sharing - consolidate maps ( #8236 )
...
* extract location markers into generic Marker
Signed-off-by: Kerry Archibald <kerrya@element.io >
* wrap marker in smartmarker
Signed-off-by: Kerry Archibald <kerrya@element.io >
* test smartmarker
Signed-off-by: Kerry Archibald <kerrya@element.io >
* working map in location body
Signed-off-by: Kerry Archibald <kerrya@element.io >
* test Map
Signed-off-by: Kerry Archibald <kerrya@element.io >
* remove skinned sdk
Signed-off-by: Kerry Archibald <kerrya@element.io >
* update snaps with new mocks
Signed-off-by: Kerry Archibald <kerrya@element.io >
* use new ZoomButtons in MLocationBody
Signed-off-by: Kerry Archibald <kerrya@element.io >
* make LocationViewDialog map interactive
Signed-off-by: Kerry Archibald <kerrya@element.io >
* test MLocationBody
Signed-off-by: Kerry Archibald <kerrya@element.io >
* test LocationViewDialog
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add copyrights, shrink snapshot
Signed-off-by: Kerry Archibald <kerrya@element.io >
* update comment
Signed-off-by: Kerry Archibald <kerrya@element.io >
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io >
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-04-11 18:40:06 +02:00
Kerry
b760ec9392
Location sharing - extract isSelfLocation util ( #8279 )
...
* extract isSelfLocation into utils
Signed-off-by: Kerry Archibald <kerrya@element.io >
* replace use of isSelfLocation
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-04-11 13:58:35 +02:00
Kerry
94385169f1
Live location sharing - smart location marker ( #8232 )
...
* extract location markers into generic Marker
Signed-off-by: Kerry Archibald <kerrya@element.io >
* wrap marker in smartmarker
Signed-off-by: Kerry Archibald <kerrya@element.io >
* test smartmarker
Signed-off-by: Kerry Archibald <kerrya@element.io >
* remove skinned-sdk
Signed-off-by: Kerry Archibald <kerrya@element.io >
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io >
* better types for LocationBodyContent
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-04-11 10:29:24 +02:00
Kerry
1397652f52
Extract location utils from components ( #8152 )
...
* extract util functions from MLocationBody
Signed-off-by: Kerry Archibald <kerrya@element.io >
* disassemble mlocationbody
Signed-off-by: Kerry Archibald <kerrya@element.io >
* tidy and add copyrights
Signed-off-by: Kerry Archibald <kerrya@element.io >
* move types and utils from components/location to utils
Signed-off-by: Kerry Archibald <kerrya@element.io >
* i18n
Signed-off-by: Kerry Archibald <kerrya@element.io >
* empty line
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-03-25 15:36:22 +01:00