Kerry
804ddbb332
Live location sharing - update live location tiles (PSF-1027) ( #8649 )
...
* update map svg
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add map fallback component, update styls
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update purple location icon style
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fussy import ordering
Signed-off-by: Kerry Archibald <kerrya@element.io>
* tidy
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-05-20 09:49:01 +00:00
Kerry
699a9aeaaf
LLS: expose way to enable live sharing labs flag from location dialog ( #8416 )
...
* add state for waiting for labs flag
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add enable live share component
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test enabling live share labs flag
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-28 13:37:20 +02:00
Kerry
df20821fd6
Live location sharing - extract zoom buttons into component ( #8235 )
...
* extract out zoombuttons component
* newline
Signed-off-by: Kerry Archibald <kerrya@element.io>
* stylelint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove skinned sdk
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-11 10:29:07 +02:00
Kerry
b98739056e
Live location sharing - extract location markers into generic Marker ( #8225 )
...
* extract location markers into generic Marker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* comments
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove skinned
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-06 12:40:39 +01:00
Kerry
0b80755fb8
extract reusable styled live beacon icon ( #8103 )
...
* extract reusable styles live beacon icon
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add secondary live lcation color
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-21 16:43:43 +00:00
Kerry
14653d1378
Live location share - set time limit ( #8082 )
...
* add mocking helpers for platform peg
Signed-off-by: Kerry Archibald <kerrya@element.io>
* basic working live duration dropdown
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add duration format utility
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add duration dropdown to live location picker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* adjust style to allow overflow and variable height chin
Signed-off-by: Kerry Archibald <kerrya@element.io>
* tidy comments
Signed-off-by: Kerry Archibald <kerrya@element.io>
* arrow fn change
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-21 12:42:58 +01:00
Kerry
176e49e312
enable geolocation behaviour in location picker for live share type ( #8068 )
...
* enable geolocation behaviour in location picker for live share type
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add empty lines
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-17 09:26:47 +01:00
Kerry
d38a1fa201
fallback to event text in location body when map unavailable ( #7982 )
...
* center icon better
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove debug
Signed-off-by: Kerry Archibald <kerrya@element.io>
* retrigger all builds
Signed-off-by: Kerry Archibald <kerrya@element.io>
* set assetType on share event
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use pin marker on map for pin drop share
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test events
Signed-off-by: Kerry Archibald <kerrya@element.io>
* pin drop helper text
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use generic location type
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add navigationcontrol when in pin mode
Signed-off-by: Kerry Archibald <kerrya@element.io>
* allow pin drop without location permissions
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove geolocate control when pin dropping without geo perms
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test locationpicker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test marker type, tidy
Signed-off-by: Kerry Archibald <kerrya@element.io>
* move findMapStyleUrl
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fallback to event content when cant render map
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update mocks in location picker, show same messages as timeline
Signed-off-by: Kerry Archibald <kerrya@element.io>
* style error message in location share menu
Signed-off-by: Kerry Archibald <kerrya@element.io>
* i18n
Signed-off-by: Kerry Archibald <kerrya@element.io>
* forgotten copyright
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add copyright
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update style
Signed-off-by: Kerry Archibald <kerrya@element.io>
* icon bigger
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-11 09:52:57 +01:00
Kerry
ebc2267e52
Location sharing > back button ( #7958 )
...
* add back/cancel buttons to share dialog
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test buttons
Signed-off-by: Kerry Archibald <kerrya@element.io>
* improve weird indentation
Signed-off-by: Kerry Archibald <kerrya@element.io>
* relint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* PR tweaks
Signed-off-by: Kerry Archibald <kerrya@element.io>
* quotes
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-03 11:30:46 +01:00
Kerry
b480bffab0
Location share type UI ( #7924 )
...
* copyright
Signed-off-by: Kerry Archibald <kerrya@element.io>
* empty line
Signed-off-by: Kerry Archibald <kerrya@element.io>
* functional picker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* most style
Signed-off-by: Kerry Archibald <kerrya@element.io>
* nice style for options
Signed-off-by: Kerry Archibald <kerrya@element.io>
* get ShareType test passing
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add maplibre mock
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint and test
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add section to themes for location sharing cols
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add svg mock
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use same mock string as imageMock
Signed-off-by: Kerry Archibald <kerrya@element.io>
* newline
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add live location icon
Signed-off-by: Kerry Archibald <kerrya@element.io>
* rename useEnabledShareTypes
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use solid color for live border
* use ternary
Signed-off-by: Kerry Archibald <kerrya@element.io>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-03-02 13:00:40 +00:00
Kerry
3f1951b5b8
Prep for pin drop location sharing ( #7919 )
...
* add labs flag feature_location_share_pin_drop
Signed-off-by: Kerry Archibald <kerrya@element.io>
* split LocationButton into two components
Signed-off-by: Kerry Archibald <kerrya@element.io>
* rethemendex
Signed-off-by: Kerry Archibald <kerrya@element.io>
* copyright
Signed-off-by: Kerry Archibald <kerrya@element.io>
* one more (c)
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>
* use same matrix client import
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-01 18:00:07 +01:00