mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 04:25:31 +08:00
a841417011
Summary: - Add initial version of snooze and send later plugins - Tests are missing since this will probably heavily change before we are done with them Test Plan: - TODO Reviewers: drew, bengotow, evan Reviewed By: bengotow, evan Differential Revision: https://phab.nylas.com/D2578
22 lines
627 B
JavaScript
22 lines
627 B
JavaScript
/** @babel */
|
|
import {ComponentRegistry} from 'nylas-exports'
|
|
import SendLaterPopover from './send-later-popover'
|
|
import SendLaterStore from './send-later-store'
|
|
import SendLaterStatus from './send-later-status'
|
|
|
|
export function activate() {
|
|
SendLaterStore.activate()
|
|
ComponentRegistry.register(SendLaterPopover, {role: 'Composer:ActionButton'})
|
|
ComponentRegistry.register(SendLaterStatus, {role: 'DraftList:DraftStatus'})
|
|
}
|
|
|
|
export function deactivate() {
|
|
ComponentRegistry.unregister(SendLaterPopover)
|
|
ComponentRegistry.unregister(SendLaterStatus)
|
|
SendLaterStore.deactivate()
|
|
}
|
|
|
|
export function serialize() {
|
|
|
|
}
|
|
|