Commit graph

1503 commits

Author SHA1 Message Date
Onuray Sahin
824e713c51 Add mapview to the layout. 2021-12-15 13:57:43 +03:00
Onuray Sahin
bf48617fc6 Create base UI components of location sharing screen. 2021-12-15 00:13:52 +03:00
ariskotsomitopoulos
cd95fc41e4 Merge branch 'develop' into feature/aris/threads
# Conflicts:
#	library/ui-styles/src/main/res/values/dimens.xml
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/events/model/RelationType.kt
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/RealmSessionStoreMigration.kt
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/model/EventEntity.kt
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/send/LocalEchoEventFactory.kt
#	vector/src/main/java/im/vector/app/core/di/FragmentModule.kt
#	vector/src/main/java/im/vector/app/core/di/ScreenComponent.kt
#	vector/src/main/java/im/vector/app/features/command/Command.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailActivity.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailViewModel.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/TimelineFragment.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerViewEvents.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerViewModel.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerViewState.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/action/MessageActionsViewModel.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/factory/MessageItemFactory.kt
#	vector/src/main/java/im/vector/app/features/navigation/DefaultNavigator.kt
#	vector/src/main/java/im/vector/app/features/navigation/Navigator.kt
#	vector/src/main/java/im/vector/app/features/notifications/NotificationUtils.kt
#	vector/src/main/java/im/vector/app/features/permalink/PermalinkHandler.kt
#	vector/src/main/res/layout/fragment_room_detail.xml
2021-12-14 20:18:54 +02:00
Onuray Sahin
03a4194047 Add location attachment icon with required permissions. 2021-12-14 14:44:09 +03:00
Benoit Marty
f4cfb5d6d3
Merge pull request #4559 from vector-im/feature/bma/posthog
Analytics
2021-12-14 09:31:55 +01:00
Benoit Marty
a40e60ba8f Merge branch 'develop' into feature/bma/posthog 2021-12-13 23:18:14 +01:00
Benoit Marty
e519e314fe Limit width of content on tablets 2021-12-13 23:16:47 +01:00
Onuray Sahin
f028f9836b Merge branch 'develop' into feature/ons/poll_timeline
* develop: (49 commits)
  Update changelog.d/4592.bugfix
  Remove jcenter from here, let's see what the CI will say
  Common struct for each maven repo
  Rename the file to group them
  Add changelog file
  Revert PR 4592 for devtools
  Enhance include groups implementation by decoupling them to a separate file
  Cleanup
  Legals: improve API to get homeserver terms
  Legals: update setting icon
  Auto-review
  Add a help section in the settings.
  Changelog
  Color for links
  Use same height than the loading item to avoid dynamic resizing
  Legals: only display external URLs.
  Legals: Move the 2 copyrights items to the new legal screen
  Add some space between the 2 TextViews, and improve the layout
  Legals: Move the 3 element links to the new legal screen
  Rename some classes
  ...

# Conflicts:
#	vector/src/main/res/layout/item_timeline_event_option_buttons_stub.xml
#	vector/src/main/res/layout/item_timeline_event_poll_stub.xml
2021-12-13 17:44:21 +03:00
Onuray Sahin
c7ad50a4d6 Code and design review fixes. 2021-12-13 17:07:17 +03:00
Benoit Marty
ba8121641f
Merge branch 'develop' into feature/bma/avoid_useless_codegen 2021-12-10 16:09:47 +01:00
Onuray Sahin
9b2a3cf445 Code review fixes. 2021-12-10 17:57:57 +03:00
Benoit Marty
287587f356 Color for links 2021-12-10 15:35:46 +01:00
Benoit Marty
50a84a6c56 Use same height than the loading item to avoid dynamic resizing 2021-12-10 15:35:46 +01:00
Benoit Marty
a8c921ef03 Add some space between the 2 TextViews, and improve the layout 2021-12-10 15:34:25 +01:00
Onuray Sahin
d5f8931e20 Support to show hidden poll events as formatted. 2021-12-09 15:54:37 +03:00
Onuray Sahin
b2e599ea2b Merge branch 'develop' into feature/ons/poll_timeline
* develop: (21 commits)
  Remove automation for new Delight board
  Remove automation for old Delight board
  Bump gradle from 7.0.3 to 7.0.4
  Bump realm-gradle-plugin from 10.8.1 to 10.9.0
  Bump libphonenumber from 8.12.38 to 8.12.39
  Bump mavericks from 2.4.0 to 2.5.0
  removing no longer possible branches
  adding a consistent padding to allow message types to avoid touching the side gutter
  Upgrade OLM to v3.2.7 and get it from our maven repository.
  removing manual send status spacing - it's no longer needed as the send status is always present (but invisible)
  removing manual end alignment for voice messages as send status gutter is now always present
  forcing the send spacing to always be taking into account - ensures all message lengths are consistent
  capping the preview image url based on the height - stops large screens eg tablets from attempting to fill the screen
  matching iOS max line rules for the preview description
  using themed colours for the close button
  limiting title to avoid overlapping with close icon
  flattening preview url view layout with custom view to reduce view hierarchy
  adding changelog entry
  updating url preview to match new designs
  removing now longer needed Mode argument
  ...

