Page MenuHomePhorge

Optimize image event layout in compact mode
ClosedPublic

Authored by tusooa on Jul 5 2024, 6:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Sep 1, 5:24 PM
Unknown Object (File)
Sun, Sep 1, 3:40 PM
Unknown Object (File)
Fri, Aug 30, 9:49 AM
Unknown Object (File)
Fri, Aug 30, 9:49 AM
Unknown Object (File)
Fri, Aug 30, 9:49 AM
Unknown Object (File)
Wed, Aug 28, 10:37 PM
Unknown Object (File)
Wed, Aug 28, 7:19 AM
Unknown Object (File)
Tue, Aug 27, 5:52 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