mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-30 17:30:59 +01:00
85bf88e400
Summary: This does a few things: - Allows you to flag pastes. This is straightforward. - Allows Applications to register event listeners. - Makes object action lists emit a 'didrenderactions' event, so other applications can add more actions. The Flags application injects its action in this way. This should generally make it much easier to add actions to objects when we add new applications, with less code duplication and better modularity. We have a really hacky version of this in Differential that I want to get rid of in lieu of this more general approach. I'm going to make object lists do the same thing, so any application can jump in and add stuff. Test Plan: Flagged and unflagged pastes. Viewed home page, differential, flags list. Reviewers: vrana, btrahan Reviewed By: btrahan CC: aran Differential Revision: https://secure.phabricator.com/D3377 |
||
---|---|---|
.. | ||
app | ||
application/ponder | ||
icon | ||
apps.png | ||
appstatus_empty.png | ||
appstatus_info.png | ||
appstatus_needs.png | ||
appstatus_okay.png | ||
autosprite.png | ||
avatar.png | ||
button_apps.png | ||
button_content.png | ||
button_menu.png | ||
checker_dark.png | ||
checker_light.png | ||
credit_cards.png | ||
divot.png | ||
grippy_texture.png | ||
lines.png | ||
logo_grey.png | ||
main_texture.png | ||
menu_texture.png | ||
nyan.gif | ||
search.png | ||
sprite.png |