# Conflicts:
#	vector/src/main/res/layout/item_timeline_event_base.xml
2021-12-09 15:38:15 +03:00
Onuray Sahin
04a7590804 Code review fixes. 2021-12-09 15:09:12 +03:00
Benoit Marty
f187c30d79 OptIn layout: Create a master flow 2021-12-08 11:44:27 +01:00
Benoit Marty
a38747da22 OptIn layout: Create Flow for the buttons 2021-12-08 11:31:49 +01:00
Benoit Marty
36ff0e6e78 OptIn layout: Improve the 3 points block. Center on big screens 2021-12-08 11:30:50 +01:00
Benoit Marty
bb959b6b1e Use viewBindingIgnore="true" when we do not need the ViewBinding. 2021-12-07 17:32:52 +01:00
Onuray Sahin
953fadeed4 Merge branch 'develop' into feature/ons/poll_timeline
* develop: (319 commits)
  Bump dagger from 2.40.4 to 2.40.5
  More debouncing
  Changelog
  I need the view here
  clicks() already has debouncing with conflate(), so throttleFirst is not necessary
  Use debouncedClicks where applicable
  Use `observeViewEvents` facility
  private
  use != rather that is
  Fix waring for state is not dialing or connected
  state can also be connected
  Add script to compress video and convert to gif file
  removing boolean notification version usage
  adding changelog entry
  removing unused imports and increasing enum allowance
  porting the notifications setting version to the vector features
  Add warning if unexpected state.
  setting login version via typed build config field instead of resources
  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
  Removing trailing space
  ...

# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailAction.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/format/DisplayableEventFormatter.kt
#	vector/src/main/res/layout/item_timeline_event_option_buttons_stub.xml
#	vector/src/main/res/xml/vector_settings_labs.xml
2021-12-07 18:50:52 +03: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
Benoit Marty
673cbb29de Merge branch 'develop' into feature/bma/posthog 2021-12-07 14:26:31 +01:00
Onuray Sahin
566f6332bc Set max length for poll options. 2021-12-07 14:43:27 +03: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
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
Onuray Sahin
1df6b33981 Add labs flag for polls. 2021-12-07 11:53:52 +03:00
Benoit Marty
74e573ecdc Analytics: small fixes 2021-12-06 18:19:05 +01:00
Benoit Marty
d804d1b6c5 Analytics: small issue 2021-12-06 12:55:08 +01:00
Benoit Marty
8c794b1059 Analytics: Opt-in screen logic + remove from SplashScreen 2021-12-06 11:13:49 +01:00
ariskotsomitopoulos
c40a686cff Implement LOCAL thread notifications that work only on real time. 2021-12-03 18:15:25 +00:00
ariskotsomitopoulos
d1bb96cec0 Threads notification badge UI 2021-12-03 11:30:30 +00:00
Onuray Sahin
32e8a7e886 Remove legacy poll ui. 2021-12-03 11:40:12 +03:00
Onuray Sahin
06485cf5e4 Implement poll in timeline ui. 2021-12-03 11:39:41 +03:00
Benoit Marty
73f5d77b05 Analytics: Opt-in screen layout - WIP 2021-12-02 15:56:54 +01:00
Benoit Marty
8608230fa0 Analytics: add config to build.gradle 2021-12-02 14:10:03 +01:00
Benoit Marty
5606a5bfe7 Analytics: ask user consent at startup (we may iterate later) 2021-12-02 14:10:03 +01: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
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
ariskotsomitopoulos
c4967a2871 Handle chunks merging with thread summary
Add animation to fragment transition with offset for recyclerview initialization
Support threads on deleted events
2021-11-25 17:59:28 +02:00
ariskotsomitopoulos
afc69c77bd Add local filtering in thread list 2021-11-24 18:23:33 +02:00
ariskotsomitopoulos
e2bf3e7097 Add navigation to thread from the thread list
Add thread creation from photos, files, images, audios, replies etc
Add slide animation to view threads from thread list
Add click listener on room summary to handle cases like ( there is an image and the user upon click should view the image instead of navigating to the thread, so he can click the thread summary )
2021-11-23 22:22:58 +02:00
ariskotsomitopoulos
5e5ce614ef Add date in view all threads
UI Improvements on threads summary
Add View In Room bottom sheet action from within thread timeline root message
2021-11-23 17:09:58 +02:00
ariskotsomitopoulos
722f367690 View all threads screen implementation & UI
Add user friendly message thread summary on the SDK side
Fix not encrypted rooms thread summaries
2021-11-23 13:34:24 +02:00
Benoit Marty
97a44a5632
Merge pull request #4523 from vector-im/feature/adm/voice-composer
Moving voice logic to the MessageComposer
2021-11-22 15:01:40 +01:00
ariskotsomitopoulos
586b3d8caa - Add specific toolbar for threads
- Renamed RoomDetailFragment to TimelineFragment while it should be reused from threads
 - View root thread message in room functionality
