-
Notifications
You must be signed in to change notification settings - Fork 25
Mail: Mail compose as Widget #1609 #1687
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR implements mail composition as a widget, allowing users to compose emails in a floating widget interface instead of navigating to a separate route. The widget can be expanded to a modal view and provides a more streamlined user experience.
Key Changes:
- Replaced router-link navigation with event-driven widget opening for composing emails
- Added a new
MailWidgetcomponent with collapsible/expandable functionality - Created
MailComposeFormcomponent to handle email composition logic
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
packages/web-app-mail/src/views/Inbox.vue |
Added event handler to trigger compose widget from mailbox tree |
packages/web-app-mail/src/components/MailboxTree.vue |
Replaced router-link with event emission for compose action |
packages/web-app-mail/src/components/MailWidget.vue |
New widget component with expandable/collapsible compose interface |
packages/web-app-mail/src/components/MailList.vue |
Integrated widget and exposed openCompose method via ref |
packages/web-app-mail/src/components/MailComposeForm.vue |
New form component handling email composition state and validation |
packages/design-system/src/components/OcModal/OcModal.vue |
Added header actions slot for custom modal header buttons |
packages/design-system/src/components/OcModal/__snapshots__/OcModal.spec.ts.snap |
Updated snapshots to reflect new header actions slot |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
kulmann
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to kill the import for MailCompose.vue and the corresponding route in index.ts.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
JammingBen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One final nitpick, rest LGTM!
JammingBen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
AlexAndBear
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Top notch ⭐
Mail: Mail compose as Widget #1609

PR for #1609