summary refs log tree commit diff stats
path: root/lib/indexformat.go
Commit message (Collapse)AuthorAgeFilesLines
* Fix read reply flag formattingJeffas2019-07-121-5/+19
| | | | | The readFlag was displaying wrong and not using combinations of the flags to decide the string.
* Factor IMAP-specific structs out of UI modelsBen Burwell2019-07-081-26/+20
| | | | | | | Before, we were using several IMAP-specific concepts to represent information being displayed in the UI. Factor these structures out of the IMAP package to make it easier for other backends to provide the required information.
* Factor UI models out of the worker message packageBen Burwell2019-07-081-2/+2
| | | | | | | | Before, the information needed to display different parts of the UI was tightly coupled to the specific messages being sent back and forth to the backend worker. Separating out a models package allows us to be more specific about exactly what a backend is able to and required to provide for the UI.
* Ensure that flags are set properlyAditya Mahajan2019-06-161-2/+4
| | | | | | | | | | The current implementation has three classes of flags: - readFlag - delFlag - flaggedFlag The logic to check for them should be in parallel if branches rather than in sequential if-else ladder.
* msglist: use distinct style for unread emailsYash Srivastav2019-06-081-5/+5
|
* Message list: implement index-format optionYash Srivastav2019-06-071-0/+231