ganfra
b60b481ee0
Merge branch 'develop' into feature/fga/timeline_thread_decoration
2023-09-14 16:57:20 +02:00
ganfra
455d39c629
Sync Strings from Localazy
2023-09-14 14:38:49 +00:00
ganfra
62cabff39a
Thread decoration: update preview with new changes
2023-09-13 16:36:35 +02:00
ganfra
c0e518e050
Thread decoration: add "Reply in thread" context
2023-09-13 16:00:44 +02:00
Benoit Marty
6702dc6895
Maestro: ensure the Rich Text Editor can be clicked by Maestro.
...
We cannot click on the hint "Message" anymore, since it's now a separate Text.
2023-09-13 14:33:32 +02:00
jonnyandrew
d5b01ac0b4
[Rich text editor] Add feature flag for rich text editor ( #1289 )
2023-09-13 08:17:02 +00:00
jonnyandrew
a05f4d8999
[Rich text editor] Add formatting menu ( #1261 )
...
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2023-09-08 16:23:15 +00:00
jonnyandrew
11c1fca92e
[Rich text editor] Integrate rich text editor library ( #1172 )
...
* Integrate rich text editor
* Also increase swapfile size in test CI
Fixes issue where screenshot tests are terminated due to lack of CI
resources.
See https://github.com/actions/runner-images/discussions/7188#discussioncomment-6750749
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2023-09-07 15:21:29 +00:00
jmartinesp
c3b883623c
Sync Strings from Localazy
2023-09-05 06:37:36 +00:00
Benoit Marty
cd558bc09f
Import strings with Localazy.
2023-08-25 12:15:06 +02:00
Jorge Martin Espinosa
e3cfbc113b
Upgrade compose-material3 to 1.2.0-alpha05 version ( #1011 )
...
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
Also upgrade compileSdk to 34.
2023-08-17 14:20:54 +02:00
ElementBot
5ecafeb49f
Sync Strings from Localazy ( #1032 )
...
Co-authored-by: Florian14 <Florian14@users.noreply.github.com >
2023-08-11 14:34:05 +00:00
Benoit Marty
70787a0345
Merge pull request #986 from vector-im/feature/bma/bigFontSizeImprovement
...
Big font size improvements
2023-07-28 17:02:29 +02:00
Benoit Marty
d06f86f79d
Merge pull request #967 from vector-im/feature/bma/detektConfig
...
Update detekt config.
2023-07-28 16:47:26 +02:00
Benoit Marty
aabb455ea4
Split long line.
2023-07-28 16:08:38 +02:00
Benoit Marty
0b5a3c56d6
Update the API and add UI screenshots demoing it.
2023-07-28 10:29:13 +02:00
Benoit Marty
d46a79316e
Auto capitalize first letter of sentences for messages, room topic and bug report description. ( #948 )
2023-07-27 17:13:42 +02:00
Benoit Marty
1d89584daf
Improve rendering of Text composer regarding fontScale. ( #984 )
2023-07-27 15:45:02 +02:00
Benoit Marty
996574f2c6
Enable detekt rule PreviewPublic and fix existing issues.
2023-07-26 10:08:39 +02:00
bmarty
e196d951f8
Sync Strings from Localazy
2023-07-24 00:10:09 +00:00
Marco Romano
278f8ae4c6
Send My Location ( #770 )
...
- https://github.com/vector-im/element-meta/issues/1682
2023-07-19 09:58:13 +00:00
ganfra
f7c55f8d04
Merge branch 'develop' into feature/fga/better_media_handling
2023-07-18 15:13:59 +02:00
Benoit Marty
f292c433ec
Remove StableCharSequence, it was useful when we were using the Epoxy library.
2023-07-17 16:47:54 +02:00
Benoit Marty
dafc8d5ebe
Merge pull request #859 from vector-im/feature/bma/transactionId
...
Create value class for transactionId
2023-07-17 11:28:42 +02:00
Marco Romano
a1ca7cf2ca
Extract MessageComposerContext class from MessageComposerPresenter ( #876 )
...
When sending "Composer" analytics from screens other than the composer's (e.g. send location from map) we need to know the composer's mode in order to properly fill the analytics event. `MessageComposerContext` hoists this state so that other presenters can also read it.
Related to:
https://github.com/vector-im/element-meta/issues/1674
https://github.com/vector-im/element-meta/issues/1682
2023-07-14 11:32:09 +00:00
ganfra
7e5d339922
Media: render audio content
2023-07-13 18:09:58 +02:00
Benoit Marty
771a4ecdd3
Create value class for transactionId. There is no validation on the format, but validation is a bonus for userId, roomId, etc.
...
The main advantage of using value classes instead of Strings everywhere is to detect errors at compilation time.
2023-07-12 18:15:17 +02:00
Benoit Marty
7be0e3ea4b
Remove ElementTextStyles. Only ElementTheme.typography.* styles must be used now.
2023-07-10 17:33:42 +02:00
Marco Romano
220a6087f9
Use @DayNightPreviews to correctly render the PinIcon in dark mode ( #795 )
...
- Fixes rendering of `-night` resources in screenshot tests by overriding the `nightMode` with `paparazzi.unsafeUpdateConfig()`.
2023-07-07 16:35:34 +02:00
Jorge Martin Espinosa
02fa8aaf46
Fix actions for redacted, not sent and media messages ( #771 )
...
* Fix actions for redacted, not sent and media messages
* Make `EventDebugInfoView` sections fill max width
* Don't display action list if there are no actions to display
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2023-07-05 14:08:17 +00:00
Marco Romano
f33561c25d
Revert "Auto generate dark mode previews and screenshots ( #776 )" ( #784 )
...
This reverts commit 79b529193c .
2023-07-05 15:47:53 +02:00
Marco Romano
79b529193c
Auto generate dark mode previews and screenshots ( #776 )
...
With this change, composable previews and screenshots should be created with just:
```
@ElementPreviews
@Composable
fun MyViewPreview() {
ElementPreview {
MyView()
}
}
```
- Adds `@ElementPreviews` which is a shorthand for:
```
@Preview(name = "D")
@Preview(name = "N", uiMode = Configuration.UI_MODE_NIGHT_YES)
```
Should be used in connection with the now public `fun ElementPreview()` composable.
- Adds ElementPreviews to previewAnnotations in dangerfile
- Screenshots of night mode previews are now rendered with night mode
- Replaces `ElementPreviewLight` and `ElementThemedPreview` with `ElementPreview`
- Deprecates `ElementPreviewDark` which should be removed.
- Remaining usages of `ElementPreviewDark` are now ignored during screenshot tests
2023-07-05 13:58:24 +02:00
Benoit Marty
12f50926de
Merge pull request #755 from vector-im/feature/bma/scrollToBottom
...
Scroll to bottom
2023-07-03 18:20:32 +02:00
Benoit Marty
f3ea7ccbd4
TextComposer: change caret color to iconAccentTertiary
2023-07-03 14:25:43 +02:00
Chris Smith
5b35bb4277
Merge pull request #740 from vector-im/feature/cjs/location-replies
...
Show location replies per the designs
2023-07-03 12:52:28 +01:00
bmarty
bd3dd76039
Sync Strings from Localazy
2023-07-03 00:11:17 +00:00
Chris Smith
bd0e24598a
Show location replies per the designs
2023-06-30 16:14:44 +01:00
Benoit Marty
f54841d48c
Show keyboard when entering special mode (edit/reply/etc.)
2023-06-29 18:17:37 +02:00
Benoit Marty
ff13651b4c
When composer does not have focus, hide border.
2023-06-29 18:17:37 +02:00
Benoit Marty
ad1b5700ab
Composer placeholder ("Message") color changed to textDisabled
2023-06-29 18:17:37 +02:00
Benoit Marty
dd708abddf
Animate rounded corner size change to avoid blink effect when changing number of lines from 1 <-> 2 in the composer.
2023-06-29 18:17:37 +02:00
Benoit Marty
6669c6a3c5
Dsign for editing section in composer and increase click area for the close button.
2023-06-29 18:17:37 +02:00
Benoit Marty
139d041640
Fix send attachment icon color (and remove useless Box)
2023-06-29 18:17:37 +02:00
Benoit Marty
03d00b46b8
Fix send message icon color
2023-06-29 18:17:37 +02:00
Benoit Marty
63bba7c2c2
Fix color for composer.
2023-06-29 18:17:37 +02:00
Benoit Marty
720f5eb188
Text style for reply to in timeline and in composer.
2023-06-29 18:17:37 +02:00
Chris Smith
f7d498599b
Show a prompt to reinvite other party in a DM
...
If you are looking at a DM where the other party has left then
when you focus the composer for the first time we'll show a
dialog asking if you want to reinvite the other party.
Closes #590
2023-06-28 17:20:51 +01:00
Jorge Martin Espinosa
c5a5810c05
Link Compound's TypographyTokens to ElementTheme. ( #700 )
...
* Link Compound's `TypographyTokens` to `ElementTheme`.
Also add some docs about when we should use each set of tokens.
* Renamed `LocalColors` to `LocalLegacyColors`.
Made both `LocalLegacyColors` and `LocalCompoundColors` internal. This means it will need to always be used through `ElementTheme.`
Also, removed any usages of `LocalColors.current` accross the project, they're now used through `ElementTheme.legacyColors`.
2023-06-28 08:53:20 +00:00
Benoit Marty
5a59529768
Improve rendering of message reply preview.
2023-06-27 19:48:31 +02:00
Benoit Marty
a8cc935a82
Fix color of reply body preview.
2023-06-27 19:43:03 +02:00