2021-11-22 14:02:17 +02:00
Benoit Marty
4af2780ad9 Password hidden by default 2021-11-19 17:31:04 +01:00
Adam Brown
f140dbc0a0 update text composer classes to message composer (as they include voice not just text) 2021-11-19 15:03:01 +00:00
Benoit Marty
35f9bef94a
Merge pull request #4515 from vector-im/feature/adm/voice-state
Voice recording UI state in ViewModel
2021-11-19 15:59:17 +01:00
Benoit Marty
5e99972d95 Remove dead code 2021-11-18 16:01:01 +01:00
Adam Brown
be685bc56a aligning the locked recording view to the send message button without the margin, fixes the layout jumping when the mic button switches to a send 2021-11-18 14:59:06 +00:00
Adam Brown
9ae03b76cd allows locking and cancelling to occur after choosing either option
- fixes other quirks caused by porting to the inverted display logic
2021-11-18 14:15:55 +00:00
Adam Brown
f0ef9e9706 inverting and splitting the voice message view into logic and views
- creates a display entry point which will be called externally
2021-11-18 14:15:55 +00:00
ariskotsomitopoulos
8c539426e6 - Thread Summary along with optimization
- Create new thread & reply to thread
2021-11-15 19:17:13 +02:00
Benoit Marty
6f13fb1634 Create file for Toast style (more generic)
And improve fragment_create_poll.xml preview rendering
2021-11-15 14:23:32 +01:00
Benoit Marty
223b33fa65 Create CallToAction button style 2021-11-15 14:16:22 +01:00
Benoit Marty
2aab94acb4 Create dedicated file for TextInputLayout styles
And follow naming convention
2021-11-15 14:11:15 +01:00
Onuray Sahin
299d81fd18 Lint fix. 2021-11-15 14:41:22 +03:00
Onuray Sahin
a6c88b74a4 Hide poll icon from attachment type selector for now. 2021-11-11 13:42:04 +03:00
ariskotsomitopoulos
ecc9b59ad1 Reply In Thread, create a new thread timeline 2021-11-08 20:46:37 +02:00
Onuray Sahin
a10253c003 Design review fixes. 2021-11-08 17:26:01 +03:00
ariskotsomitopoulos
cb0fefa74d Add changelog file 2021-11-04 09:33:32 +02:00
Benoit Marty
b8ca520552
Make the poll option visible so that it can be tested from the PR 2021-11-02 16:34:44 +01:00
Onuray Sahin
40aa0175d0 Code review fixes. 2021-10-29 16:54:54 +03:00
Onuray Sahin
db820efc3a Fix UI issues. 2021-10-28 15:43:51 +03:00
Onuray Sahin
6cee266a95 Create poll UI implementation. 2021-10-27 13:10:01 +03:00
Onuray Sahin
cb1d5e888d Create poll fragment with a title. 2021-10-25 20:14:10 +03:00
Onuray Sahin
3e03db200c Add poll icon to attachment type selector. 2021-10-25 14:47:57 +03:00
ariskotsomitopoulos
a2a2315f9c Make room thread detail text composer visible 2021-10-21 16:53:20 +03:00
ariskotsomitopoulos
ab87937e5b Threads init commit 2021-10-20 18:39:59 +03:00
Benoit Marty
085da6c99a
Merge pull request #4090 from vector-im/feature/aris/presence
Feature/aris/presence
2021-10-13 09:58:22 +02:00
Benoit Marty
6c915ea4d1 Cleanup the PR about presence 2021-10-12 16:45:41 +02:00
Benoit Marty
923bc00dcd
Merge branch 'develop' into feature/aris/presence 2021-10-12 15:22:40 +02:00
koh6uawi
c9f69b3fc5 Move XML namespaces to root element 2021-10-12 15:12:26 +02:00
koh6uawi
da28ddfabd Use "wrap_content" instead of "match_parent"
Fix a linter error
2021-10-12 15:10:33 +02:00
koh6uawi
1069e990e5
Merge branch 'vector-im:develop' into scroll_select_font_size 2021-10-11 00:19:46 +02:00
Benoit Marty
66d4a48930 Remove unused strings 2021-10-08 15:07:52 +02:00
koh6uawi
56b0b28d5e Make "Select text size" dialog scrollable
Wrap the LinearLayout inside a ScrollView.
2021-10-08 01:59:13 +02:00
Adam Brown
5365e87777 reducing the discovery policy url text size by using caption style 2021-10-07 17:56:54 +01:00
Adam Brown
cb7260954a renaming xml view to avoid clashing with other file 2021-10-07 17:46:33 +01:00
Adam Brown
7e8ca29ca7 creating dedicated discovery policy items and displaying within an expandable form item 2021-10-07 10:09:03 +01:00
ariskotsomitopoulos
e4c3457f37 Add public room indicator to RoomDetailFragment & RoomProfileFragment 2021-10-06 19:08:27 +03:00
ariskotsomitopoulos
9ab59a543d * Implement Presence Service:
- Get Presence Status
     - Set Presence Status
