Page MenuHomePhorge

Make the resend button a ToolButton
ClosedPublic

Authored by nannanko on Jul 13 2024, 6:36 AM.
Tags
None
Referenced Files
F84657429: D122.1781454753.diff
Sat, Jun 13, 9:32 AM
F84654479: D122.1781446731.diff
Sat, Jun 13, 7:18 AM
F84654470: D122.1781446725.diff
Sat, Jun 13, 7:18 AM
F84654467: D122.1781446722.diff
Sat, Jun 13, 7:18 AM
F84654429: D122.1781446688.diff
Sat, Jun 13, 7:18 AM
F84654424: D122.1781446685.diff
Sat, Jun 13, 7:18 AM
F84652569: D122.1781443041.diff
Sat, Jun 13, 6:17 AM
Subscribers
None

Details

Summary

"Unable to send" indicator is not obvious that it is clickable, This revision make it a ToolButton.

Type: fix

Test Plan

Make a local echo event.
Verify that the button appears with a border when the mouse is hovered.
Verify that the message is resent when the button is clicked.

Diff Detail

Repository
rK kazv
Branch
resend-button-test
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 203
Build 395: GitLab CI for kazv
Build 394: arc lint + arc unit

Event Timeline

Please add a changelog type to the summary, using the following format:

Type: (add|remove|skip|security|fix)

Harbormaster returned this revision to the author for changes because remote builds failed.Jul 13 2024, 6:52 AM
Harbormaster failed remote builds in B172: Diff 291!

Fix tests for resent button

tusooa requested changes to this revision.Jul 13 2024, 8:04 AM

You chose the wrong base in the second version.

This revision now requires changes to proceed.Jul 13 2024, 8:04 AM
src/contents/ui/Bubble.qml
194 ↗(On Diff #291)

Which means it would be a ToolButton even when it's sending

208–214 ↗(On Diff #291)

A button no longer need a TapHandler, just use the button's onClicked signal handler

Make the resend button a ToolButton

nannanko removed a reviewer: servant.

Make the resend button a ToolButton

Fix test for resend button

Make the resend button a ToolButton

This revision is now accepted and ready to land.Jul 18 2024, 11:30 PM
This revision was automatically updated to reflect the committed changes.