Closed (fixed)
Project:
Project issue tracking
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Issue tags:
Reporter:
Created:
31 Aug 2010 at 06:50 UTC
Updated:
3 Jan 2014 at 02:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
drummtag
Comment #2
drummComment #3
drummComment #4
drummThis adds homebox integration so you can an 'Issue Cockpit' block for arbitrary projects on your dashboard. The hooks are being added with #874790: Configurable blocks
Comment #5
dwwA) It's not obvious where/how the nid is actually being saved, nor what project_issue_homebox_block_edit_form() is really about. A comment to that effect would be very helpful, since I don't know the whole homebox API. In fact, all the new functions added in this patch need PHPDoc comments explaining WTF they're for. ;)
B) What do I have to do to test this?
Thanks,
-Derek
Comment #6
drummA) New patch attached.
B) To test:
1. Install homebox and patch from #874790: Configurable blocks
2. Enable the 'issue cockpit' block, drupalorg provides a default configuration in-code
3. Click the Gear icon and type in a different project.
Comment #7
drummComment #8
dwwWrong patch. ;)
Comment #9
drummComment #10
dwwRe-rolled to fix up some comments and fix a potential PHP notice. (898180-10.issue_homebox_block.A.patch)
Based on an IRC conversation with drumm, I also sort of added support to let users configure which categories should appear in the block via homebox (898180-10.issue_homebox_block.B.patch). However, this doesn't actually work given the custom caching this block is doing. :( So, if we want to support that feature, we need to revisit this caching approach.
I finally managed to test all this on solr.redesign.devdrupal.org, so I've seen it working and am basically ready to commit patch A.
Comment #11
drumm#874790: Configurable blocks was committed.
Comment #12
dwwCommitted #10.A to HEAD.
Comment #13
dww(Although this was developed in sprint 4, it was only committed in sprint 5, so tagging it for both sprints).