* Integrate presence in room details screen
* Integrate presence in room people's view
* Update UI to support presence
* Fix bug when insertOrUpdate was called on RoomMemberEventHandler and override the correct presence value in RoomMemberSummaryEntity
* Improve performance on updateUserPresence in RoomMemberSummaryEntity entity
* Remarks & linter fixes
* Disable presence when there is no m.presence events. In some servers like matrix.org is disabled atm.
* Enhance UI Presence on DM room lists to support dark/light theme
* Restore missing lines in gradle.properties to speed up debugging
2021-10-06 18:00:02 +03:00
Adam Brown
e0a6e82661
Merge pull request #4124 from vector-im/feature/bca/spaces_fix_3048
Change call to action in filter room when space selected
2021-10-04 09:12:19 +01:00
Benoit Marty
f6b6725467 Text is always set at runtime now. 2021-10-04 09:44:53 +02:00
Benoit Marty
b1b5ff8a09
Merge pull request #3772 from pvagner/voiceMessageA11Y
Improve accessibility of voice messages
2021-10-03 15:45:09 +02:00
ganfra
3df004b035 Merge branch 'develop' into feature/fga/text_composer_extract 2021-09-30 12:02:27 +02:00
Valere
4880df3555 Change call to action in filter room when space selected 2021-09-30 11:58:21 +02:00
ganfra
6b3a407b79 TextComposer: continue reworking. WIP 2021-09-29 19:21:11 +02:00
Benoit Marty
a9525bf92c
Merge pull request #4118 from vector-im/feature/bca/spaces_fix_3935
Fix do not hide toolbar on scroll
2021-09-29 16:35:56 +02:00
Valere
3d38ec7aeb Fix do no hide toolbar on scroll 2021-09-29 15:09:59 +02:00
Benoit Marty
254e849db2
Merge pull request #4105 from vector-im/feature/ons/fix_failed_message_crash
Fix crash to render failed message warning stub
2021-09-29 11:54:35 +02:00
Onuray Sahin
e4d39880fd Fix crash to render failed message warning stub. 2021-09-28 20:43:54 +03:00
Adam Brown
0eef248d7d tinting the jump to unread view to the colorPrimary
- the vector itself is set to an obvious red to highlight an incorrect usage (we should tint at the consumer to allow for reuse/preparing for design components/compose)
2021-09-28 11:33:46 +01:00
Benoit Marty
045e4bbf76
Merge pull request #4052 from vector-im/feature/adm/email_notification_toggle
Add email notification toggle
2021-09-24 20:42:44 +02:00
Valere
0acf90d8cd Code review 2021-09-24 18:12:12 +02:00
Valere
d59aaa7611 Support entering mail in user invite screen 2021-09-24 18:12:12 +02:00
Benoit Marty
9c559a7c2c
Merge pull request #4065 from vector-im/feature/fga/improve_room_detail_start
Feature/fga/improve room detail start
2021-09-23 19:35:28 +02:00
Adam Brown
43eff8b85b reusing existing remove string 2021-09-23 13:05:18 +01:00
Benoit Marty
93506d18fa Display push counter on debug mode 2021-09-23 13:54:03 +02:00
Benoit Marty
f5151463e2 Add the number of rooms and toDevice events in the debug data 2021-09-23 13:54:03 +02:00
Benoit Marty
63a84dcb8a Add incremental sync status to the room list and the room detail (only in developer mode) 2021-09-23 13:54:03 +02:00
ganfra
ebd5095662 Room detail: use ViewStub for FailedMessagesWarningView 2021-09-22 18:00:56 +02:00
ganfra
5bf1761f27 Room detail: use StubView for InviteView 2021-09-21 18:31:17 +02:00
Adam Brown
1591375aa2 adding ability to remove push targets from the notification target screen 2021-09-20 16:35:53 +01:00
Benoit Marty
b5f7351564
Merge pull request #4008 from vector-im/feature/fga/small_timeline_optimisation
Feature/fga/small timeline optimisation
2021-09-17 18:06:58 +02:00
Valere
d2af7e3f91 Code review 2021-09-17 14:26:25 +02:00
Valere
f79681b343 Clean unneeded beta pills 2021-09-17 09:22:10 +02:00
Valere
932a43ef58 Add subspace action 2021-09-17 09:22:10 +02:00
Valere
cfed0f839b Code review 2021-09-16 09:20:25 +02:00
Valere
9a9a3d8cc6 Cherry pick room on leave space 2021-09-16 09:20:25 +02:00
Valere
8fd784e275 Improve leave space (all + none) 2021-09-16 09:20:25 +02:00
Benoit Marty
3575157f1c
Merge pull request #3976 from vector-im/feature/bca/space_team_invite_mail
Add invite by email screen in create space flow
2021-09-14 20:18:35 +02:00
ganfra
2144bb9d49 Timeline: remove reaction animation views for now 2021-09-09 18:30:45 +02:00
ganfra
3119de42fb Fix memory leak on RoomDetailFragment 2021-09-08 16:47:53 +02:00
Valere
99123bf0cc Add invite by email screen in create space flow 2021-09-07 14:10:57 +02:00
Benoit Marty
dbd11c2e8d Remove the useless merge tag
It was causing crash with `Missing required view with ID: im.vector.app.debug:id/waiting_view`, probably due to a recent change in AGP 7.X.X
2021-09-03 16:21:55 +02:00
Benoit Marty
5b2478a34f
Merge pull request #3894 from vector-im/feature/dla/keyword_notification_settings
Feature/dla/keyword notification settings
2021-08-27 18:19:17 +02:00
Valere
e8d01becfe Code review 2021-08-27 15:56:07 +02:00
Valere
de6b5af6ba Promote restricted join rule to admins 2021-08-27 15:56:07 +02:00
David Langley
9d663413a9 Don't auto focus and only scroll to preference when focused. 2021-08-27 13:16:19 +01:00
David Langley
1127a05a3e Enable keywords by default if none exist. Add "Add" Button. 2021-08-27 11:40:15 +01:00
ganfra
fd25813862 Merge branch 'develop' into feature/fga/new_voip_design 2021-08-26 15:15:16 +02:00
David Langley
daaa40b27a Merge branch 'develop' of github.com:vector-im/element-android into feature/dla/keyword_notification_settings 2021-08-25 17:41:37 +01:00
Benoit Marty
f843712d7e
Merge pull request #3825 from vector-im/feature/dla/room_notification_settings
Room Notification Settings V2
2021-08-25 15:20:43 +02:00
David Langley
fb8c7f6be0 lint 2021-08-24 19:08:27 +01:00
David Langley
238f772461 Merge branch 'develop' of github.com:vector-im/element-android into feature/dla/keyword_notification_settings 2021-08-24 15:51:23 +01:00
David Langley
be19f759f6 fix ordering of chips and align left for notification screens. 2021-08-24 15:46:41 +01:00
ganfra
42bfa129b3 Merge branch 'develop' into feature/fga/new_voip_design 2021-08-24 16:21:35 +02:00
ganfra
2b708387c2 New voip design: makes lint happy 2021-08-24 16:19:54 +02:00
David Langley
fe800a56e2 Address comments. 2021-08-24 12:12:39 +01:00
Benoit Marty
18936122a8
Merge pull request #3773 from pvagner/a11yAvatarVerbosity
a11y: change some content descriptions
2021-08-23 12:15:43 +02:00
ganfra
121f17b93f Call: Clean code 2021-08-18 17:33:48 +02:00
ganfra
3b1249c489 Merge branch 'develop' into feature/fga/new_voip_design 2021-08-17 17:10:10 +02:00
Peter Vágner
a05859b54c Merge branch 'develop' into voiceMessageA11Y 2021-08-16 13:17:22 +02:00
ganfra
0d56707fd3 Timeline call tiles: refact grouping events and fix some issues 2021-08-12 11:10:00 +02:00
David Langley
a355f61a7e Merge branch 'develop' of github.com:vector-im/element-android into feature/dla/room_notification_settings 2021-08-11 12:21:34 +01:00
ganfra
bcc9a75bdb Merge branch 'develop' into feature/fga/new_voip_design 2021-08-11 12:37:54 +02:00
ganfra
9027e94cfe Timeline call tiles: start changing status handling 2021-08-11 12:09:59 +02:00
David Langley
7f3c4f0073 Merge branch 'develop' of github.com:vector-im/element-android into feature/dla/reorg_account_notification_settings 2021-08-10 10:54:22 +01:00
David Langley
8d7e3b6544 add keyword checkbox preference and chip/edit text for modificying keywords 2021-08-03 09:52:36 +01:00
Peter Vágner
395fc47777 Ooops, forgotten one occurence
Signed-off-by: Peter Vágner <pvdeejay@gmail.com>
2021-08-01 22:28:30 +02:00
Peter Vágner
ed6498fce1 a11y: change some content descriptions
A lot of items e.g. member items, room items, space items as well as dialog top bar are prefixed with the word avatar. Remove this and make some accessibility specific strings shorter.

