feat(mail): implement Reply All functionality#103
Open
64johnlee wants to merge 33 commits into
Open
Conversation
- Added Reply All button in MessageView - Pass reply context (to+cc lists) via pendingReplyContext global - Pre-fill CC field with original message's CC recipients - Include CC info in the quoted original message header - Handle both 'reply' and 'replyall' msgTypes in compose
- Wire up Forward button in MessageView to pass 'forward' msgType - Compose: clear recipients (To/CC/BCC) since user will choose new ones - Set subject with 'Fwd: ' prefix - Quote original message with '-----Forwarded Message-----' header - Store mailBody in pendingReplyContext for forward
- Add dark mode CSS styles for mail UI (sidebar, tables, inputs, widgets) - Add toggle button at bottom of sidebar (persisted in localStorage) - Default to dark mode on first load (no preference saved) - Dark mode applies to tab-content, sidebar, tables, inputs, buttons, widgets
- Add avatar column to mail inbox table (User icon header) - Use existing UserAvatar component with fromUserInfo.mAvatar - Show first letter of nickname as fallback for avatar - Avatar displayed as first column before star column
- Add markAsSpam() function using /rsMail/setMessageSpam API - Add confirmMarkSpam() confirmation dialog - Add 'Spam' button next to Reply/Forward buttons - Uses existing widget.popupMessage pattern
…button - All mail views now show max 50 messages initially - 'Load More' button appears when more messages available - Each click loads 50 more messages - Works across all inbox/sent/spam/etc views via unified template
…stence - Add 'View Mode' button in top-heading area - Cycles between 'Side' (split horizontal) and 'Below' (stacked vertical) - Persisted in localStorage under 'mailViewMode' - Uses CSS data-view-mode attribute on #mailMainContent - Side = 50/50 split, Below = full width stacked
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implement Reply All functionality for the Mail UI (#69).
Changes
Files changed