Benoit Marty
d531e71cd8
Migrate other icons to compound icons.
1 year ago
Benoit Marty
89b66b5a36
Remove unused icons
1 year ago
Benoit Marty
085b3bbfa4
Iterate on icons ( #1320 )
1 year ago
Benoit Marty
c652606f56
Remove VectorIcons object, inline the values.
1 year ago
jonnyandrew
d784ca3804
[Rich text editor] Update code and links style ( #1362 )
1 year ago
jonnyandrew
ee8d27e927
[Rich text editor] Add link functionality to rich text editor ( #1309 )
...
* Add link functionality to rich text editor
* Add 'list dialog' component compound design library
* Add 'text field list item' component to compound design library
1 year ago
bmarty
d2f9b02bbf
Sync Strings from Localazy
1 year ago
jonnyandrew
519464fe5d
[Rich text editor] Ensure keyboard opens for reply and text formatting modes ( #1337 )
1 year ago
jonnyandrew
6563dca4f2
[Rich text editor] Update design ( #1332 )
...
* Fix composer height and padding
* Update plus and cancel icons with design system icons
* Update border so that it is always visible
* Update placeholder color
* Update send and tick icons
* Update design of formatting buttons
* Update RTE icons
* Reduce bottom padding
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
jonnyandrew
c64b38cf04
Fix placeholder spilling onto multiple lines
1 year ago
ganfra
b382993cbb
Sync Strings from Localazy
1 year ago
ganfra
0fb93d1cca
Thread decoration: update preview with new changes
1 year ago
ganfra
b36ea5cedf
Thread decoration: add "Reply in thread" context
1 year ago
Benoit Marty
aedfed3be9
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.
1 year ago
jonnyandrew
8ab391f615
[Rich text editor] Add feature flag for rich text editor ( #1289 )
1 year ago
jonnyandrew
896c2325db
[Rich text editor] Add formatting menu ( #1261 )
...
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
jonnyandrew
f214493c9d
[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>
1 year ago
jmartinesp
74b2ddebfd
Sync Strings from Localazy
1 year ago
Benoit Marty
8415826a97
Import strings with Localazy.
1 year ago
Jorge Martin Espinosa
0324719606
Upgrade compose-material3 to `1.2.0-alpha05` version ( #1011 )
...
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Also upgrade compileSdk to 34.
1 year ago
ElementBot
38a25dc3e9
Sync Strings from Localazy ( #1032 )
...
Co-authored-by: Florian14 <Florian14@users.noreply.github.com>
1 year ago
Benoit Marty
bf0b364da9
Split long line.
1 year ago
Benoit Marty
5ace169440
Update the API and add UI screenshots demoing it.
1 year ago
Benoit Marty
0627a1155c
Auto capitalize first letter of sentences for messages, room topic and bug report description. ( #948 )
1 year ago
Benoit Marty
3c07fea2dd
Improve rendering of Text composer regarding fontScale. ( #984 )
1 year ago
Benoit Marty
6aa5239189
Enable detekt rule `PreviewPublic` and fix existing issues.
1 year ago
bmarty
af2159e98f
Sync Strings from Localazy
1 year ago
Marco Romano
3c45a5ece4
Send My Location ( #770 )
...
- https://github.com/vector-im/element-meta/issues/1682
1 year ago
Benoit Marty
6681f6f806
Remove StableCharSequence, it was useful when we were using the Epoxy library.
1 year ago
Marco Romano
a63d3df39c
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
1 year ago
ganfra
3d0e6a4130
Media: render audio content
1 year ago
Benoit Marty
6e2f645514
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.
1 year ago
Benoit Marty
5846af2aa4
Remove ElementTextStyles. Only ElementTheme.typography.* styles must be used now.
1 year ago
Marco Romano
c48fcac2f1
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()`.
1 year ago
Jorge Martin Espinosa
78a26c034e
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>
1 year ago
Marco Romano
ca695ca077
Revert "Auto generate dark mode previews and screenshots ( #776 )" ( #784 )
...
This reverts commit fd467c2451
.
1 year ago
Marco Romano
fd467c2451
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
1 year ago
Benoit Marty
663250aa2a
TextComposer: change caret color to iconAccentTertiary
1 year ago
bmarty
6e54ed7b77
Sync Strings from Localazy
1 year ago
Chris Smith
f5e57f1645
Show location replies per the designs
1 year ago
Benoit Marty
4949c13fe2
Show keyboard when entering special mode (edit/reply/etc.)
1 year ago
Benoit Marty
d502c5ade7
When composer does not have focus, hide border.
1 year ago
Benoit Marty
c1a2ffbcc4
Composer placeholder ("Message") color changed to `textDisabled`
1 year ago
Benoit Marty
e5f933576f
Animate rounded corner size change to avoid blink effect when changing number of lines from 1 <-> 2 in the composer.
1 year ago
Benoit Marty
737a797e69
Dsign for editing section in composer and increase click area for the close button.
1 year ago
Benoit Marty
d8fdbabd27
Fix send attachment icon color (and remove useless Box)
1 year ago
Benoit Marty
c3ab4318e6
Fix send message icon color
1 year ago
Benoit Marty
34554028cd
Fix color for composer.
1 year ago
Benoit Marty
26c50fab0e
Text style for reply to in timeline and in composer.
1 year ago
Chris Smith
53861fedb6
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
1 year ago