Commit graph

3020 commits

Author SHA1 Message Date
Juan Tejada
51d51fb47e feat(mail-merge): Add ability to drop tokens in subject
Summary:
Adds ability to drop tokens in subject via a custom rendered subject field which
renders a contenteditable instead of an input.
Decided to completely replace the subject field via injected components for a
few resons:
  - That's the way we are currently extending the functionality of the participant fields, so it keeps the plugin code consistent (at the cost of potentially more code)
  - Completely replacing the subject for a contenteditable means we hace to do extra work to clean up the html before sending.
  - Reusing our Contenteditable.cjsx class for the subject is overkill, but using a vanilla contenteditable meant duplicating a bunch of the code in that class if we want to add

Test Plan: Unit tests

Reviewers: bengotow, evan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D2949
2016-05-12 10:47:41 -07:00
Jackie Luo
ce0bf93cdc 🎨(dark): Update theme colors 2016-05-12 01:05:26 -07:00
Ben Gotow
ad32e6081d fix(draft-session): Never show body with transforms applied 2016-05-11 17:09:23 -07:00
Ben Gotow
57ac866021 fix(pli): Design PLI indicators #2148 2016-05-11 17:09:23 -07:00
Juan Tejada
8d84ef9fab fix(build): Fix linter errors 2016-05-11 16:38:30 -07:00
Juan Tejada
ab55bc68ea fix(build): Fix lint issues and specs 2016-05-11 15:33:52 -07:00
Juan Tejada
eb79ce9d44 specs(table): Add specs for table components
Summary:
- Add some docs to Table components
- Updates Table components to use a TableDataSource instead of accessing arrays, cleans up code a bit
- Add enzyme lib to have a cleaner and simpler api to write tests for React Components
- Updates decorators to extend from the BaseComponent instead of vanilla Component, this way instance methods are still available on composed components

Test Plan: - Unit tests

