Opened 2 years ago

Last modified 5 months ago

#1487839 new Feature Patches

Add "Junk" column

Reported by: gerundt Owned by:
Priority: 5 Milestone: later
Component: User Interface Version: git-master
Severity: normal Keywords:
Cc:

Description (last modified by alec)

I like the "Junk" column from Thunderbird where you can see the junk status from a mail. This patch adds the column for roundcube too.

It checks the JUNK imap flag of a mail and show a exclamation icon ("exclamation.png" from the FamFamFam? silk icon set) in the column.

A next step could be to also set the junk status from the column (like the flagged column do), but this is my first patch to the project and I need more experience. So be not too hard, if something is not perfect with the patch. ;-)

Greetings,
Tim Gerundt

Attachments (3)

junk_col.patch (7.5 KB) - added by gerundt 2 years ago.
patch file
messageicons.gif (1.8 KB) - added by gerundt 2 years ago.
image file messageicons.gif
messageicons.png (3.3 KB) - added by gerundt 2 years ago.
image file messageicons.png

Download all attachments as: .zip

Change History (8)

Changed 2 years ago by gerundt

patch file

Changed 2 years ago by gerundt

image file messageicons.gif

Changed 2 years ago by gerundt

image file messageicons.png

comment:1 Changed 2 years ago by alec

  • Milestone changed from 0.6-beta to later

This should be done with a plugin (or as an option in markasjunk plugin).

comment:2 Changed 2 years ago by gerundt

Can a plugin add own column?

comment:3 Changed 2 years ago by alec

I think it can.

comment:4 Changed 2 years ago by gerundt

Can you give me a tip, which plugin hooks I need to implement?

I am new with the roundcube source code and would really like to see this function in my roundcube installation. :)

Thanks a lot!

comment:5 Changed 5 months ago by alec

  • Description modified (diff)

The hook is 'messages_list', you can find it in steps/mail/func.inc. There's also 'insertrow' event in app.js to which you can bind and execute actions when (after) message row is added to the list. This should be an extension of markasjunk plugin.

Note: See TracTickets for help on using tickets.