Michael Telatynski
30429df948
Eliminate the use of MatrixClientPeg in utils ( #10910 )
2023-05-23 16:24:12 +01:00
Rashmit Pankhania
7751f9c622
#21451 Fix WebGL disabled error message ( #10589 )
...
* #21451 Fix WebGl disabled error message
* #21451 Fix WebGl disabled error message
Signed-off-by: Rashmit Pankhania <rashmitpankhania@gmail.com>
Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
* Fix message
Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
* Fix ordering of cases in LocationShareErrors.ts
Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
* Fix linting LocationPicker.tsx
Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
* Fix eslint
Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
* Fix file encoding for i18n CI issue
Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
* Fix ts strict CI issue
Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
---------
Signed-off-by: Rashmit Pankhania <rashmitpankhania@gmail.com>
Signed-off-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
Co-authored-by: Rashmit Pankhania <raspankh@publicisgroupe.net>
Co-authored-by: Kerry <kerrya@element.io>
2023-04-17 04:25:04 +00:00
Kerry
81a4498a8f
Apply `strictNullChecks` to `src/utils/*!exportUtils` ( #10455
...
* Apply `strictNullChecks` to `src/utils/exportUtils`
* strict fix
* fix strictNullChecks issues in some utils
* fix error message
* test coverage
* lint
* more strictNullChecks
* small optimisation for getUniqueRoomsWithIndividuals
* tidy
* test coverage
2023-04-03 09:26:55 +01:00
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
Johannes Marbach
de864f15bc
Fix strict mode issues
2023-02-13 20:25:43 +01: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
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
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
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