Florian Duros
1190de9028
Migrate TooltipTarget
usage to compound Tooltip
( #12542 )
...
* Use new tooltip in `RoomTopic.tsx`
* Use new tooltip in `MLocationBody.tsx`
* Fix room topic
* Update location snapshot
* Use new tooltip in `AppPermission.tsx`
* Remove `TooltipTarget`
* Add tests for `RoomTopic`
2024-05-22 12:15:07 +00:00
renovate[bot]
af51897889
Update dependency @vector-im/compound-web to v3.1.3 ( #12281 )
...
* Update dependency @vector-im/compound-web to v3.1.3
* Update snapshots
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Update snapshots
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Update snapshots
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Fix TAC width due to compound update (#12326 )
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: Florian Duros <florianduros@element.io>
2024-03-07 14:40:03 +00:00
Robin
b422641258
Upgrade compound-web ( #12234 )
...
* Upgrade compound-web
I forgot to include this in https://github.com/matrix-org/matrix-react-sdk/pull/12209 , which has caused avatar and username colors to be out of sync and sometimes revert to plain black/white.
* Update tests
* Update tests
2024-02-07 17:26:05 +00:00
renovate[bot]
3bd6dd9143
Update vector-im ( #11621 )
...
* Update vector-im
* Update snapshots
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-10-12 11:12:59 +00:00
Germain
899cc53a3e
upgrade snapshots
2023-09-22 09:35:36 +01:00
Germain
23897dff4f
Fix colour of avatar and colour matching with username ( #11470 )
...
* Use consistent colouring of username with avatar
* Upgrade Compound to fix Firefox issue
* Use the approapriate color shade for usernames
* Use the approapriate color shade for usernames
* Upgrade Compound
* Fix tests
2023-08-24 17:12:28 +00:00
Germain
09c5e06d12
Change avatar to use Compound implementation ( #11448 )
...
* Move avatar to new compound implementation
* Make space avatars square
* Remove reference to the avatar initial CSS class
* remove references to mx_BaseAvatar_image
* Fixe test suites
* Fix accessbility violations
* Add ConfirmUserActionDialog test
* Fix tests
* Add FacePile test
* Fix items clipping in members list
* Fix user info avatar sizing
* Fix tests
2023-08-24 03:48:35 +00:00
Michael Telatynski
57a0d99dc8
Improve randomString mock for better snapshots ( #11375 )
2023-08-09 09:39:48 +01:00
Michael Telatynski
f52fab39fc
Use aria descriptions instead of labels for TextWithTooltip ( #10952 )
...
* Use aria descriptions instead of labels for TextWithTooltip
to prevent clobbering the reading of the content
* Update snapshot
* Fix snapshots
* Iterate
* Update snapshots
* delint
2023-05-25 08:42:09 +00:00
Michael Telatynski
2cee8a4b01
Specify lazy loading for avatars ( #10866 )
...
* Specify lazy loading for avatars
so browser doesn't fetch eagerly if off-screen
* Update snapshots
2023-05-11 18:29:48 +00:00
Michael Telatynski
bda54a8b20
Kill off enzyme in preference of react testing library ( #10255 )
2023-03-06 15:17:46 +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 Telatynski
04bc8fb71c
Optimise Jest run in CI ( #9542 )
2022-11-04 10:48:08 +00:00
Michael Weimann
aac97e01e3
Reload map on reconnect ( #8848 )
...
PSD-282
2022-06-15 16:38:35 +02:00
Michael Telatynski
fe21ec8715
Consolidate random string generation to make Sonar happier ( #8675 )
...
* Consolidate random string generation to make Sonar happier
* Update snapshots
2022-05-24 09:05:11 +01: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
Šimon Brandner
fb30b67b14
Fix issues with the new topic dialog ( #8608 )
2022-05-16 14:10:00 +02:00
Kerry
fbbb9c27ba
Live location share - beacon tooltip in maximised view ( #8572 ) PSF-926
...
* pass optional tooltip prop down through markers
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add beaconstatustooltip, handle overflow on beacon status label
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove debug, fix mouseout
Signed-off-by: Kerry Archibald <kerrya@element.io>
* tidy comments
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-05-13 08:30:53 +00:00
Kerry
12af3038a8
fix message indent in thread view ( #8462 )
...
Signed-off-by: Kerry Archibald <kerrya@element.io>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-05-03 13:51:50 +02: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
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
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