Mailspring/internal_packages/composer-scheduler/lib/scheduler-actions.es6
Evan Morikawa 3658f0e0da fix(scheduler): fix jumping calendar and add popover
fix(scheduler): fix jumping calendar and add popover

Summary: feat(scheduler): improved calendar picker

Test Plan: manual

Reviewers: bengotow, juan

Differential Revision: https://phab.nylas.com/D2873
2016-04-11 18:23:06 -04:00

26 lines
576 B
JavaScript

import {Reflux} from 'nylas-exports'
const SchedulerActions = Reflux.createActions([
'confirmChoices',
'changeDuration',
'clearProposals',
'removeProposedTime',
'addToProposedTimeBlock',
'startProposedTimeBlock',
'endProposedTimeBlock',
])
for (const key in SchedulerActions) {
if ({}.hasOwnProperty.call(SchedulerActions, key)) {
SchedulerActions[key].sync = true
}
}
NylasEnv.actionBridge.registerGlobalAction({
scope: "SchedulerActions",
name: "confirmChoices",
actionFn: SchedulerActions.confirmChoices,
});
export default SchedulerActions