Page MenuHomePhorge

Optimize image event layout in compact mode
ClosedPublic

Authored by tusooa on Jul 5 2024, 6:34 PM.
Tags
None
Referenced Files
F5443: image.png
Jul 5 2024, 6:45 PM
F5441: Screenshot_20240705_214453.png
Jul 5 2024, 6:45 PM
F5437: image.png
Jul 5 2024, 6:45 PM
F5439: image.png
Jul 5 2024, 6:45 PM
F5435: image.png
Jul 5 2024, 6:45 PM
F5433: image.png
Jul 5 2024, 6:45 PM
Subscribers
None

Details

Summary

This commit adds a summary item to the Simple.qml component and puts it after the username in compact mode. For the image event type, the summary will contain the body in the event content. Also, the label containing the body in non-compact mode (under the username) will not be displayed in compact mode to save vertical space. For sticker events, the body is added back.

Type: add

Test Plan

Verify that all unit tests pass. Verify that you can see the body of a sticker event. Verify that in compact mode, the body is shown after the username instead of under it.

Diff Detail

Repository
rK kazv
Branch
tusooa/stacked
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 141
Build 271: GitLab CI for kazv
Build 270: arc lint + arc unit