Commit graph

1379 commits

Author SHA1 Message Date
Benoit Marty
459bbecd4a
Merge pull request #5387 from p1gp1g/fix
Put developer settings at the end of the view
2025-09-24 14:29:32 +02:00
Benoit Marty
a953547837
Merge pull request #5401 from element-hq/feature/bma/messagesViewTopBars
Rework on messages view top bars
2025-09-24 14:15:22 +02:00
ElementBot
f3a9646db2 Update screenshots 2025-09-24 09:36:41 +00:00
Benoit Marty
f3f19ec476
Merge branch 'develop' into feature/fga/join_space 2025-09-24 11:20:17 +02:00
ElementBot
321c5f6497 Update screenshots 2025-09-23 20:12:48 +00:00
Jorge Martin Espinosa
0a5c178fe8
Add thread decoration with latest event details (#5355)
* Add thread decoration with latest event details
* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2025-09-23 14:57:50 +00:00
ganfra
ad63de00df
Merge branch 'develop' into fix 2025-09-23 14:38:45 +02:00
ElementBot
532dd03212 Update screenshots 2025-09-23 12:37:03 +00:00
ElementBot
46d528e207 Update screenshots 2025-09-23 08:38:58 +00:00
ElementBot
e8ddee760c Update screenshots 2025-09-22 14:42:36 +00:00
Jorge Martin Espinosa
30e91e71b0
Add room info to the thread's top app bar (#5374)
* Add room info to the thread's top app bar

* Update screenshots

* Fix lint issues

---------

Co-authored-by: ElementBot <android@element.io>
2025-09-22 09:56:36 +02:00
Benoit Marty
bebde0e9dd Cleanup 2025-09-16 14:38:32 +02:00
Benoit Marty
a69cf58a5b Add test on DefaultSpaceEntryPoint 2025-09-16 14:38:31 +02:00
Benoit Marty
ba51b29d23
Cleanup nodes (#5358)
* Remove unused NavTarget.Empty

* Let SpaceEntryPoint.Inputs implement NodeInputs.

* Small cleanup

* Small cleanup

* Method can be private.

* Simplify code

* Rename to follow naming convention

* Rename Node to follow naming convention

* Add Konsist test.

* Remove useless line of code.
2025-09-16 14:36:43 +02:00
Benoit Marty
cbe2f0684b Add Konsist test. 2025-09-16 10:50:34 +02:00
Valere Fedronic
5d1154083b
Call: MSC4310 sending RTC decline event and listening for Decline from other sessions
MSC4310 RTC decline event support
2025-09-16 10:25:17 +02:00
Jorge Martin Espinosa
b8db02e4ac
Do not center the dialog title text for dialogs with no icon (#5332)
* Fix: do not center the dialog title text for dialogs with no icon

* Fix alignment for dialogs with icons, add screenshots

* Replace text title in previews so the screenshot tests are easier to understand

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2025-09-15 11:39:37 +02:00
Richard van der Hoff
120c30e076
Show progress dialog while we are sending invites in a room (#5342)
* Add `InvitePeopleState.sendInvitesAction`

Keep track of the progress on sending invites with a new state property.

* Keep `RoomInviteMembersView` open until invites are sent

* Sync strings from localazy

* extend `ProgressDialog` to support custom content

For my current design, a simple text element is insufficient. I extend
`ProgressDialog` to give more flexibility over the content of the dialog.

* Show progress dialog while invites are being sent

* Add new ProgressDialog previews to the naming exceptions list

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-09-12 10:35:37 +00:00
Benoit Marty
0b5cb57e46 Extract plantTestTimber 2025-09-11 16:58:47 +02:00
ElementBot
115e0e64f6 Update screenshots 2025-09-10 13:17:52 +00:00
Jorge Martin Espinosa
bdb9acfd32
Add emoji search to the reaction emoji picker (#5255)
* Add emoji search to the reaction emoji picker

* Update screenshots

* Fix tests and lint issues.

Fixing the tests required addressing some underlying issues in `SearchBar`

---------

Co-authored-by: ElementBot <android@element.io>
2025-09-05 17:11:40 +00:00
ElementBot
8faa286012 Update screenshots 2025-09-05 17:09:41 +02:00
Jorge Martin Espinosa
cc3d04ad84
[a11y] Add content descriptions to room list item indicators (#5236)
* [a11y] Add content descriptions to room list item indicators. These can now be read aloud as 'ongoing call', 'new messages', 'new mentions'.

* Add `contentDescription` to `UnreadIndicatorAtom` as an optional value

* Make the 'ongoing call', 'new messages', etc. indicators be read aloud before the latest event of the room summary

---------

Co-authored-by: ElementBot <android@element.io>
2025-08-27 17:14:59 +02:00
Benoit Marty
4150ed5d7c
Merge pull request #5217 from element-hq/bma/customSplash
Custom logo on on boarding screen.
2025-08-25 18:01:37 +02:00
ElementBot
8654243674 Update screenshots 2025-08-25 13:03:13 +00:00
Benoit Marty
cbb55fe1ae Fix typo in annotation name. 2025-08-25 11:58:32 +02:00
ElementBot
27c242296e Update screenshots 2025-08-25 09:29:00 +00:00
Benoit Marty
1d7e7e19d9 Test previews with a11y details and add a first example with HomeViewA11yPreview. 2025-08-25 11:10:23 +02:00
ElementBot
a4dcdfd24c Update screenshots 2025-08-22 13:05:06 +00:00
Jorge Martin Espinosa
8245ad8bc3
Handle preference stores corruption by clearing them (#5086)
* Handle preference stores corruption by clearing them:
    - Use the centralised `PreferenceDataStoreFactory` instead of `preferences by`.
    - Add `DefaultPreferencesCorruptionHandlerFactory.replaceWithEmpty` to its `create(name)` method so all preference stores are cleared if they're corrupted.

* Add detekt rule to make sure we use `PreferenceDataStoreFactory` instead of `by preferencesDataStore`

* Remove `@SingleIn` annotations as the annotated class no longer have to be singletons
2025-08-22 06:59:06 +00:00
ElementBot
90c7c6c57d Update screenshots 2025-08-20 19:57:45 +00:00
Benoit Marty
f11a32a96f Fix test. 2025-08-20 17:51:58 +02:00
Jorge Martin Espinosa
9bc2c4a776
Add shortcut suggestions for rooms, remove then when leaving (#5180)
* Report shortcut usage for outgoing messages

This patch adds support for creating and pushing dynamic
long-lived shortcuts for outgoing messages. This together
with an existing reference to the roomId used by the
shortcuts as an identifer allows conversations to be
prioritized.

See https://developer.android.com/training/sharing/direct-share-targets#report-usage-outgoing

* Simplify how to get the other user in a DM room

* Add initial avatar icons to shortcuts

* Remove room shortcuts when they're no longer joined

* Try using API 33 for the new tests. They worked locally with API 30, so it's weird the CI asks for a higher API version.

* Add observers for the pin code and session logout states. With this we can prevent new shortcuts from being created and remove existing ones when needed.

* Wrap all calls to `ShortcutManagerCompat` with `runCatchingExceptions` to avoid crashes

* Make `DefaultNotificationConversationService` a singleton.

---------

Co-authored-by: networkException <git@nwex.de>
Co-authored-by: ElementBot <android@element.io>
2025-08-19 16:02:51 +02:00
Jorge Martin Espinosa
35928e3630
Threads - first iteration (#5165)
* Initial threads support: parse `ThreadSummary`.

Replace several `isThreaded` values with `EventThreadInfo`, which contains the info about the event either being the root of a thread or part of it.

* Add `Threaded` timeline mode

* Add a `liveTimeline` parameter to `TimelineController`'s  constructor. This way we can customise which timeline will be used as the 'live' one. Also add `@LiveTimeline` DI qualifier for the actual live timeline of the room.

* Create `ThreadedMessagesNode`. Allow opening a thread in a separate screen.

* Add the callbacks for the list menu actions - even if they're the wrong ones and will send the data to the room instead

* Send attachments and location in threads

* Fix polls in threads, add support for sending voice messages in threads

* Display thread summaries only when the feature flag is enabled

* Use 'Reply' instead of 'Reply in thread' when in threaded timeline mode

* Remove incorrect usage of `Timeline` in `MessageComposerPresenter`. This led to replies to threaded events not appearing as actual replies.

---------

Co-authored-by: ElementBot <android@element.io>
2025-08-19 13:35:48 +00:00
Benoit Marty
cc10ba41fd
Merge pull request #5185 from element-hq/feature/bma/invitePoepleUi
Iterate on invite people UI
2025-08-19 11:12:45 +02:00
ElementBot
a39dafe0a2 Update screenshots 2025-08-19 08:43:19 +00:00
ElementBot
79c38fbfb7 Update screenshots 2025-08-18 15:30:03 +00:00
Benoit Marty
9d8c573365 Allow preview function name to end with RtlPreview 2025-08-18 17:16:48 +02:00
renovate[bot]
90ad9616c0
Update dependency org.matrix.rustcomponents:sdk-android to v25.8.18 (#5182)
* Update dependency org.matrix.rustcomponents:sdk-android to v25.8.18

* Fix broken API changes:
- The send queue usage is now mandatory.
- The media upload progress now comes back in the send queue state (this still hasn't been applied to the UI in the timeline).

* Update screenshots
---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <android@element.io>
2025-08-18 16:41:14 +02:00
ElementBot
7c40c87d9a
Sync Strings from Localazy (#5178)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-08-18 11:09:27 +02:00
Benoit Marty
de16268674
Merge pull request #5166 from element-hq/feature/fga/create_room_flow_rework
Create room flow rework
2025-08-18 09:38:28 +02:00
ElementBot
58cc48c9cb Update screenshots 2025-08-14 15:09:26 +00:00
Benoit Marty
c6fb2c0c58
Merge pull request #5161 from element-hq/feature/bma/movePushHistory
Move push history entry point from notification settings to developer settings
2025-08-14 09:00:31 +02:00
ElementBot
27737fccb5 Update screenshots 2025-08-13 15:13:24 +00:00
Benoit Marty
58ce545d98
Merge pull request #5160 from element-hq/feature/bma/cleanupFeatureFlags
Remove old feature flags
2025-08-12 18:21:44 +02:00
ElementBot
17c4f38963 Update screenshots 2025-08-12 15:44:48 +00:00
ElementBot
e9b9ada13d Update screenshots 2025-08-12 15:02:25 +00:00
ElementBot
cfa5372e99 Update screenshots 2025-08-12 14:22:02 +00:00
Jorge Martin Espinosa
31a952c389
Hide the recovery key while we are entering it (#5147)
* Hide the recovery key while we are entering it (#5134)

This is the Element X Android part of
https://github.com/element-hq/element-meta/issues/2888

* Move the textfield contents being visible to the state so we can preview and test it

* Always use the password visual transformation for the recovery key field

* Update screenshots

---------

Co-authored-by: Andy Balaam <andy.balaam@matrix.org>
Co-authored-by: ElementBot <android@element.io>
2025-08-12 14:46:00 +02:00
ElementBot
42e8596ad7 Update screenshots 2025-08-12 08:11:44 +00:00