Michael Telatyński
f40d15388c
Update tests to prefer RTL over Enzyme ( #10247
...
* Update tests to prefer RTL over Enzyme
* Strict types
2023-02-28 08:58:23 +00:00
Kerry
d141fedff6
port BeaconViewDialog unit test to rtl ( #10180 )
2023-02-21 21:32:37 +00: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
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
Michael Weimann
27ba1e57e6
Update matrix-org/react (enzyme deprecation) ( #9116 )
2022-08-02 15:10:43 +02:00
Kerry
0357b4f0dc
leave maximised map when beacons expire ( #9098 )
2022-07-27 17:42:59 +02: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
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
399ac618c7
LLS: fix jumpy maximised map ( #8387 )
...
* add maxzoom to map fit bounds
Signed-off-by: Kerry Archibald <kerrya@element.io>
* take snapshot of bounds at center on dialog open
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-21 18:56:11 +02:00
Kerry
f2ec465f87
Live location sharing: own live beacon status on maximised view ( #8374 )
...
* add floating own live sharing eacon status to maximised view
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add tests for own beacon status
Signed-off-by: Kerry Archibald <kerrya@element.io>
* stylelint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove huge snapshot
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove unused emits from test
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-21 09:06:57 +02:00
Kerry
e45cd39906
Live location sharing: maximised view sidebar container ( #8360 )
...
* add h4
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add mixin to clear list style
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add basic sidebar container
Signed-off-by: Kerry Archibald <kerrya@element.io>
* open list view button on beaconviewdialog
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update tests for new utils
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-20 08:14:24 +00:00
Kerry
70cdd57a5c
Live location sharing: move test utils into utils ( #8365 )
...
* move makeRoomWithState events to test utils
Signed-off-by: Kerry Archibald <kerrya@element.io>
* move beacon test helpers into utils
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove file
Signed-off-by: Kerry Archibald <kerrya@element.io>
* more types
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-19 16:47:19 +00:00
Kerry
f70186ea9b
Live location sharing: set map bounds to include all locations ( #8324 )
...
* open a dialog with map centered around first beacon
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test dialog opening from beacon body
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test beaconmarker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add bounds to Map comp
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add focusBeacon to beaconviewdialog, use bounds
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use membercolor on beacon view markers
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add lnglatbounds to maplibre mock
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update snapshots for expanded maplibre Map mock
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test map bounds
Signed-off-by: Kerry Archibald <kerrya@element.io>
* tidy copy paste comment
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add fallback when no more live locations
Signed-off-by: Kerry Archibald <kerrya@element.io>
* accurate signature for getBoundsCenter
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-19 11:35:39 +00:00
Kerry
f95106d2c6
Live location sharing - basic maximised beacon map ( #8310 )
...
* open a dialog with map centered around first beacon
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add room member markers
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix unmount issue in smart marker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* dont throw on no more live locations
Signed-off-by: Kerry Archibald <kerrya@element.io>
* cursor on beacon maps
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fussy import ordering
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test dialog opening from beacon body
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test beaconmarker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test BeaconViewDialog
Signed-off-by: Kerry Archibald <kerrya@element.io>
* comment
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use unstable prefix for wk tile_Server
Signed-off-by: Kerry Archibald <kerrya@element.io>
* unstable prefix for new m.tile_server use in test
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-14 13:14:05 +00:00