384 Commits

Author SHA1 Message Date
Alfonso Grillo
f3618cda9d
Add polls analytics (#1691)
* Refactor location events

* Add poll analytics
2023-09-13 09:28:44 +02:00
Alfonso Grillo
f8c785ae51
Polish polls UX (#1684)
* Fix bar color

* Remove “final votes” string

* Add haptic feedback for polls

* Update compound package
2023-09-11 16:52:26 +02:00
Stefan Ceriu
b75fe5970b Fix AppRouter unit tests 2023-09-11 13:04:37 +03:00
Stefan Ceriu
ee4040141d
Top level deeplink handling (#1660)
* Handle link opening on the top most levels and prepare for percolating them throughout the app
* Add support for a custom app scheme
* Add specific AppRoute parsers.
* Integrate custom scheme in the AppRouteURLParser
* Switch to `element://call` and cleanup route parsing
2023-09-11 12:31:31 +03:00
Stefan Ceriu
0813e13325 Bump the RustSDK to v1.1.12 2023-09-11 12:26:52 +03:00
Alfonso Grillo
bd4ee92124
Rich text editor "expanded mode" (#1656)
* Fix composer icon in dark mode

* Add RTE poc

* Amend cornerRadius

* Add snaps

* Fix composer top spacing

* Fix clipping

* Refine UX

* Fix animation

* Add constants + iPad hide bars logics

* Polish clamping

* Fix UT

* Cleanup

* Add grabber color

* Add UI tests

* Rename handle -> grabber

* Fix resize composer when RTE is off

* Fix project file
2023-09-11 07:54:37 +00:00
Doug
ae24ba19da
Add missing contacts field in OIDC configuration. (#1662) 2023-09-08 16:28:10 +00:00
Mauro
3ce26a9faf
Avatar Bloom View in home screen navigation bar (#1630)
* experimental code

* veyr close to a perfect solution but i need to make it crop

* code improvementds

* for now this looks like the best solution but there is a weird animation happening

* hard edge solution that completely works.

* dark mode support

* 17 support

* code improvement and dark mode improvement

* bloom gradient, it works but it needs a fix for landscape + the gradient should get hidden while in search mode

* hides when searching

* crash free constraint

* fixed everything only the scroll bar issue needs fixing now

* oblique gradient effect

* removed unused code

* removed unused code

* updated the bloom effects

* hairline restored for everything aside from the home screen

* code improvements

* possible final implementation

* pr suggestion

* hairline view added

* Update ElementX/Sources/Other/ScrollViewAdapter.swift

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>

* code adjustments

* typo fix

* typo fix

---------

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2023-09-08 16:45:48 +02:00
Stefan Ceriu
62b6cd598f
Generic element call link support (#1643)
* Remove swift-url-routing and replace it with a custom implementation. It fails parsing the fragments in app.element.io links and it doesn't bring any value
* Add handling for opening generic element call links
* Add applinks support for call.element.io
* Enable VoIP and Audio playback background modes
2023-09-07 12:06:18 +03:00
Stefan Ceriu
90228374d1 Bump the RustSDK to v1.1.10 2023-09-07 11:56:38 +03:00
aringenbach
c9962a4459
Add RTE formatting buttons (#1614)
* Add RTE formatting buttons

* Update UUID as stored properties

* Disable autocorrection on URL fields

* Alert ids to let

* Add ComposerToolbar_Previews

* Cleanup

* Cleanup

* Refactor FormatItem colors

* Fix composer layout issue

* Fix ui tests

* Nest ComposerToolbar A11y ids under RoomScreen

* Add composer reply ui tests

* Add UTs

---------

Co-authored-by: Alfonso Grillo <alfogrillo@gmail.com>
2023-09-05 15:39:54 +00:00
Element CI
0a610da93e Prepare next release 2023-09-01 11:07:21 -07:00
Doug
f98717975d
Update Rust SDK. (#1617) 2023-09-01 18:46:50 +01:00
Mauro
38d6ffb363
Avatars and Usernames color change (#1610)
* avatars and username color change

* force a replacement for the notification placeholders

* updated also the plain style

* Update project.yml

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>

* changelog

* UI tests updated

---------

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2023-09-01 09:28:28 +00:00
aringenbach
6df74aa21a
Update RTE version to 2.8.0 (#1609) 2023-09-01 09:28:43 +02:00
Element CI
2b0d6a3681 Prepare next release 2023-08-31 09:16:58 -07:00
Doug
3ed6de687d
Update the SDK. (#1605) 2023-08-31 15:16:56 +01:00
Alfonso Grillo
f0fad25d09
Vote on a poll and end a poll (#1597)
* Fix project file

* Add vote and end poll actions

* Handle redaction

* Fix local echo behavior

* Cleanup

* Fix UI tests

* Add localisation

* Cleanup

* Fix end poll action style
2023-08-31 12:04:25 +02:00
Stefan Ceriu
d43b578dce Bump the RustSDK to v1.1.6 2023-08-31 11:45:46 +03:00
Stefan Ceriu
af408aacbc Bump the RustSDK to v1.1.5 2023-08-30 17:34:12 +03:00
Alfonso Grillo
3c3e31f9e4
Update matrix-sdk to 1.1.4 (#1594)
* Update matrix-sdk to 1.1.4

* Cleanup project file randomness

---------

Co-authored-by: Stefan Ceriu <stefan.ceriu@gmail.com>
2023-08-30 12:31:55 +00:00
Doug
a472d443e0
Add app logo to OIDC and fix policy URL (#1590) 2023-08-30 09:39:33 +00:00
Alfonso Grillo
a2623dd254
Create poll UX (#1571)
* Add poll attachment button

* Add poll creation feature flag

* Setup navigation to CreatePollScreen

* Add create/cancel actions

* Add create poll screen ui skeleton

* Add bindings in CreatePollScreen

* Add logics in CreatePollScreen

* Cleanup code

* Fix option deletion crash

* Fix conflicts

* Add create poll logic

* Add localisations

* Fix test build errors

* Fix crash

* Add UTs

* Add accessibility IDs

* Add ui tests

* Add 240 char limit

* Fix addOption hide behavior

* Add maxNumberOfOptions

* Cleanup code

* Move delete workaround in the view model

* Use compound delete icon
2023-08-30 09:23:30 +00:00
aringenbach
d1573ae40d
Initial integration of RTE (#1464)
* Initial integration of RTE

* Fix `clipped`, `focused` and composer view type

* Remove horizontal padding

* Add `ComposerToolbar` mock

* Restore `composerFocusedSubject`

* Allow using HTML from RTE on message sent

* Fix new message content API

* Add feature flag for Rich Text Editor
2023-08-29 12:37:13 +00:00
Stefan Ceriu
1e1923c9f4 Bump the RustSDK to v1.1.2
- add a couple more logs to the room summary provider
2023-08-28 19:56:46 +03:00
aringenbach
24aebe4616 Bump the RustSDK to v1.1.1 2023-08-28 15:37:04 +03:00
Stefan Ceriu
c776229dc0 Bump the RustSDK to v1.1.0 2023-08-25 14:42:56 +03:00
Stefan Ceriu
76c5693a59 Split up the tests into performance tests that are measured, and user flow tests that access more screens and aren't 2023-08-25 13:33:06 +03:00
Stefan Ceriu
ecc549b280 Feature flag to OTLP tracing 2023-08-24 15:12:19 +03:00
Element CI
ae3f7ba373 Prepare next release 2023-08-22 08:50:10 -07:00
Doug
5e3a32157a
Enable OIDC support (#1541)
Notification content is bypassed for now.
2023-08-22 15:53:27 +01:00
Nicolas Mauri
b1ea23c925
Display the list of rooms with user-defined notification settings (#1535) 2023-08-22 12:33:39 +00:00
Mauro
db1903ec05
MessageText component (#1521)
* MessageText component

* swiftformat

* fix swift format being a bit crazy

* link tapping support

* new test + fix for font + dynamic support

* fix for blockquote issue.

* code improvement

* small code improvement and fixed tests not working due to weird swiftformat behaviour

* fix boost emoji

* updated swiftformat

* better testing

* UI tests updated

* fixing the issue with the cache overriding the size category changes

* whitespaces

* appropriate color + better info plist parsing

* cleaned the code and fixed links

* tapping link fixes

* list bug fix

* ui tests regenerated
2023-08-22 10:14:23 +00:00
Stefan Ceriu
65256bf4ab Bump the RustSDK to 1.0.110-alpha 2023-08-21 16:11:06 +03:00
Element CI
8cb1db5ab5 Prepare next release 2023-08-18 23:35:08 -07:00
Element CI
b4111d57d7 Prepare next release 2023-08-18 07:11:56 -07:00
Stefan Ceriu
f683861ade Rollback RustSDK to 1.0.108-alpha as 109 is randomly stalling the sync service 2023-08-18 16:15:20 +03:00
Stefan Ceriu
03f1ad1dce Bump the RustSDK to 1.0.109-alpha, removes isEncrypted from RoomInfo 2023-08-18 13:43:16 +03:00
Stefan Ceriu
fa78912027 Start using the new (faster) RoomInfo record to populate the room and invite lists 2023-08-17 20:36:47 +03:00
Mauro
8188fd2d2a
NSE user agent support (#1507) 2023-08-17 13:11:34 +00:00
Stefan Ceriu
5400910855 Bump SDK to v1.0.107-alpha. Simplify syncService state handling 2023-08-16 18:21:57 +03:00
Doug
c64fb44c96
Use Compound ListRow instead of Compound form styles. (#1484)
* Adopt ListRow Component.

* Update snapshots.

To check in future PR:
- Pseudo Bug Report Attach Screenshot label
- Bug Report screenshot padding (Use ListRow .custom?)
- De-bold Analytics & Notification Settings footer links
- Inline picker alignment perhaps?

* Changelog

* Update Compound.

* Use the label on the login screen.
2023-08-16 16:08:30 +01:00
Doug
0879102e84
Update project (#1494)
- Sort dependencies a bit more.
- Remove .git extension in DesignKit.
- Regenerate project using XcodeGen 2.36.1
2023-08-15 11:42:18 +01:00
Nicolas Mauri
9a52b968f1
Edit the default notification settings (#1468) 2023-08-11 17:10:23 +03:00
Alfonso Grillo
25f66d2557
Refine polls UI in the timeline (#1474)
* Add summary view in PollRoomTimelineView

* Add selectedPollOption action

* Handle undisclosed polls

* Add more logics in PollRoomTimelineView

* Refine ended poll UI

* Refine poll layout

* More UI refinements

* Fix layout issue

* Refine progress bar

* Add poll mocks and UI tests

* Cleanup
2023-08-11 10:25:16 +00:00
Nicolas Mauri
f64159670b
Update SDK to 1.0.106-alpha (#1480) 2023-08-11 11:54:44 +02:00
David Langley
8512d4c857
Integrate emojibase (#1449)
* Integrate emojibase

* pin emojibase to version rather than revision

* Log error in case of failed loading of emojis from emojibase.

* Update Package.resolved

* Fix tests and bindings version
2023-08-10 19:14:18 +01:00
Element CI
975db4deb3 Prepare next release 2023-08-10 07:10:31 -07:00
Stefan Ceriu
1bfd5e89ca Bump the RustSDK to v1.0.105-alpha 2023-08-09 13:33:48 +03:00
Stefan Ceriu
0511bef33a Fixes #1270 - Parse the latest room message instead of directly using the body. Add an app wide attributed string caching layer. 2023-08-08 17:02:37 +03:00