Commit graph

1694 commits

Author SHA1 Message Date
Evan Morikawa 1de3a47077 feat(composer): can outdent blockquotes allowing you to reply inline
Summary:
You can now break up blockquotes (as in quoted text areas) by pressing
"delete" at the start of a line. This allows you to reply inline.

Test Plan: new tests

Reviewers: bengotow, juan

Reviewed By: bengotow, juan

Differential Revision: https://phab.nylas.com/D2421
2016-01-11 14:46:20 -05:00
Ben Gotow 55f1c537e2 fix(quoted-text): Fix + test case for Sentry 8323, body el is quoted text 2016-01-11 11:14:34 -08:00
Ben Gotow a3d1287ce8 fix(notifications): Fix notification removal [Sentry 8957] 2016-01-11 10:56:17 -08:00
Ben Gotow f7420152df fix(readme): Fix broken links to examples #943 2016-01-11 10:29:57 -08:00
Ben Gotow a4b1e1b147 bump(version): 0.3.39 2016-01-11 09:59:05 -08:00
Juan Tejada 5158ab1e38 fix(injected-component): Correctly call methods to the injected instance
- Adds check to `_runInnerDOMMethod` to check if inner is an UnsafeComponent and
relay the call appropriately
- Removes duplicated logic from `_setRequiredMethods`
2016-01-10 16:25:31 -08:00
Ben Gotow bb9f9d4b84 fix(composer): Temporary patch for broken focus
Long term, we need to refactor this so that it's either entirely controlled or uncontrolled. Potentially use focusin?
2016-01-08 18:45:26 -08:00
Ben Gotow 373d224f0c fix(scroll-region): top:0 or height:0 are valid for scrollToRect [sentry] 2016-01-08 17:47:49 -08:00
Evan Morikawa 99f6749488 fix(composer): undo/redo now properly restores selection on new msg 2016-01-08 16:43:09 -08:00
Ben Gotow de02e17fdb fix(zoom): Only set zoom to valid numeric values 2016-01-08 15:10:54 -08:00
Ben Gotow 8fc1c34c7b bump(version): 0.3.38 2016-01-08 14:37:52 -08:00
Ben Gotow f8ca14e570 style(message-list): Correct alignment of dropdown. Fixes #659 2016-01-08 11:48:14 -08:00
Ben Gotow 7e24a13466 feat(zoom): Allow users to override interface zoom. Fixes #699 2016-01-08 11:32:32 -08:00
Evan Morikawa e5efa80216 test(draft): new tests for promise chain in send draft 2016-01-08 10:57:48 -08:00
Ben Gotow eceac4046c fix(specs): Minor change to templates package for Travis 2016-01-08 10:52:37 -08:00
Ben Gotow 75419273d5 fix(lint): Fix linter issues in template package 2016-01-08 10:47:41 -08:00
Ben Gotow 1dbefa566b bump(version): 0.3.37 2016-01-08 10:16:45 -08:00
Ben Gotow 7474c79c61 Revert "bump(electron): 0.35.4 => 0.36.2"
This reverts commit da607dd508.
2016-01-08 10:06:16 -08:00
Drew Regitsky 348aa69a17 fix(templates): disable outdated tests in templates plugin for now
TODO: update and rewrite tests for templates plugin
2016-01-07 21:13:07 -08:00
Ben Gotow f0336b9822 feat(newsletter): Manage subscription directly from N1 2016-01-07 18:44:40 -08:00
Ben Gotow 53d23d330b rename(templates): Use "Quick Replies" name in plugins screen 2016-01-07 15:23:54 -08:00
Ben Gotow 4abe7cbd48 rm(mispelled): Stranded package.json file 2016-01-07 14:59:10 -08:00
Ben Gotow 84f0d4669f Merge branch 'bengotow/consolidate-plugins' 2016-01-07 14:57:34 -08:00
Ben Gotow f250fe2528 fix(examples): examples => packages, move away from installing them 2016-01-07 14:56:34 -08:00
Michael Grinich 68ec9701d1 add predawn 2016-01-07 14:40:13 -08:00
Michael Grinich b0a7408d05 header size 2016-01-07 10:14:12 -08:00
Michael Grinich 704ecea745 Move links to plugins to this repo. 2016-01-07 10:12:25 -08:00
Evan Morikawa 3e3e2ca666 Add 'default' tasks 2016-01-06 15:55:14 -08:00
Ben Gotow da607dd508 bump(electron): 0.35.4 => 0.36.2 2016-01-06 13:20:27 -08:00
Ben Gotow e0339e9e18 fix(keymaps): Display composer keymaps, fix Apple Mail 2016-01-06 11:44:20 -08:00
Ben Gotow 38e8e0171b Merge pull request #913 from colinking/button_order
Reorder archive and trash icons
2016-01-06 11:31:43 -08:00
Colin King f14a480d30 Reordered archive and trash icons 2016-01-06 14:22:41 -05:00
Ben Gotow 7fabcf6577 fix(rules): Overflow in the prefrences sidebar. Fixes #908 2016-01-06 09:51:42 -08:00
Ben Gotow beb38c85c0 fix(rpm): Treat-deb and-rpm as separate platforms on N1Server 2016-01-05 17:51:02 -08:00
Ben Gotow a9c586cf2b fix(rpm): Upload RPM builds following naming convention 2016-01-05 17:32:11 -08:00
Ben Gotow 9bd77dc449 Merge pull request #903 from mbilker/fix-debian-icons
Copy app icons to `hicolor` on Debian
2016-01-05 16:45:53 -08:00
Ben Gotow 821ac7bb17 bump(changelog): New features / fixes in 0.3.36 2016-01-05 16:28:25 -08:00
mbilker e380ecef72 fix(mkdeb): specify hard path to icon files 2016-01-05 17:44:14 -05:00
Ben Gotow e8239a92ab fix(sig): Remove selectEnd, place cursor before sig
Summary: When focusing the composer, select the end of the last text block above any signatures / quoted text (which can be visible by default in Fwd:).

