Ticket #168 (closed Tasks: fixed)

Opened 2 years ago

Last modified 19 months ago

Implement add-attachment use case

Reported by: octo Owned by: octo
Priority: normal Milestone: 2.0
Component: LogicMail Version: None
Keywords: Cc:
Blocked By: Blocking:

Description

This is for the ability to add attachments when composing new messages. It requires at least the following things to be implemented and/or considered:

  • UI for adding attachments during composition
    • Custom dialog on <5.0
    • File Picker API on 5.0
  • Need to handle outgoing message serialization cases
    • Drafts
    • Outbox
  • Need to handle sending messages with attachments
    • Probably trivial since the existing MIME serialization should handle it
  • Need to consider forwarding messages with attachments, which may or may not be realistic. (all depends on whether or not those attachments have been downloaded)

Change History

comment:1 Changed 2 years ago by octo

  • Status changed from new to assigned

comment:2 Changed 2 years ago by octo

  • Priority changed from minor to normal

comment:3 Changed 19 months ago by octo

  • Status changed from assigned to closed
  • Resolution set to fixed

Implemented.

Decided to use a custom-written file picker for all platforms. May consider the built-in one for 5.0 in the future.

There may be some performance/memory issues with larger attachments, and there is currently no data chunking or size detection/scaling/warning, so these concerns may have to be addressed in the future.

Note: See TracTickets for help on using tickets.