Marco Romano
ca695ca077
Revert "Auto generate dark mode previews and screenshots ( #776 )" ( #784 )
...
This reverts commit fd467c2451 .
2023-07-05 15:47:53 +02:00
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
2023-07-05 13:58:24 +02:00
Marco Romano
ae054b7130
Adds new optional parameters to MatrixRoom.sendLocation() ( #767 )
...
For location sharing.
2023-07-04 13:57:19 +00:00
Marco Romano
0b23f1bc4f
Adds dark mode pin icon for location sharing ( #766 )
2023-07-04 13:23:53 +00:00
ganfra
91ad3dc834
Merge branch 'develop' into feature/fga/room_detail_factory_improvement
2023-07-04 10:22:52 +02:00
Benoit Marty
e7331e8be0
Merge pull request #742 from vector-im/feature/bma/settingsUi
...
Settings UI
2023-07-04 10:13:14 +02:00
ganfra
0831f87713
Merge pull request #757 from vector-im/feature/fga/update-rust-sdk-0.1.27
...
Update rust sdk to 0.1.27
2023-07-04 09:25:05 +02:00
ganfra
4ecd1f9f66
Update rust sdk to 0.1.27
2023-07-03 20:53:16 +02:00
ganfra
f64c491805
RoomDetailsFRoomList: don't use full room except for invites
2023-07-03 20:52:46 +02:00
ganfra
bbaed2e402
Merge branch 'feature/fga/update-rust-sdk-0.1.27' into feature/fga/room_detail_factory_improvement
2023-07-03 20:49:20 +02:00
ganfra
348f99970b
Update rust sdk to 0.1.27
2023-07-03 20:47:17 +02:00
Benoit Marty
29e87ca7da
Merge pull request #752 from vector-im/feature/bma/onBoardingIteration
...
Desing: onboarding iteration
2023-07-03 20:28:16 +02:00
Benoit Marty
f0ed80803a
Merge pull request #755 from vector-im/feature/bma/scrollToBottom
...
Scroll to bottom
2023-07-03 18:20:32 +02:00
ganfra
61dff7570c
RoomList: prepare code to not fetch fullRoom
2023-07-03 17:48:00 +02:00
Benoit Marty
f9c7a9ec08
Add todo to explain why code is commented out.
2023-07-03 17:09:04 +02:00
Benoit Marty
73b1ffd7d0
Replace CurrentUserProvider by an extension on MatrixClient.
2023-07-03 17:09:04 +02:00
Benoit Marty
0ea811269b
Fix modifier issue.
2023-07-03 17:09:04 +02:00
Benoit Marty
43af57c170
Improve rendering of preference anaytics screen.
2023-07-03 17:09:04 +02:00
Benoit Marty
d14b9e3c1f
Fix wrong padding.
2023-07-03 17:09:04 +02:00
Benoit Marty
34f4078d5f
Move BuildMeta fake to common test module.
2023-07-03 17:09:04 +02:00
Benoit Marty
e81d9c1ac9
Add application version to the setting screen.
2023-07-03 17:09:04 +02:00
Benoit Marty
f325ffad12
More cleanup on BugReportView.
2023-07-03 17:09:04 +02:00
Benoit Marty
c0bda1ec86
Design iteration on bug report screen.
2023-07-03 17:09:04 +02:00
Benoit Marty
57152b2000
Fix click effect.
2023-07-03 17:09:04 +02:00
Benoit Marty
24621079f7
Fix font of settings titles.
2023-07-03 17:09:04 +02:00
Benoit Marty
e1b528e861
Show current user in the settings and extract code in CurrentUserProvider.
2023-07-03 17:09:04 +02:00
Benoit Marty
b4a5128a05
Update preference header (still have to be displayed)
2023-07-03 17:09:04 +02:00
Benoit Marty
efb6f2dcbd
Fix padding end.
2023-07-03 17:09:04 +02:00
Benoit Marty
bd3142b0bb
Create PreferenceDivider
2023-07-03 17:09:04 +02:00
Benoit Marty
54b5097c52
Update some setting screens.
2023-07-03 17:09:04 +02:00
Benoit Marty
fef58a476e
Design iteration on preferences.
2023-07-03 17:09:04 +02:00
Benoit Marty
663250aa2a
TextComposer: change caret color to iconAccentTertiary
2023-07-03 14:25:43 +02:00
Chris Smith
8590ad74ac
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
Chris Smith
11c7dc7db0
Move pin graphic/component to design system
2023-07-03 11:51:50 +01:00
Benoit Marty
db8a07c198
Iterate design on on boarding screen.
2023-07-03 12:11:55 +02:00
bmarty
6e54ed7b77
Sync Strings from Localazy
2023-07-03 00:11:17 +00:00
Chris Smith
f5e57f1645
Show location replies per the designs
2023-06-30 16:14:44 +01:00
Chris Smith
005b22391f
Merge remote-tracking branch 'origin/develop' into feature/cjs/view-location-in-timeline
2023-06-30 09:30:31 +01:00
Benoit Marty
a2a5d251d1
Merge pull request #731 from vector-im/feature/fga/timeline_back_pagination
...
Feature/fga/timeline back pagination
2023-06-30 09:27:36 +02:00
Benoit Marty
4949c13fe2
Show keyboard when entering special mode (edit/reply/etc.)
2023-06-29 18:17:37 +02:00
Benoit Marty
d502c5ade7
When composer does not have focus, hide border.
2023-06-29 18:17:37 +02:00
Benoit Marty
c1a2ffbcc4
Composer placeholder ("Message") color changed to textDisabled
2023-06-29 18:17:37 +02:00
Benoit Marty
1bfb4a0ebe
Use temporary color for default avatar background
2023-06-29 18:17:37 +02:00
Benoit Marty
e5f933576f
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
e93f245fcf
Fix detekt issue.
2023-06-29 18:17:37 +02:00
Benoit Marty
066aaef0fd
Fix message color bubbles.
2023-06-29 18:17:37 +02:00
Benoit Marty
737a797e69
Dsign for editing section in composer and increase click area for the close button.
2023-06-29 18:17:37 +02:00
Benoit Marty
5135c132d9
Ignore isHighlighted state for now, we need a design decision on it.
2023-06-29 18:17:37 +02:00
Benoit Marty
8cb0e0808c
Improve API of UnreadIndicatorAtom
2023-06-29 18:17:37 +02:00
Benoit Marty
349d9fbc0f
Rename color alias
2023-06-29 18:17:37 +02:00