Test Plan: Run tests

Reviewers: juan, evan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D2411
2016-01-05 14:31:55 -08:00
mbilker 3754dd2d91 fix(mkdeb): copy app icons to hicolor on Debian 2016-01-05 15:24:49 -05:00
Ben Gotow a4e25da9e2 bump(version): 0.3.36 2016-01-05 11:45:05 -08:00
Ben Gotow 1d19533fd8 fix(focus): Minor changes to composer focus logic to focus new drafts
Summary:
Remove FocusTrackingRegion—all CommandRegions should be focusable, and nesting the two creates varying behavior based on which is the parent

Calling focus() on an injected / unsafe component should always do /something/. Try the inner React method, inner DOM method, or call on ourselves

Rename contentEditable._focusEditor to "focus" since it intends to replace default focus behavior

In ComposerView, always change focus via setState, never by calling focus() directly. Rather than tracking `_lastFocusedField`, just focus whenever the activeElement isnt within the focusedField. Make body initial focus when draft is pristine...

...(ensures new drafts are focused)

Test Plan: Run tests

Reviewers: evan, juan

Reviewed By: evan, juan

Differential Revision: https://phab.nylas.com/D2406
2016-01-05 11:34:26 -08:00
Ben Gotow d8a510326f fix(icon): Use app icon on win32, use correct path on Linux 2016-01-05 11:25:36 -08:00
Ben Gotow 4f80e43a46 Merge pull request #892 from colinking/hoveractions_injectable
Move quick actions inside of flexbox with injectable component set
2016-01-05 10:53:23 -08:00
Ben Gotow 71c2878237 Merge pull request #899 from mbilker/fix-linux-grunt-install
Grunt `install` task: Replace `shareDir` with `linuxShareDir` to reflect global changes
2016-01-05 10:03:35 -08:00
mbilker 777ba0f91d fix(grunt): replace shareDir with linuxShareDir to reflect global changes
The `install` task would fail since `linuxShareDir` was undefined for the
template `.desktop` file.
2016-01-04 22:08:20 -05:00
Colin King 8794686688 Moved all quick actions within flexbox from injectable component
Fixed linting issues

Moved away from ComponentRegistry towards InjectComponentSet children
2016-01-04 20:25:59 -05:00
Evan Morikawa a68b03a23e fix(build): debian packages use different share dir 2016-01-04 16:39:43 -08:00
Ben Gotow 247bb15ab4 Merge pull request #866 from mbilker/remove-module-list
Remove log of integration test package installation by default
2016-01-04 12:14:46 -08:00
Ben Gotow 47ddd1ad74 Merge pull request #873 from dcposch/master
Make test output selectable
2016-01-04 12:13:48 -08:00