Class | Redwood::ThreadIndexMode |
In: |
lib/sup/modes/thread-index-mode.rb
|
Parent: | LineCursorMode |
subclasses should implement:
DATE_WIDTH | = | Time::TO_NICE_S_MAX_LEN |
MIN_FROM_WIDTH | = | 15 |
LOAD_MORE_THREAD_NUM | = | 20 |
AUTHOR_LIMIT | = | 5 |
these two methods are called by thread-view-modes when the user wants to view the previous/next thread without going back to index-mode. we update the cursor as a convenience.
both spam and deleted have the curious characteristic that you always want to hide the thread after either applying or removing that label. in all thread-index-views except for label-search-results-mode, when you mark a message as spam or deleted, you want it to disappear immediately; in LSRM, you only see deleted or spam emails, and when you undelete or unspam them you also want them to disappear immediately.