Reviewers: evan, bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D2941
2016-05-11 14:36:59 -07:00
Juan Tejada
4c49c143e8 fix(search): Add double quote escaping to search query
- Fixes sentry fts error
2016-05-11 12:32:54 -07:00
Juan Tejada
7647fd396b fix(query-subs): Fix onLastCallbackRemoved overriding with correct class syntax
- Using arrow function syntax for a class method that is meant to be overriden
will prevent it from being properly overriden
- This caused onLastCallbackRemoved not to be called
2016-05-11 12:23:58 -07:00
Juan Tejada
3e21a89a88 fixt(print): Update print header logo 2016-05-11 11:33:12 -07:00
Juan Tejada
8991069ea2 fix(build): Bump minor react version (fix peer dep resolution) 2016-05-11 11:25:04 -07:00
Juan Tejada
a2e72d9d29 fix(extensions): Add name of extension incorrectly applying transforms 2016-05-11 10:57:57 -07:00
Juan Tejada
c564b2c0f7 fix(delta-streaming): Fix stale cursor key in config file 2016-05-11 10:34:29 -07:00
Ben Gotow
134284ff9c fix(build): Defer require of parent node modules until they're fetched #2184 2016-05-10 19:08:41 -07:00
Ben Gotow
b5ef44daaf fix(accounts): Any account update triggered focus #2165 2016-05-10 10:53:59 -07:00
Ben Gotow
a83822d5ce fix(draft-factory): ReplyTo takes precedence over "from me" #2175 2016-05-10 10:33:46 -07:00
Juan Tejada
48abc9dd9e Revert "fix(print): Update logo"
This reverts commit bff232e892.
2016-05-09 23:43:36 -07:00
Juan Tejada
bff232e892 fix(print): Update logo 2016-05-09 20:13:32 -07:00
Ben Gotow
182b8fe37e fix(shortcuts): Add Cmd+[, Cmd+] to Apple Mail preset #1332 2016-05-09 17:34:59 -07:00
Ben Gotow
304d3d7138 fix(spam): Better icons for spam / not spam #2107 2016-05-09 17:28:52 -07:00
Ben Gotow
18262d043b fix(menus): Always show main win in menu, move Activity #1314 2016-05-09 17:28:52 -07:00
Ben Gotow
c4b5b4b779 fix(prefs): ? shortcut for "Show Keybindings" #1144 2016-05-09 17:28:52 -07:00
Ben Gotow
c441913f0e fix(drafts): Support additional deletion shortcuts #939 2016-05-09 17:28:52 -07:00
Ben Gotow
da07fe21ab feat(not-spam): Unmark items as junk / spam #2112 2016-05-09 17:28:52 -07:00
Jackie Luo
99a345eadb update(readme): Add themes 2016-05-09 17:10:40 -07:00
Ben Gotow
35d5f29b82 fix(thread-list): Add missing displayName, ES6 2016-05-09 13:18:07 -07:00
Ben Gotow
a5e3bf86c2 fix(notifs): Don't play notification sounds over and over #1910, #2179 2016-05-09 13:09:10 -07:00
Evan Morikawa
6910520dc5 fix(lint): fix minor linter issue 2016-05-09 13:42:18 -04:00
Evan Morikawa
ae81f8f7c6 fix(win): windows can re-launch with/without dev mode flag
Fixes https://github.com/nylas/N1/issues/2142
2016-05-09 13:36:46 -04:00
Evan Morikawa
335a20aabb fix(window): don't show if initialized in background
Fixes https://github.com/nylas/N1/issues/2149
2016-05-09 12:51:36 -04:00
Alexander Adkins
92a54f8013 Added Less Is More (#2168)
* Added Less Is More Theme to internal-packages and README.md

* fixed Less Is More title in README.md

* removed units for values of zero

* updated readme, package title fix, theme topbar fix, message list adjustments
2016-05-09 09:46:50 -07:00
Evan Morikawa
87b3402494 feat(react): add react perf tools package 2016-05-09 12:01:05 -04:00
Evan Morikawa
34373e6de3 fix(build): rename babel task to .js to be picked up by grunt 2016-05-06 16:46:36 -07:00
Robert Stanfield
be48fc4305 The horizontal scrollbar was not showing up when viewing an email (#2028) 2016-05-06 16:44:30 -07:00
Evan Morikawa
e1f689de6f fix(spec): fix injected component spec 2016-05-06 16:42:55 -07:00
Evan Morikawa
1498bcfac6 fix(lint): final linter fixes
fix(lint): final set of linter fixes
2016-05-06 16:32:34 -07:00
Ben Gotow
41ae914b9d fix(lint): Various linter fixes 2016-05-06 16:23:48 -07:00
Ben Gotow
42ef0e98a4 fix(lint): Various linter issues 2016-05-06 16:06:16 -07:00
Evan Morikawa
2bcfedf7a4 fix(lint): fix various linter issues 2016-05-06 14:36:11 -07:00
Evan Morikawa
4fed2b452e fix(lint): various linter fixes 2016-05-06 14:11:05 -07:00
Ben Gotow
d961b1e4d4 fix(lint): Correct more linter errors 2016-05-06 14:10:28 -07:00
Evan Morikawa
bb861d494f fix(lint): fixing various linter errors.
746 left
2016-05-06 13:42:09 -07:00
Evan Morikawa
805221dfa3 fix(linter): object-shorthand, quote-props
object-shorthand got turned off. We think it's fine to say {foo: foo} if
you want

quote-props is error consistent as neeeded.

Use custom file-by-file rules for global-require
2016-05-06 12:41:52 -07:00
Ben Gotow
036eb2dbce fix(drag): Allow sections of the sidebar to expand on drag 2016-05-06 12:41:09 -07:00
Evan Morikawa
69574e58b4 feat(babel6): remove eslinter fixer task 2016-05-06 12:20:16 -07:00
Evan Morikawa
09e9c80af4 feat(babel6): update unused prop syntax 2016-05-06 12:13:07 -07:00
Evan Morikawa
9355a2635d feat(babel6): fix es6 importing from coffee 2016-05-06 12:00:45 -07:00
Evan Morikawa
3b7b199d69 feat(babel6): Use published babel-preset-electron 2016-05-06 11:55:58 -07:00
Evan Morikawa
9c28088797 feat(babel6): 1,043 linter errors 2016-05-06 11:55:57 -07:00
Evan Morikawa
cda4129a41 feat(babel6): 1,240 linter errors 2016-05-06 11:55:55 -07:00