[Purpose]: use Arc's status colours for the Phab plugin drop-down list (WIP)
ClosedPublic

Authored by rjvbb on Jul 7 2018, 5:00 PM.

Details

Summary

I'm trying to get the Purpose Phabricator plugin to list the user's open diff. revisions using the same colours as arcanist would use.

I think I've done all the preparations to let the model return the appropriate colour, but it appears it is never asked for this information.

Is it even possible to do this and if so, from what Qt version onwards? (I'm still on Qt 5.9 which doesn't seem to know the textColor property in QML ComboBoxes.)

Test Plan

Builds but doesn't work (yet).

Diff Detail

Repository
R495 Purpose Library
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
rjvbb created this revision.Jul 7 2018, 5:00 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptJul 7 2018, 5:00 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
rjvbb requested review of this revision.Jul 7 2018, 5:00 PM
apol accepted this revision.Jul 10 2018, 3:39 PM

LGTM overall.

src/plugins/phabricator/quick/difflistmodel.cpp
87

Why that change?

This revision is now accepted and ready to land.Jul 10 2018, 3:39 PM
This revision was automatically updated to reflect the committed changes.