[Updates page] use fancier logic for handling elided Old+New version strings
ClosedPublic

Authored by ngraham on Wed, Oct 16, 8:54 PM.

Details

Summary

@broulik taught me how to do this! It's more robust than the current logic, which
doesn't expand to the full form when the window becomes wide enough to show the
whole string without eliding.

Test Plan

Diff Detail

Repository
R134 Discover Software Store
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
ngraham created this revision.Wed, Oct 16, 8:54 PM
Restricted Application added a project: Plasma. · View Herald TranscriptWed, Oct 16, 8:54 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
ngraham requested review of this revision.Wed, Oct 16, 8:54 PM
ngraham updated this revision to Diff 68098.Wed, Oct 16, 11:25 PM

Make it display

mart added a subscriber: mart.Thu, Oct 17, 9:29 AM
mart added inline comments.
discover/qml/UpdatesPage.qml
277–281

this is very interesting and a good idea..
are you sure tough it doesn't cause binding loops?
i am trying to use the same in another thing and i can't seem to get rid of them

ngraham retitled this revision from [RFC] [Updates page] use fancier logic for handling elided Old+New version strings to [Updates page] use fancier logic for handling elided Old+New version strings.Thu, Oct 17, 5:30 PM
ngraham edited the test plan for this revision. (Show Details)
ngraham updated this revision to Diff 68180.Thu, Oct 17, 5:33 PM
ngraham marked an inline comment as done.

Fix binding loop

apol accepted this revision.Thu, Oct 17, 5:51 PM
This revision is now accepted and ready to land.Thu, Oct 17, 5:51 PM
This revision was automatically updated to reflect the committed changes.