Page MenuHomePhorge

Optimize image event layout in compact mode
ClosedPublic

Authored by tusooa on Jul 5 2024, 6:34 PM.
Tags
None
Referenced Files
F114341: D98.1732539515.diff
Sun, Nov 24, 4:58 AM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable