ganfra
c830d49924
Timeline: remove onStateUpdated in controller
2021-12-09 12:27:36 +01:00
ganfra
bf1be4f20d
Merge branch 'develop' into feature/fga/timeline_chunks_rework
2021-12-08 10:38:42 +01:00
ganfra
29a4fd1e41
Timeline: make 3 integration tests passing (also add some suspend method on the timeline)
2021-12-07 21:13:41 +01:00
Benoit Marty
7cf92ec17d
Merge pull request #4610 from vector-im/feature/adm/url-preview
...
Updating URL preview design
2021-12-07 17:35:50 +01:00
Adam Brown
7e6a5f944f
adding a consistent padding to allow message types to avoid touching the side gutter
2021-12-07 15:14:39 +00:00
Adam Brown
23bc867b95
removing manual send status spacing
...
- it's no longer needed as the send status is always present (but invisible)
2021-12-07 13:47:29 +00:00
Adam Brown
9ed72fd1eb
removing manual end alignment for voice messages as send status gutter is now always present
2021-12-07 12:58:46 +00:00
Adam Brown
3ff3507fa1
forcing the send spacing to always be taking into account
...
- ensures all message lengths are consistent
2021-12-07 11:33:57 +00:00
Adam Brown
5cfebb764c
capping the preview image url based on the height
...
- stops large screens eg tablets from attempting to fill the screen
2021-12-07 11:32:51 +00:00
Adam Brown
9094173b52
matching iOS max line rules for the preview description
2021-12-07 11:32:51 +00:00
Adam Brown
170f34639b
using themed colours for the close button
2021-12-07 11:32:51 +00:00
Adam Brown
f3f28f3989
limiting title to avoid overlapping with close icon
2021-12-07 11:32:51 +00:00
Adam Brown
0150d830d4
flattening preview url view layout with custom view to reduce view hierarchy
2021-12-07 11:32:50 +00:00
Adam Brown
952ceced05
updating url preview to match new designs
2021-12-07 11:32:32 +00:00
Benoit Marty
7a77ae49f1
More debouncing
2021-12-06 22:45:03 +01:00
Benoit Marty
5726c3fd21
I need the view here
2021-12-06 22:32:24 +01:00
Benoit Marty
1f8073cbbf
clicks() already has debouncing with conflate(), so throttleFirst is not necessary
2021-12-06 22:15:34 +01:00
Benoit Marty
d13c252658
Use debouncedClicks where applicable
2021-12-06 22:11:56 +01:00
Benoit Marty
8421d46cd7
Use observeViewEvents
facility
2021-12-06 21:53:34 +01:00
Benoit Marty
099d0ca564
private
2021-12-06 21:50:33 +01:00
ganfra
49eee0dc38
Merge branch 'develop' into feature/fga/timeline_chunks_rework
2021-12-03 18:39:18 +01:00
ganfra
3217277bc4
Timeline: check for create event to hide loader
2021-12-03 18:39:04 +01:00
Benoit Marty
1f58913b53
Merge pull request #4626 from vector-im/feature/adm/feature-flags
...
Feature flags base
2021-12-03 17:38:25 +01:00
Benoit Marty
e60d053f84
Merge pull request #4568 from vector-im/feature/fga/fix_sdk_integration_tests
...
Feature/fga/fix sdk integration tests
2021-12-03 17:11:33 +01:00
Adam Brown
db406704c9
removing boolean notification version usage
2021-12-03 15:58:18 +00:00
Adam Brown
6a3d4044ef
removing unused imports and increasing enum allowance
2021-12-03 15:30:55 +00:00
Adam Brown
11669fa2ac
porting the notifications setting version to the vector features
2021-12-03 15:26:43 +00:00
Adam Brown
8007654e2a
setting login version via typed build config field instead of resources
2021-12-03 15:11:31 +00:00
Adam Brown
54c45d3e71
separating the SSO redirection from the login activities
...
- adds a dedicated routing activity to proxy the uri to the login selected by the feature flags
2021-12-03 14:51:20 +00:00
Adam Brown
9e367a8535
providing a features abstraction for the login
...
- aims to have a centralised place for all feature login, overrideable by forks and debug flavours
2021-12-03 12:16:43 +00:00
Adam Brown
a2a89c1ee8
moving the soft logout activity starting to the navigator
2021-12-03 11:58:13 +00:00
ganfra
8ca60eadbb
Merge branch 'develop' into feature/fga/timeline_chunks_rework
2021-12-03 12:55:57 +01:00
ganfra
7fa4bf182a
Timeline: get off main thread when waiting for positionOrReadMarker
2021-12-03 12:15:04 +01:00
ganfra
014da84ba6
Timeline: try to optimise a bit the loading
2021-12-03 12:14:35 +01:00
ganfra
03961fe933
Timeline: update when loading states changed
2021-12-02 20:42:29 +01:00
Benoit Marty
3644e5d755
Merge pull request #4611 from vector-im/feature/bma/devx_view_ids
...
Devx view ids
2021-12-02 19:48:35 +01:00
Adam Brown
c0c959e460
avoiding duplicate long press events when long pressing urls in messages
...
- infers a urls has been click by the presence of a selection
2021-12-02 14:38:38 +00:00
Benoit Marty
6cb8a2458f
Remove extra new lines in XML
2021-12-01 23:06:49 +01:00
Benoit Marty
d42473becb
More cleanup, remove useless attribute "orientation"
2021-12-01 22:58:21 +01:00
Benoit Marty
696c537f96
All the cleanup and rework end up by fixing some mistakes :)
2021-12-01 22:49:16 +01:00
Benoit Marty
6624039413
Use @id
and not @+id
when referencing ids in layouts - RelativeLayout and toolbarId
2021-12-01 22:44:07 +01:00
Benoit Marty
c84642aa33
Use @id
and not @+id
when referencing ids in xml
2021-12-01 22:27:57 +01:00
Benoit Marty
e106ff8de0
Use @id
and not @+id
when referencing ids in layouts - ConstraintLayout
2021-12-01 22:19:33 +01:00
Benoit Marty
2d17156861
Use @id
and not @+id
when referencing ids in layouts - accessibilityTraversal
2021-12-01 22:16:28 +01:00
Benoit Marty
6d3df0d802
Use @id
and not @+id
when referencing ids in layouts - ConstraintLayout
2021-12-01 22:13:21 +01:00
Benoit Marty
fa256cca25
Merge pull request #4603 from vector-im/feature/aris/remove_not_needed_job_cancel_4602
...
There is no need to call job.cancel() when we are using viewModelScope()
2021-12-01 18:24:06 +01:00
ariskotsomitopoulos
578a012f93
Remove unused onCleared() from viewModels
2021-12-01 16:04:56 +00:00
Benoit Marty
9253a3664b
Merge pull request #4607 from vector-im/feature/bma/cursor_crash
...
Add robustness when getting data from cursors.
2021-12-01 16:48:50 +01:00
Adam Brown
81ee141330
only converting the voice messages when we're sending them
...
- stops us from eagerly converting to .ogg on android L and below devices whilst the draft phase/playback phase is ongoing, fixes unexpected .ogg when playing drafts
2021-12-01 15:18:24 +00:00
Benoit Marty
84f7eb29e0
Add robustness when getting data from cursors.
...
Use androidx.core.database extension for better nullability check, and ignore uncomplete data.
2021-12-01 16:09:12 +01:00