Page MenuHomePhabricator

Move rendering to SearchEngine for Calendar
ClosedPublic

Authored by epriestley on May 8 2014, 4:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 17, 2:24 PM
Unknown Object (File)
Thu, Apr 11, 5:15 AM
Unknown Object (File)
Sat, Apr 6, 9:12 PM
Unknown Object (File)
Feb 8 2024, 4:48 PM
Unknown Object (File)
Feb 5 2024, 3:58 AM
Unknown Object (File)
Feb 5 2024, 3:57 AM
Unknown Object (File)
Feb 5 2024, 3:56 AM
Unknown Object (File)
Feb 5 2024, 3:55 AM
Subscribers

Details

Summary

Ref T4986. This one needs getApplicationURI() so make it a little beefier to deal with that.

(It would be vaguely nice to somehow share the handle and application stuff between Controllers and Engine classes like this, but I don't immediately see a clean way to do it without traits. Not a big deal, in any case.)

Test Plan
  • Viewed Calendar.
  • Made a Calendar panel.
  • Viewed feed.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley retitled this revision from to Move rendering to SearchEngine for Calendar.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.

re: cleanliness without traits - as is seems pretty good to me since someone adding code here won't really care or need to know about the base implementation, and the base implementations seem pretty static to me (so low maintenance to maintain.)

Still, I think we should be careful to DRY as we add functionality. One thing I haven't seen yet but could be an example of an opportunity is rendering an imploded list of handles - I believe some of that code is duplicated places, and it instead could be centralized on the handle data object or some handle rendering object.

This revision is now accepted and ready to land.May 8 2014, 7:05 PM
epriestley updated this revision to Diff 21428.

Closed by commit rP684805a88a16 (authored by @epriestley).