Updates from August, 2009 Toggle Comment Threads | Keyboard Shortcuts

  • Jane Wells 11:41 am on August 5, 2009 Permalink
    Tags: , dev chat   

    Hi everyone. As you know, the suggested … 

    Hi everyone. As you know, the suggested “pencils down” date is in 5 days, on August 10. Then the following week is meant to be spent scrubbing code, writing tests, finishing documentation, etc., after which final evaluations are due. Just to reiterate, you should be finished with the actual development of your project by Monday. I strongly suggest each of you check in with your mentors and ask them if there’s anything you need to catch up on in order to pass the final evaluation.

    In addition, as some of your projects will be under consideration for inclusion into core, you’re officially invited to attend this week’s IRC dev chat to talk a little bit about your project in the context of 2.9 planning with the core devs and leading community contributors. The chat is on Thursday, August 6 at 21:00 UTC (5pm NY time) and can be accessed through any IRC client. The server is irc.freenode.com and the channel is #wordpress-dev. I know not all of you will be able to make it, but if you can, please do.

     
  • Rudolf Lai 3:56 am on August 5, 2009 Permalink  

    Okay, I have just finished porting the p… 

    Edit ii: Download the patch and try it out 🙂 its OK for rev. 11776 (i.e. trunk at this posting ) ( +1 in half a day, how efficient ) with a few hunks. Thank you Shane for point out my mistake. If anybody also downloaded the patch before 1600UTC, please re-download. Cheers.
    Okay, I have just finished porting the patch to rev. 11755. Complete with trash functions and a few bug fixed. Apparently its now 11775 on the trunk, so I will test whether my patch works for that too. Will be posting the patch in a few hours 🙂 Stay tuned.
    Edit: Also fixed something in the media library page that I have been doing wrongly all along.

     
    • Shane 3:15 pm on August 5, 2009 Permalink

      Looing for album.php file that you specify in menu.php. Everything else looks pretty good!

    • Gregory Cornelius (gcorne) 9:51 pm on August 6, 2009 Permalink

      Lot’s of hard work, but I don’t understand why you defined a new media library item type, photo. What if I wanted to have an image be part of an album and be used in the content of a page? Based on the behavior I am seeing, this is not possible.

      My suggestion would be to modify the album editor to allow for uploading images into the album directly in such a way that the images would still be a part of the main media library and able to be inserted into pages/posts from the editor individually.

      Two import features would be the ability to thumbnails for all of the images in the album, the ability to reorder them, add captions, etc…

      • Rudolf Lai 10:19 am on August 7, 2009 Permalink

        Adding a new post_type ‘photo’ allows WordPress to differentiate between a ‘photo’ and an ‘attachment’. You point is valid here though– users need a way to insert a single photo into a blog post ( which the patch now lacks. ) I will work on that. I plan to implement a photo shortcode, and a way to insert via the upload/insert series of modal windows ( much like what you would do when you insert an attachment ). Please do tell me if you have more ways / a better way to approach this.

        • Gregory Cornelius (gcorne) 3:06 pm on August 7, 2009 Permalink

          From the user perspective, you don’t insert attachments, you insert images, uploaded .pdfs and other documents, or audio/video. I think that the notion of an attachment more or less broke with the introduction of the media library 2.5. The underlying idea is that their is an association in the database between the media item and the page/post or other post_type the media item was inserted into. Right now the database schema is only capable of associating a media library item with a single post (the post the item was initially inserted into) by using the post_parent. This makes the notion of an attachment a lot less useful, because the media library listing only shows the first post that a file is attached to, not all of them. From this perspective when you are creating an album, you are not doing anything different. The user is attaching images to a post, although in this case the post is of a type: album. This is the main reason why I would suggest that you do not define a new post_type for photos.

          The deficiency is in the way WordPress handles associated a media library item with a post, which is one reason why the current Gallery functionality is basically useless as far as I am concerned.

          I think that you should seriously consider creating an album editor where all operations to populate the album and adjust components are handled from the editor. Actions that I should be able to take are:

          – Upload a new image
          – Add existing image
          – Remove image
          – Reorder images (ideally drag and drop)
          – Edit image
          – Edit album title
          – Edit description
          – Allow for new metaboxes to be added to editor (like the post editor) so plugins can add functionality

  • Dan Larkin 12:03 am on August 5, 2009 Permalink
    Tags: ,   

    Early this week I spent some time cleani… 

    Early this week I spent some time cleaning up a bit of my code and documentation. It still needs some work, but I’m saving that for next week most likely. More recently I went to work on comments. We decided that overhauling the way (paged) comments are handled on the whole would be beyond the scope of my project, so they’ll get a more modest update. What that means is that I’m not entirely sure that my MPTT work will offer a significant performance boost. In fact it might actually end up slower. I’m in the process of debugging it now, so I should be testing its validity later this week.

     
c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel