Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Actions:
- Mark as read
- Mark as unread
- Delete
- Tag
Let's postpone this until more basic features (listings etc) work.
Comment | File | Size | Author |
---|---|---|---|
#6 | gmail example.png | 6.8 KB | robby.smith |
Comments
Comment #1
BenK CreditAttribution: BenK commentedKeeping track of this module...
Comment #2
crea CreditAttribution: crea commentedSome notes:
messages can't be tagged because tag is a property of a thread. So we have to limit operations depending on whether we show message threads or messages.
Comment #3
YK85 CreditAttribution: YK85 commentedHello crea,
I was wondering if #660092: Use tag for inbox handling will help in allowing tagging of messages?
or can it be brought up to maintainers of Privatemsg to make tagging something compatible here?
Comment #4
crea CreditAttribution: crea commented#660092: Use tag for inbox handling is not for tagging, but for managing "inbox" concept. Privatemsg_views module doesn't have "inbox" yet and it's unclear if we need one.
Comment #5
YK85 CreditAttribution: YK85 commentedThanks for the explanation on the above link.
I believe Inbox will be useful to have:
A new message that I send first (but no reply received yet) won't show in Inbox, but will show in All messages and Sent messages. Then once I receive a reply the thread will be shown in Inbox. I would prefer not to see a thead in My Private Messages if I am the only one in the thread still =) also this is the flow of gmail I believe.
Inbox
Sent Message
All messages
Comment #6
robby.smith CreditAttribution: robby.smith commentedIt would be awesome if we could have the VBO actions to look like gmail style as a default
Also the - Select: All, None, Read, Unread, Starred, Unstarred
Is this a possibility? Thanks!
Comment #7
crea CreditAttribution: crea commented@robby.smith
We only provide actions. The look and feel completely depends on VBO module.
Comment #8
crea CreditAttribution: crea commented@yaz085:
"Inbox" and "Sent" are useful in rare cases, and can be confusing to users together with thread concept, as I pointed out in #735094: Make "inbox" and "sent" menu items optional in the filter Module. Also proper sorting inside "inbox" and "sent" thread views is a complicated task #737406: Sort threads by last time of {participation type} of a user. Because of that, I put "inbox" and "sent" views feature in the end of my priority list.
Comment #9
crea CreditAttribution: crea commentedComment #10
crea CreditAttribution: crea commentedDamn. Privatemsg has implementation of hook_OBJECT_operations() which follows hook_node_operations() pattern. VBO is ready to use it, but because there's no pm_threads table with thread_id primary key, we can't use it! VBO expects us to provide object id as primary key of Views "base table". This totally sucks, because we have to reimplement all actions which are already there.
Comment #11
YK85 CreditAttribution: YK85 commentedHi crea,
Any possibility of discussing with Berdir to make changes to Privatemsg that would make integration friendlier?
Thanks!
Comment #12
crea CreditAttribution: crea commentedWell, yes I am already discussing it in #744374: Introduce a pm_thread table. Though DB schema changes won't come fast so I will probably make my own workarounds anyway. This is not blocking us, proper DB schema is simply a way of making VBO integration work better for us. VBO integration will work anyway, but with simple tricks.
Comment #13
crea CreditAttribution: crea commentedI've committed initial integration with VBO. Only 2 actions are supported, cause we don't support Privatemsg sub-modules yet: "mark read" and "mark unread".
New actions will be implemented together with their respective modules integration.
Comment #15
robby.smith CreditAttribution: robby.smith commentedhi crea
sorry to open this back up but i'm getting lots of errors when using the newly integrated vbo actions
Comment #16
crea CreditAttribution: crea commentedPlease open a separate issue. This issue is closed
Comment #17
robby.smith CreditAttribution: robby.smith commentedcool cool, i just opened #767384: issues with vbo actions