Commit graph

1525 commits

Author SHA1 Message Date
Adam Brown
53675b599d reducing the edit button min width in order to match designs
- we rely on the text size and padding instead
2022-03-31 17:50:20 +01:00
Adam Brown
c3ab895a54 adding missing inputType, fixes max lines and ime option not being taken into account 2022-03-31 17:50:20 +01:00
Adam Brown
11983443fb replacing hardcoded strings with resources 2022-03-31 17:50:20 +01:00
Adam Brown
7e5c3df7a7 adding combined server selection/sign up fragment 2022-03-31 17:50:20 +01:00
Aris Kotsomitopoulos
b9934d7239
Merge pull request #5666 from vector-im/feature/aris/threads_thread_list_loader
Add loader to thread list
2022-03-31 16:24:12 +03:00
Maxime NATUREL
cc6cb41eac Increase height of share button 2022-03-31 14:44:40 +02:00
Maxime NATUREL
acef51e415 Fixing text color button in dark mode 2022-03-31 14:44:40 +02:00
Maxime NATUREL
265dd4a0c3 Using resource dimensions for margins 2022-03-31 14:44:40 +02:00
Maxime NATUREL
c18a9230e5 UI to select the duration 2022-03-31 14:44:40 +02:00
Maxime NATUREL
d0a255819a Creating BottomSheet to choose the live duration 2022-03-31 14:43:32 +02:00
ariskotsomitopoulos
21541642ba Exclude NegativeMargin from linter 2022-03-31 14:35:37 +03:00
fedrunov
856a110aee
Merge pull request #5531 from vector-im/feature/nfe/create_space_copy
"Add space" copy is replaced with "create space" in left sliding panel
2022-03-31 09:16:20 +02:00
ariskotsomitopoulos
0f7d6a1946 Add loader to thread list 2022-03-29 16:26:47 +03:00
ariskotsomitopoulos
3ba2419e9b Replace hardcoded string 2022-03-28 14:15:15 +03:00
ariskotsomitopoulos
58cc3931b9 Add beta feedback for threads 2022-03-28 13:53:44 +03:00
ericdecanini
313595e496 Fixes textview layout bounds in item_timeline_event_audio_stub 2022-03-25 14:30:00 +01:00
ericdecanini
82cde166db Merge remote-tracking branch 'origin/develop' into feature/eric/audio-files-player
# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/room/detail/composer/VoiceMessageHelper.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/composer/voice/VoiceMessageViews.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/factory/MessageItemFactory.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/MessageVoiceItem.kt
2022-03-24 20:32:28 +01:00
ariskotsomitopoulos
3b9cade1a7 Thread list filtering minor UI changes 2022-03-23 15:13:15 +02:00
Onuray Sahin
c478503c13 Merge branch 'develop' into feature/ons/voice_message_scrubbing
* develop: (429 commits)
  fixing the onboarding sanity test failing - adds tapping the new take me home button within the sanity test
  Fix lint issues on weblate sync
  fixing view model tests not collecting flow results - the switch from runBlockingTest to runTest means we need to provide a separate scope from the test in order to asynchronously collect the flow results
  Do not suggest collapse if there is only one section
  Translated using Weblate (Spanish)
  Translated using Weblate (Spanish)
  runBlocking -> runTest https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-test/MIGRATION.md
  runBlockingTest -> runTest https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-test/MIGRATION.md
  Small cleanup
  The `.exhaustive` trick is not needed anymore in Kotlin 1.6.0 https://kotlinlang.org/docs/whatsnew16.html#stable-exhaustive-when-statements-for-enum-sealed-and-boolean-subjects
  Also upgrade the coroutine lib
  Fix compilation warning (exhaustive when)
  Fix compilation warning (exhaustive when)
  Format file (no other change)
  Fix compilation warning (exhaustive when)
  Bump moshi from 1.12.0 to 1.13.0
  Bump kotlin-gradle-plugin from 1.5.31 to 1.6.0
  fixing presence icon anchoring to the middle of the room icon - creates a secondary verification shield and aligns to the start of the room title when presence is present
  PR remarks
  Increase the thread summaries limit
  ...

# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/room/detail/composer/voice/VoiceMessageRecorderView.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/MessageVoiceItem.kt
2022-03-23 13:32:36 +03:00
ariskotsomitopoulos
6568091f29 Improve thread list item UI 2022-03-23 12:29:07 +02:00
ariskotsomitopoulos
72bc613f34 Reduce thread toolbar avatar size 2022-03-22 18:54:59 +02:00
ariskotsomitopoulos
bc9a785a59 Match timeline thread summary width with the actual text 2022-03-22 17:08:49 +02:00
ariskotsomitopoulos
1e3b859f48 Fix timeline thread summary width 2022-03-22 16:19:15 +02:00
ariskotsomitopoulos
c455912969 Fix timeline thread summary padding 2022-03-22 16:03:49 +02:00
Adam Brown
1e6e8b546d fixing presence icon anchoring to the middle of the room icon
- creates a secondary verification shield and aligns to the start of the room title when presence is present
2022-03-22 13:43:43 +00:00
ariskotsomitopoulos
09a017aaa8 Increase thread summary icon size 2022-03-22 13:48:07 +02:00
ariskotsomitopoulos
3c6dbd0843 Reduce timeline menu thread icon padding 2022-03-22 12:55:50 +02:00
ericdecanini
5a819bbafa Merge remote-tracking branch 'origin/develop' into feature/eric/audio-files-player
# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/room/detail/TimelineFragment.kt
2022-03-21 19:40:14 +01:00
ericdecanini
ff26829d65 Adds new audio timeline stub 2022-03-21 18:42:07 +01:00
ericdecanini
fab78c9a6e Refactors MessageAudioItem to work for both audio files and voice messages 2022-03-19 18:16:51 +01:00
Maxime Naturel
840a224c9f Fixing coding style issue 2022-03-18 15:01:44 +01:00
Maxime Naturel
56bffb2657 Adding stop button 2022-03-18 14:11:16 +01:00
Maxime Naturel
67297bbdef Custom View in timeline screen without stop button 2022-03-18 14:11:08 +01:00
Adam Brown
17d363cf9a
Merge pull request #5389 from vector-im/feature/adm/personalisation-complete
FTUE - Personalisation complete
2022-03-15 17:33:29 +00:00
Maxime Naturel
01aff36597 Using style attibute for locate button visibility 2022-03-15 17:09:30 +01:00
Maxime Naturel
a1d155df71 Adding static pin at the center of the map 2022-03-15 17:09:29 +01:00
Maxime Naturel
9256b5671b Show options menu on top of the map 2022-03-15 17:09:29 +01:00
Adam Brown
161cd3f9ec replacing the ftue icons with only the foreground asset to allow for tinting
- making use of the generic circle shape the background, this allows the foreground and background layers to be tintable separately
2022-03-15 13:07:22 +00:00
Adam Brown
049ae4a22a making the profile screen toolbar transparent, matches the designs for dark mode 2022-03-15 13:07:22 +00:00
Adam Brown
9575cb5de7 removing unneeded button background colour
- causes the rounded corners and highlight to stop working
2022-03-15 13:07:22 +00:00
Adam Brown
e3c3db2964 adding personalization complete screen 2022-03-15 13:07:22 +00:00
Adam Brown
9f6d3ec380 playing confetti effect when unable to personalise account on account creation
- extracts the logic to an extension for reuse from the timeline
2022-03-15 13:07:22 +00:00
Adam Brown
82e1afdb72
Merge pull request #5375 from vector-im/feature/adm/display-personalisation-based-on-capabilities
FTUE - Capability based personalisation flow
2022-03-14 13:34:21 +00:00
Adam Brown
46be481eda hiding the toolbar back button and handling system back as take the user home if the display name personalisation is not supported 2022-03-14 11:54:42 +00:00
Adam Brown
537c2f56a1 dynamically changing the account created layout based on if the homeserver supports personalisation 2022-03-14 11:54:42 +00:00
Adam Brown
3df4f1e099 adding entry points for injecting and overriding the homeserver capabilities 2022-03-14 11:54:42 +00:00
Adam Brown
6c4381fda5 adding dedicated camera icon for choosing profile picture 2022-03-14 11:54:42 +00:00
Maxime Naturel
20749e04cb Fix coding style 2022-03-14 11:15:18 +01:00
Maxime Naturel
53c24d20b0 Moving notification badge on the right side 2022-03-14 11:15:17 +01:00
Maxime Naturel
b1d1090d1d Adding number of items (UI part) 2022-03-14 11:15:17 +01:00
Maxime Naturel
70481e3ba3 Changing style of header 2022-03-14 11:15:16 +01:00
NIkita Fedrunov
84bd205014 "Add space" copy is replaced with "create space" in left sliding panel 2022-03-14 09:34:54 +01:00
Claire G
8f0d6a1adc use colorPrimary for tint 2022-03-10 14:30:15 +01:00
Benoit Marty
551b827753
Merge pull request #5384 from p1gp1g/bubble-space
Add padding before first own message
2022-03-10 14:09:23 +01:00
Benoit Marty
c339e10c07
Merge pull request #5436 from vector-im/feature/nfe/space_highlight
change selected space highlight
2022-03-10 13:28:08 +01:00
Benoit Marty
d83d5f9828
Merge pull request #5467 from vector-im/feature/bma/unused_resources_all
Remove unused resources
2022-03-10 13:03:27 +01:00
Adam Brown
ecb49b3b27 Merge branch 'main' into develop 2022-03-09 16:13:15 +00:00
Maxime NATUREL
f12afe0ef0
Merge pull request #5411 from vector-im/feature/mna/PSF-735-sharing-options-view
#5395: Location sharing options view
2022-03-09 16:10:46 +01:00
Benoit Marty
3f17cf595f Remove unused resources 2022-03-09 14:55:40 +01:00
Benoit Marty
e0914781fc
Merge pull request #5435 from vector-im/feature/nfe/space_menu_amend_copy
Amend spaces menu to have consistent copy
2022-03-09 11:13:46 +01:00
Adam Brown
662e9592a0
fixing overlapping room image and title (#5469)
- the room title was missing constraints for the different types of leading icons
2022-03-09 10:11:53 +00:00
Maxime Naturel
89db867ab3 Fix attributes style id conflicts 2022-03-09 09:46:52 +01:00
Maxime Naturel
82515cf095 Remove usage of strings to be deleted 2022-03-09 09:46:52 +01:00
Maxime Naturel
edc77b0c17 Fixing code syntax 2022-03-09 09:46:51 +01:00
Maxime Naturel
d36409d475 Renaming package to option 2022-03-09 09:46:51 +01:00
Maxime Naturel
b11f7f20e1 Adding user avatar and color for current location option 2022-03-09 09:46:51 +01:00
Maxime Naturel
42fca9bd6f Fixing ripple effect 2022-03-09 09:46:51 +01:00
Maxime Naturel
8bcc594320 Changing color of the live location icon 2022-03-09 09:46:47 +01:00
Maxime Naturel
fb764028c9 Adding dividers 2022-03-09 09:45:15 +01:00
Maxime Naturel
0707877b3c Using correct string resources for options 2022-03-09 09:45:15 +01:00
Maxime Naturel
3bbb7167f1 Adding icon for live location 2022-03-09 09:45:00 +01:00
Maxime Naturel
4586426958 Adding other options 2022-03-09 09:44:06 +01:00
Maxime Naturel
a98f502c01 Adding custom view for options picker 2022-03-09 09:44:06 +01:00
sim
17d58f24d2 Add padding before our first message
Signed-off-by: sim <git@sgougeon.fr>
2022-03-08 17:26:23 +01:00
Benoit Marty
b867e5f072 Iterate on badge / unread indicator color (#5332) 2022-03-08 14:52:10 +01:00
Adam Brown
9a02543afd
FTUE - Choose a display picture (#5323)
* adding tests around the onboarding view model
- cases for the personalisation and display name actions

* adding base choose name fragment with UI

* add click handling for the display name actions

* adding tests around the onboarding view model
- cases for the personalisation and display name actions

* adding barebones profile picture fragment with ability to select a user avatar

* extracting uri filename resolving to a class which can be injected
- includes tests

* updating upstream avatar on profile picture save and continue step
- moves the personalisation state to a dedicated model to allow for back and forth state restoration

* adding test case for skipping profile picture setting

* taking the profile loading into account when rendering the onboarding loading

* extracting method for the handling of the profile picture selection

* adding dedicated camera icon for choosing profile picture

* adding toolbar to back to profile picture page
- this toolbar will fade in with the fragment as it sits at the fragment level, probably worth revisiting once more pages have a toolbar

* changing edit/add picture icon based on if we're already selected an image

* making use of debounced clicks to avoid potential extra clicks

* making the avatar height and camera icon relative percentage based
- also makes the avatar itself clicking, including a foreground ripple

* fixing formatting

* making use of fake session id for user id assertion

* using a real  matrix id syntax for the fake session user id

* removing duplicated dimens

* using self closing imageview tag
2022-03-07 14:07:22 +00:00
NIkita Fedrunov
33246be2a5 change selected space highlight 2022-03-07 09:58:40 +01:00
NIkita Fedrunov
8732c6fe42 Amend spaces menu to have consistent copy 2022-03-07 08:32:31 +01:00
Ahmed Radhouane Belkilani
bcdf004082
Update the top bar in a room (#5213)
Remove typing message notification from room toolbar.

Signed-off-by: Ahmed Radhouane Belkilani <arbelkilani@gmail.com>
2022-03-04 16:38:53 +01:00
Onuray Sahin
2c611790db
Merge branch 'develop' into feature/ons/voice_message_scrubbing 2022-03-04 18:03:44 +03:00
Adam Brown
99e5a8f2fa
FTUE - Choose a display name (#5211)
* adding base choose name fragment with UI

* add click handling for the display name actions

* updating real account display name

* setting the initial disabled state when the view is created

* adding header padding which would have been a toolbar

* exiting the flow on display name updated or skipped, the next PR will introduce the profile picture screen

* updating view model state testing to take all emissions into account

* adding tests around the onboarding view model
- cases for the personalisation and display name actions

* using colorSecondary instead of accent as per quality script rule

* making use of viewevent delegating action for the back handling

* using debounced clicks

* consuming the back action when existing the display name fragment via viewmodel

* making the keyboard imeDone update the display name
2022-03-02 17:59:40 +00:00
Onuray Sahin
ab2001cd7f Create a custom audio waveform view. 2022-03-02 17:45:27 +03:00
Benoit Marty
80bc3af5fa
Merge pull request #5349 from vector-im/feature/mna/5005-save-image
#5005: Add save media icon in gallery
2022-02-28 14:23:17 +01:00
Benoit Marty
fd17517675 Remove unused strings 2022-02-25 13:45:24 +01:00
Maxime Naturel
0169396d7d Adding save icon into viewer 2022-02-24 17:39:40 +01:00
Benoit Marty
93de61e61f
Merge pull request #5206 from vector-im/arb/issues/3296
#3296 Typing Notification update
2022-02-23 18:57:14 +01:00
Benoit Marty
a2f3b43683
Merge pull request #5316 from vector-im/feature/fga/update_reaction_button_layout
#5313: Update reaction button layout.
2022-02-23 12:36:54 +01:00
Benoit Marty
276c526cef
Merge pull request #5158 from vector-im/feature/adm/ftue-post-account-creation
FTUE - Account created screen
2022-02-23 11:54:02 +01:00
Ahmed Radhouane Belkilani
91ab4726ad #3296
- Fixes after review.

Signed-off-by: Ahmed Radhouane Belkilani <arbelkilani@gmail.com>
2022-02-23 11:34:43 +01:00
Ahmed Radhouane Belkilani
5deabfae9d #4642 [Review]
- revert vector_settings_round_avatar.xml file to develop state.

Signed-off-by: Ahmed Radhouane Belkilani <arbelkilani@gmail.com>
2022-02-23 11:34:41 +01:00
Ahmed Radhouane Belkilani
a9b8871177 #3296
- prevent timeline jump up while TypingMessageView populated.

Signed-off-by: Ahmed Radhouane Belkilani <arbelkilani@gmail.com>
2022-02-23 11:34:40 +01:00
Ahmed Radhouane Belkilani
da9fdf1b18 #3296
- Adding a typing message notification view at the bottom of the timeline in rooms.

Signed-off-by: Ahmed Radhouane Belkilani <arbelkilani@gmail.com>
2022-02-23 11:34:39 +01:00
ganfra
e3b67fe30b #5313: Update reaction button layout. 2022-02-23 11:26:21 +01:00
Benoit Marty
6e7aa01437
Merge pull request #5303 from vector-im/feature/fga/improve_bubble_layout
Feature/fga/improve bubble layout
2022-02-22 22:56:09 +01:00
Benoit Marty
17fa463bc8 Delete unused resource 2022-02-22 16:05:40 +01:00
Sonia
f187bffc11 changes roomUnreadIndicator colour in item_room.xml 2022-02-22 11:11:31 +01:00
Benoit Marty
a89e8d0434
Merge pull request #5104 from noantiq/develop
Make Space creation screens more consistent
2022-02-21 16:53:56 +01:00
ganfra
10bf3e56fc Bubble: better handling of timestamp position for text messages 2022-02-17 19:09:51 +01:00
Maxime Naturel
2beff8d4cd adding headers to separate sections 2022-02-17 11:23:00 +01:00
Adam Brown
ea13f1c879
Merge pull request #5189 from vector-im/arb/issues/4640
#4640 : The notification badge jumps around
2022-02-11 14:18:41 +00:00