Commit graph

21 commits

Author SHA1 Message Date
Drew Regitsky
77cf91f292 fix(quickschedule): properly handle errors from QuickSchedule server 2015-12-30 16:46:19 -08:00
Juan Tejada
067a12dc17 fix(extensions):Fix extension method calls that weren't passing args hash 2015-12-30 19:05:27 -05:00
Evan Morikawa
116d375ff7 feat(extension): async extensions
Summary:
WIP:

This is a quick patch for Drew to make extensions async

We'll need to think through the upgrade/deprecation plan to roll out async
extensions across all of our APIs.

Test Plan: TODO

Reviewers: drew, evan, bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D2392
2015-12-30 18:04:52 -05:00
Juan Tejada
cd1ee3f672 fix(extension-adapter): Update adapter to support all versions of extension api we've used
Summary:
- Rewrites composer extension adpater to support all versions of the
  ComposerExtension API we've ever declared. This will allow old plugins (or
  plugins that haven't been reinstalled after update) to keep functioning
  without breaking N1
- Adds specs

Test Plan: - Unit tests

Reviewers: evan, bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D2399
2015-12-30 15:11:37 -05:00
Drew Regitsky
4528734a33 fix(signatures): Wrap signature in a nylas-n1-signature div to allow easy detection
Summary:
Changes the internal signatures plugin to wrap the signature in a
`<div class="nylas-n1-signature">` block, to make it easier to detect and handle
signatures from within other plugins.

Also:
- Fixes the QuickSchedule plugin to place the scheduling block above the signature.
- Fixes a small syntax error in Translate plugin

Test Plan: manual

Reviewers: evan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D2383
2015-12-29 15:33:49 -08:00
Drew Regitsky
a3e986d94a fix(quickschedule): Several UI fixes
Summary:
Fixes a number of smaller UI issues. Fixes T6173, T6207
Full list of changes:
 - Ensure time slots / days display in order
 - Allow time blocks of any size to be set on half hour intervals
 - Don't reset calendar when changing event length
 - Expand calendar on window resize
 - Change window title from "Electron"
 - Add delete button to cancel individual calendar events
 - Move event details box to the left side
 - Prevent addition of duplicate time slots

Test Plan: manual

Reviewers: bengotow

Reviewed By: bengotow

Maniphest Tasks: T6173, T6207

Differential Revision: https://phab.nylas.com/D2333
2015-12-09 16:41:30 -08:00
Ben Gotow
e19a69c4a8 polish(quick-schedule): Use calendar icon in the composer 2015-12-09 10:55:08 -08:00
Ben Gotow
a1bb98ebf4 feat(paste): Paste accepts more HTML, paste and match style now available
Summary:
Related to #320, #494, #515, #553

Ignore newlines and returns in HTML, they can be inside tags

Allow all attributes so that paste from excel looks nice

Never let someone paste a `contenteditable` attribute

Update specs

Test Plan: Run new specs

Reviewers: juan, evan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D2309
2015-12-07 15:34:03 -08:00
Juan Tejada
92365294a3 update(examples): Update examples to use new ExtensionRegistry api
- Remove deprecated use of DraftStoreExtension and DraftStore.register
2015-12-05 01:07:38 -08:00
Drew Regitsky
1dc1ab5b28 fix(examples): small fixes in READMEs 2015-12-01 15:59:00 -08:00
Drew Regitsky
a6ddbae498 fix(examples): Small fixes to QuickSchedule plugin 2015-12-01 15:35:31 -08:00
Drew Regitsky
731c6b7531 fix typo 2015-11-24 16:54:18 -08:00
Drew Regitsky
442e779784 fix(examples): change download instructions in QuickSchedule plugin readme 2015-11-24 16:50:06 -08:00
Drew Regitsky
f5316e1146 fix(examples): remove buggy main.css from quick-schedule plugin 2015-11-24 16:15:51 -08:00
Drew Regitsky
91a5a9acc8 fix(examples): remove autogenerated source from quickschedule plugin 2015-11-24 15:35:55 -08:00
Drew Regitsky
809f4d827e fix(examples): change nylas version in QuickSchedule plugin example 2015-11-24 11:23:46 -08:00
Michael Grinich
03f9af79df Update README.md 2015-11-24 10:34:47 -08:00
Michael Grinich
9ed2b517a8 add screenshot 2015-11-24 10:31:49 -08:00
Michael Grinich
c538b4485d Update README.md 2015-11-24 10:28:07 -08:00
Drew Regitsky
fb22e6eeb2 fix(examples): change quickschedule plugin backend URL to updated version 2015-11-24 00:30:29 -08:00
Drew Regitsky
f248fe9c60 refactor(examples): Rename Send-Availability to QuickSchedule 2015-11-24 00:09:59 -08:00