Signed-off-by: Peter Vágner <pvdeejay@gmail.com>
2021-08-01 22:03:59 +02:00
Peter Vágner
8c590b50e3 Improve accessibility of voice messages
Signed-off-by: Peter Vágner <pvdeejay@gmail.com>
2021-08-01 14:51:00 +02:00
Valere
efdaa49e70 Code review 2021-07-30 18:44:25 +02:00
Valere
5adceaca23 Code quality 2021-07-30 18:44:14 +02:00
Valere
3da20aea29 Cleaning 2021-07-30 18:43:34 +02:00
Valere
6c2a917d9f WIP 2021-07-30 18:43:34 +02:00
Onuray Sahin
c6bd6e4961
Merge pull request #3598 from vector-im/feature/ons/voice_message
Voice Message
2021-07-30 17:24:17 +03:00
Onuray Sahin
1aa706dee5 Lint fixes. 2021-07-30 15:25:02 +03:00
Onuray Sahin
cdd2fca258 Design review fixes. 2021-07-29 18:41:29 +03:00
David Langley
7091de9942 merge in static push definitions and adapt push v2 ui/logic 2021-07-27 19:54:17 +01:00
ganfra
e259b44449 Jitsi conf: show join button 2021-07-27 16:41:23 +02:00
David Langley
42a1ed2abe remove unneeded layout file 2021-07-23 23:22:06 +01:00
David Langley
90e04d4358 add header footer and fix toolbar 2021-07-23 22:37:36 +01:00
David Langley
df7e6bd00d add radioItem, RoomNotificationSettingsController and render it in fragment 2021-07-23 14:16:32 +01:00
ganfra
4788630949 Merge branch 'develop' into feature/fga/new_voip_design 2021-07-23 12:17:05 +02:00
David Langley
9811d6fefc add viewmodel, business logic, events, state, fragment and layout 2021-07-20 01:31:13 +01:00
Benoit Marty
6caa2b9ae0 Fix issue with RTL
Still a pb when Mic is on, margins are not correct
2021-07-16 17:12:08 +02:00
Paulo Pinto
5d4e71a011 Standardise casing of integration manager
Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
2021-07-15 15:58:50 +01:00
Paulo Pinto
e61c8c28bb Standardise spelling and casing of homeserver
Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
2021-07-15 15:58:50 +01:00
David Langley
baab726df2 Merge branch 'develop' of github.com:vector-im/element-android into feature/dla/reorg_account_notification_settings 2021-07-14 10:18:54 +01:00
David Langley
a3204fdad9 add resValue to enable feature, put back old code 2021-07-13 21:22:56 +01:00
Benoit Marty
276808c8e9 Fix issue in RTL 2021-07-13 20:09:23 +02:00
ganfra
a102fc4ec3 WebRTC call: draggable views should be sticky 2021-07-13 19:37:53 +02:00
ganfra
0da8a46311 WebRTC call: fix pip showing 2021-07-13 19:03:21 +02:00
Benoit Marty
95bb796bad Fix color 2021-07-13 17:19:11 +02:00
Benoit Marty
f40e6b56fe Fix other color issue 2021-07-13 16:21:38 +02:00
Benoit Marty
9e0f3a1517 Fix other color issue 2021-07-13 16:17:22 +02:00
Benoit Marty
cf4e603f09 Fix background color of voice message recorder 2021-07-13 16:14:02 +02:00
Benoit Marty
14dbbee1e3 Fix background color of voice message item 2021-07-13 16:10:51 +02:00
Benoit Marty
4c5be39f46 Fix background color of Play/Pause button 2021-07-13 16:08:54 +02:00
Benoit Marty
9df874c975 Merge branch 'develop' into feature/ons/voice_message 2021-07-13 10:36:05 +02:00
ganfra
d973cd7848 Webrtc call: get back on green banner 2021-07-12 18:00:50 +02:00
SpiritCroc
9aa37dfbe9 Fix top row of emoji reaction picker on small displays
Emojis were not showing if not enough space, so allow scrolling there.
2021-07-12 17:56:58 +02:00
langleyd
d6f1f276c2 Add checkbox preference, remove PushRulePreference, Split adavanced fragment to new 3 new fragments and inherit common function 2021-07-12 14:07:27 +01:00
Benoit Marty
8b852a2ab2 Fix glitch when opening a room invite
Composer and mic was shown for a few milliseconds
Also hide the mic if the uer cannot send event, or if the room has been tombstoned.
2021-07-12 13:55:44 +02:00
Benoit Marty
e49290b8ac Fix mic visible for invite room mode.
We can still view the mic when the screen is resumed, to be improved.
2021-07-12 13:40:59 +02:00
Benoit Marty
c5b8755bab Trick for a better alignment of voice message in the timeline. 2021-07-09 23:16:43 +02:00
Benoit Marty
e391a1371c Merge branch 'develop' into feature/ons/voice_message 2021-07-09 22:19:50 +02:00
Benoit Marty
2c1335a2f5 Theme for Toast 2021-07-09 21:06:13 +02:00
Benoit Marty
a2671bc0d3 Fix touchable area to delete the voice message 2021-07-09 18:26:58 +02:00
ganfra
74915c1e9e Jitsi: add Jitsi call alert (not branched) 2021-07-09 18:23:52 +02:00
Benoit Marty
2792d736f0 Apply missing tint 2021-07-09 18:22:52 +02:00
Benoit Marty
9dea519d0c Fix issue with play / pause button alignment 2021-07-09 18:05:41 +02:00
Benoit Marty
7a1c6b78d4 Move the style to the layout, for code clarity. Style are not reused, and it's better to have layout attr in the layout itself 2021-07-09 17:49:27 +02:00
Benoit Marty
b400f3c83f Small cleanup 2021-07-09 16:31:26 +02:00
ganfra
8e2a1d3bcd Jitsi call: implement RemoveJitsiWidgetView 2021-07-09 13:23:07 +02:00
Onuray Sahin
a9beded589 Lint fix. 2021-07-07 11:54:23 +03:00
Onuray Sahin
7a1b138894 Merge branch 'develop' into feature/ons/voice_message
* develop: (286 commits)
  Fix crash after video call
  Fix issue on button styles
  Clean after benoits review
  Fix warning about implicit type, introduced in Kotlin 1.5.20. "Returning type parameter has been inferred to Nothing implicitly. Please specify type arguments explicitly to hide this warning. Nothing can produce an exception at runtime."
  Bump kotlin_version from 1.5.10 to 1.5.20
  Bump libphonenumber from 8.12.25 to 8.12.26
  Fix call invite processed after call is ended because of fastlane mode.
  Jump to unread: removes unnecessary check which can cause scroll issue
  Jump to unread: avoid blink when jumping
  Clean after Benoits review
  Delete unused drawable to avoid conflict on develop
  Jump to unread: add towncrier file.
  Read marker: fix some issues with jump to unread visibility.
  Stop using ProgressDialog, there is a theme issue with it. It's not maintain by Google since it's deprecated. Force usage of MaterialAlertDialogBuilder to have the same UI effect. We sometimes need to block the UI :/
  Reordering
  Add text style for dialogs
  Colored dialog button is now handled by the theme
  Update theme for material dialog and create a destructive variant
  Reorder buttons
  Update doc
  ...

