~soywod/pimalaya#8: 
Show if a message has an attachment in list command (~4d)

hi, I have no way of figuring out if a mail has an attachment. (though I could parse all header files, but who wants that?).

can we provide a flag or some sort to show if a message has an attachment in himalaya or himalaya list respectively?

I see #16 regarding this. but Im not sure. my flags are still empty. v0.5.10 here.

thanks.


#email-lib (~2d)

  • Add list option and account config option to check if an envelope has an attachment.
  • Add boolean to the envelope struct and fill it only if the new option is given (either from account config or from list options).
  • Adjust backend features to correctly fill this new envelope boolean.

#himalaya (~2d)

  • Add config option to show attachment icon by default or not.
  • Add an attachment icon in flag columns if --attachment is given (or if config option is set) and if the envelope has an attachment.
Status
RESOLVED IMPLEMENTED
Submitter
~soywod
Assigned to
No-one
Submitted
1 year, 8 months ago
Updated
20 days ago
Labels
0:mou 1:email-lib 2:himalaya 3:cli

~soywod (edited) 1 year, 8 months ago

I see #16 regarding this. but Im not sure. my flags are still empty.

Yes, it was one of the first feature I implemented, but the code changed so much since and this feature was removed because of perf issues. The list command lists only the envelopes of emails: it is faster, but there is no information about attachments. Maybe I can propose to introduce a new flag (sth like himalaya list --full) that could fetch emails instead of envelopes, and so we could show information about attachments. What do you think?

~soywod REPORTED IMPLEMENTED 20 days ago

The feature has been implemented lib side 5f27b227 and CLI side b45944e.

Register here or Log in to comment, or comment via email.