Page MenuHomePhabricator

Convert Badges to use EditEngine
ClosedPublic

Authored by chad on Dec 14 2015, 4:14 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 16, 1:51 PM
Unknown Object (File)
Wed, Dec 11, 2:21 PM
Unknown Object (File)
Thu, Dec 5, 6:02 PM
Unknown Object (File)
Mon, Dec 2, 5:35 AM
Unknown Object (File)
Mon, Dec 2, 5:34 AM
Unknown Object (File)
Sun, Dec 1, 12:10 PM
Unknown Object (File)
Sun, Dec 1, 12:10 PM
Unknown Object (File)
Sun, Dec 1, 12:10 PM

Details

Reviewers
epriestley
Commits
Restricted Diffusion Commit
rP45ccc930ec4a: Convert Badges to use EditEngine
Summary

Moves Badges over to EditEngine

Test Plan

Create a new Badge, Edit a Badge

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

chad retitled this revision from to Convert Badges to use EditEngine.
chad updated this object.
chad edited the test plan for this revision. (Show Details)
chad added a reviewer: epriestley.

Yeah, let me create some kind of "IconDatasource" thing that works like Tokenizers do, then we can swap them out as we bring EditEngine in. I'll file something to get that built. The rest of this looks good.

yeah, it's like deceptively simple. though looks like I need to add an archive thingy for conduit.

epriestley edited edge metadata.

Either:

  • Take a crack at implementing the new EditField for icons; or
  • if that doesn't go well, stick a text field in there for now or just TODO it and I'll counter-diff you with the IconSetEditField?
This revision now requires changes to proceed.Dec 16 2015, 4:44 PM
chad edited edge metadata.
  • works
chad edited the test plan for this revision. (Show Details)
chad edited edge metadata.
epriestley edited edge metadata.
This revision is now accepted and ready to land.Jan 1 2016, 11:37 AM
This revision was automatically updated to reflect the committed changes.
joshuaspence added inline comments.
src/applications/badges/controller/PhabricatorBadgesEditController.php
3

I think this should extend from PhabricatorBadgesController?

I think @lpriestley has a patch for that if no one else gets to it first.