# Conflicts:
#	library/ui-styles/src/main/res/values/theme_dark.xml
#	library/ui-styles/src/main/res/values/theme_light.xml
#	vector/build.gradle
#	vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailFragment.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailViewModel.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/composer/TextComposerView.kt
#	vector/src/main/res/values/strings.xml
2021-07-06 13:17:49 +03:00
ganfra
f74a71001a Change active call bar + some minor changes in call screen 2021-07-01 20:05:58 +02:00
Benoit Marty
ed7be13ea3 PR review part 2 2021-07-01 12:51:33 +02:00
Onuray Sahin
5676226f42 Voice message recording view implementations. 2021-07-01 10:47:41 +03:00
Benoit Marty
ec515ced66 PR review part 1 2021-06-30 18:54:13 +02:00
ganfra
7c033b4090 Call UI: add toolbar 2021-06-30 18:08:44 +02:00
Benoit Marty
3e53fa710a
Merge branch 'develop' into feature/bca/room_upgrade 2021-06-30 17:56:32 +02:00
ganfra
e888f2b15a Call controls: move choose sound device out of overflow menu 2021-06-29 11:09:18 +02:00
Benoit Marty
edd24de4c3
Merge pull request #3547 from vector-im/feature/fga/jump_to_unread_redesign
Jump to unread: implement new design
2021-06-28 16:45:06 +02:00
Valere
4aa93d79fe cleaning 2021-06-28 09:42:54 +02:00
ganfra
1ba97fa9be Clean after Benoits review 2021-06-24 17:40:45 +02:00
Benoit Marty
f5ecaa0339
Merge pull request #3520 from vector-im/feature/fga/timeline_virtual_room
Feature/fga/timeline virtual room
2021-06-24 14:43:00 +02:00
Benoit Marty
7257736691
Merge pull request #3545 from vector-im/feature/bma/password_reveal
Password reveal
2021-06-24 14:30:34 +02:00
Valere
43a1e283c5
Merge pull request #3514 from vector-im/feature/bca/fix_join_errors
Add error feedback when joining space rooms
2021-06-24 09:56:32 +02:00
Valere
57c75f8039 Ugrade unstable room notice in settings
default update parent, clean migrate bottomsheet layout
2021-06-24 09:38:52 +02:00
Valere
171793d190 room version cap support + room upgrade 2021-06-22 17:35:39 +02:00
ganfra
121fd9a19d Jump to unread: implement new design 2021-06-22 16:29:19 +02:00
Benoit Marty
6289d640b4 Reveal password: use facility from com.google.android.material.textfield.TextInputLayout instead of manual handling
Also avoid repeating password on the change password dialog.
2021-06-22 11:31:45 +02:00
Benoit Marty
5db0d75959 Remove dead code 2021-06-21 14:44:31 +02:00
Benoit Marty
c4a6d92481 Fix bad alpha on tinted drawable - 2 2021-06-18 17:59:55 +02:00
Benoit Marty
0720556e48 Fix bad alpha on tinted drawable - 1 2021-06-18 17:54:41 +02:00
Benoit Marty
e12b9a3dfe Fix crash due to style refacto 2021-06-18 17:28:25 +02:00
Benoit Marty
1ffe57ce94 Change vctr_header_background alias from vctr_content_quinary to vctr_system 2021-06-18 13:27:21 +02:00
Benoit Marty
aeffaac065 Update layout
https://www.figma.com/file/X4XTH9iS2KGJ2wFKDqkyed/Compound?node-id=2857%3A321
2021-06-18 12:59:12 +02:00
Valere
28a6caf754 cleaning + rebase 2021-06-18 10:41:24 +02:00
Benoit Marty
1538a62e37
Merge pull request #3523 from vector-im/feature/bma/preparing_release
Preparing release 1.1.10
2021-06-18 10:26:44 +02:00
Onuray Sahin
69350ef514 Voice message UI initial implementation. 2021-06-17 16:17:38 +03:00
Benoit Marty
da19992f3f
Merge pull request #3516 from vector-im/feature/fga/dial_pad_improvements
Feature/fga/dial pad improvements
2021-06-17 14:31:48 +02:00
Benoit Marty
8fea6c5997 Bold title 2021-06-17 13:34:05 +02:00
Benoit Marty
049df558c4 Increase top margin and add header separator 2021-06-17 13:31:17 +02:00
ganfra
1bb32eff45 Clean code and add towncrier file. 2021-06-17 12:42:55 +02:00
Benoit Marty
7efb136003 Fix background color of BS items 2021-06-17 12:18:57 +02:00
ganfra
1d8b9f879b Merge develop 2021-06-17 11:58:57 +02:00
Valere
582340cf82 Fix crash when setting up key backup
You must supply a layout_height/width attribute
2021-06-17 09:49:10 +02:00
Valere
2a675bf8d1 Code review 2021-06-17 09:27:31 +02:00
Valere
e277deece5 Add error feedback when joining space rooms 2021-06-16 17:35:25 +02:00
Benoit Marty
7a40841cbb Fix color for phone calls 2021-06-16 17:16:47 +02:00
Benoit Marty
58cd2aac13 Fix crash (regression on develop) on the VerificationVectorAlert
And format code
2021-06-16 16:49:42 +02:00
Benoit Marty
f313fbe88c Fix mistake on call buttons 2021-06-16 16:34:03 +02:00
Benoit Marty
71b456c57e Add style to TextView after merge 2021-06-16 14:50:35 +02:00
Benoit Marty
b5cc023fff
Merge pull request #3490 from vector-im/feature/bca/fix_3485
Add warning to private space creation flow
2021-06-16 14:47:12 +02:00
Benoit Marty
ece9d19d8c Rename again the style to follow Android convention (G's review) 2021-06-16 11:59:08 +02:00
Benoit Marty
d7884fe4d2 Add doc and fix a small mistake on style 2021-06-16 10:40:22 +02:00
Benoit Marty
5e9b4e77bf Rename a last time some style: M -> Medium 2021-06-16 09:02:03 +02:00
Benoit Marty
4178f39226 Restore all caps false 2021-06-15 23:40:15 +02:00
Benoit Marty
858bbfd8d2 Rename style to follow naming conventions
And move some files to the module
2021-06-15 21:37:27 +02:00
Benoit Marty
a67f8ca4dc Add some missing style. Default is not workong (?) 2021-06-15 19:00:07 +02:00
Valere
52f0d8a1d2 Add warning to private space creation flow 2021-06-15 14:01:03 +02:00
Benoit Marty
f411d9954e Rework drawer header, following Figma: more compact to let more space for spaces 2021-06-15 12:14:30 +02:00
Benoit Marty
d892a8fe00 Fix icon close color 2021-06-15 11:24:58 +02:00
Benoit Marty
7de5111070 Restore fragment_room_directory_picker.xml, was modified by mistake 2021-06-15 11:17:55 +02:00
Benoit Marty
1370bda263 Fix issue of green back arrow on some screen 2021-06-15 10:51:01 +02:00
Benoit Marty
e918a6a93b Style for Toolbar 2021-06-15 10:42:29 +02:00
Benoit Marty
ea26dba1d3 Remove unused layout 2021-06-15 10:32:34 +02:00
Benoit Marty
f0b28742ac textSize *sp -> style 2021-06-15 10:30:54 +02:00
Benoit Marty
c248670750 issue 2021-06-14 23:13:35 +02:00
Benoit Marty
e7146f251b Use AppCompatTextView 2021-06-14 23:10:04 +02:00
Benoit Marty
f90ee45d8c Use style to take into account lineHeight 2021-06-14 23:06:56 +02:00
Benoit Marty
b5bdd134cb textSize 10sp -> android:textAppearance="@style/VectorTextAppearanceMicro" 2021-06-14 22:14:05 +02:00
Benoit Marty
c1d71a3759 textSize 13sp -> text appearance 2021-06-14 22:12:26 +02:00
Benoit Marty
1769e9b751 textSize 15sp -> android:textAppearance="@style/VectorTextAppearanceSubtitle or Body 2021-06-14 22:10:12 +02:00
Benoit Marty
f384ec0601 textSize 14sp -> android:textAppearance="@style/VectorTextAppearanceHeadlineM" 2021-06-14 21:53:51 +02:00
Benoit Marty
03df4aac77 Cleanup 2021-06-14 21:46:05 +02:00
Benoit Marty
044e37325e textSize 14sp -> android:textAppearance="@style/VectorTextAppearanceBody" 2021-06-14 21:40:14 +02:00
Benoit Marty
dbdf9b05fa textSize 16sp -> android:textAppearance="@style/VectorTextAppearanceSubtitle" 2021-06-14 21:29:12 +02:00
Benoit Marty
070dae78e7 textSize 12sp -> Caption or Default 2021-06-14 21:22:56 +02:00
Benoit Marty
1793885ec6 TextAppearances: import from figma and apply to login screens 2021-06-14 20:20:19 +02:00
Benoit Marty
f54246f718 Update bg color on room list 2021-06-14 12:45:44 +02:00
ganfra
99d05d8db3 Theme: fix call tile text color 2021-06-11 19:27:35 +02:00
Benoit Marty
c26a341645 Fix small regression on margin 2021-06-11 12:40:15 +02:00
Benoit Marty
75ee5d38fa
Merge pull request #3452 from vector-im/feature/fga/voip_asserted_identity
Feature/fga/voip asserted identity
2021-06-11 12:22:17 +02:00
Benoit Marty
bf4e005f39 Remove useless parent 2021-06-11 10:22:18 +02:00
Benoit Marty
817675b454 Fix layout issue 2021-06-11 10:15:58 +02:00
Benoit Marty
0a065b0752 More cleanup 2021-06-11 10:12:31 +02:00
Benoit Marty
3fe12cbd3c Fix layout issue 2021-06-11 10:12:31 +02:00
Benoit Marty
d60e68c4ee Apply default style for SearchView 2021-06-11 10:12:31 +02:00
Benoit Marty
3473d669d3 Use MaterialToolbar and AppBarLayout in all screens 2021-06-11 10:12:31 +02:00
Benoit Marty
8162d1100d Update navigation colors 2021-06-11 10:12:31 +02:00
Benoit Marty
5363526f77 Default style for Toolbar. Try to cleanup 2021-06-11 10:12:31 +02:00
ganfra
68143ab2cf Merge branch 'develop' into feature/fga/voip_asserted_identity 2021-06-10 16:01:48 +02:00
Benoit Marty
ea7e6243ad Fix a color 2021-06-09 17:52:13 +02:00
Benoit Marty
2f4aecd590 Composer update
Author: Onuray. Update colors by bmarty and squashed
2021-06-09 17:35:44 +02:00
Benoit Marty
047c59eba0 Rework colors management 2021-06-09 15:36:20 +02:00
ganfra
a421f37e70 VoIP : clean and add changelog 2021-06-03 19:50:09 +02:00
Benoit Marty
575ebdc3e8
Merge pull request #3421 from vector-im/feature/fga/call_transfer
Feature/fga/call transfer
2021-05-28 16:48:01 +02:00
Benoit Marty
5657da3493
Merge pull request #3401 from vector-im/feature/bca/spaces_fix_3386
Fixes #3386 show space description in explore header
2021-05-28 15:27:49 +02:00
Benoit Marty
f559ae1b35 Rename to avoid collision with Matrix Spaces 2021-05-27 16:55:40 +02:00
Benoit Marty
cbed1afaaa Add custom server 2021-05-27 14:05:34 +02:00
Benoit Marty
f30eb4af8a Add checked mark on the current item 2021-05-26 18:17:58 +02:00
Benoit Marty
4641f77842 Better understanding of the model: server / protocol
Iso Element Web on this part.
2021-05-26 17:51:44 +02:00
Valere
447bd98a78 Fixes #3386 show space description in explore header 2021-05-26 14:25:21 +02:00
ganfra
bd8e46c84f Call transfer: start branching consult first action 2021-05-26 12:09:59 +02:00
Benoit Marty
6706a88a21
Merge pull request #3188 from vector-im/feature/bma/login_v2
Login v2 - WIP
2021-05-21 14:55:22 +02:00
Benoit Marty
0424d03bcc Fix lint and tools issue 2021-05-21 11:37:16 +02:00
Valere
1b16d287e8 review 2021-05-21 11:34:51 +02:00
Valere
0d0b6a8810 Fix empty states for spaces 2021-05-21 11:32:34 +02:00
Benoit Marty
201f4c342a Fix lint issue 2021-05-20 18:51:09 +02:00
Benoit Marty
a7c1dc5cd9
Merge branch 'develop' into feature/bma/login_v2 2021-05-20 15:18:18 +02:00
Benoit Marty
dfc8860ade Fix avatar sample after PR merge 2021-05-12 16:43:46 +02:00
Benoit Marty
87953e7150
Merge pull request #3310 from vector-im/feature/bma/samples
Improve layout preview regarding avatars
2021-05-12 16:36:33 +02:00