Commit graph

66 commits

Author SHA1 Message Date
Ben Gotow 1547234040 Don’t waste CPU animating the tooltip “dots” when in the background 2019-06-16 12:04:53 -05:00
Ben Gotow ee909d5ceb Improve the styling of inline image attachments in the composer 2019-06-14 01:45:00 -05:00
Ben Gotow c02a3b33f1 window.onerror is not always calleed with an error object (resizeobserver issue) 2019-06-13 22:51:10 -05:00
Ben Gotow 5c31fea79f Spring cleaning: Drop the -webkit css prefix where possible 2019-06-11 00:53:19 -05:00
Matt Lyons f20e9c3f39 Add setting to disable email content max width (#251)
commit 84d0997cdca895d321ed6e70f1ab40cf03b14aa0
Author: Ben Gotow <ben@foundry376.com>
Date:   Sun Jun 9 17:36:38 2019 -0500

    A bit of polish

commit 066963a8111d510cab2d87caaa547bdabe581461
Merge: 06d2e4546 8ed229a7c
Author: Ben Gotow <ben@foundry376.com>
Date:   Sun Jun 9 17:07:20 2019 -0500

    Merge branch 'emailWidthFix' of https://github.com/mattlyons0/Mailspring into mattlyons0-emailWidthFix

    # Conflicts:
    #	app/internal_packages/message-list/lib/message-list.tsx
    #	app/internal_packages/message-list/styles/message-list.less
    #	app/src/config-schema.es6

commit 8ed229a7c7
Author: Matt Lyons <matt@mattlyons.net>
Date:   Wed Oct 25 03:02:03 2017 -0700

    Add setting to disable email content max width

    Closes #228
2019-06-09 17:38:57 -05:00
Ben Gotow 31479d25cc Move email iframe overflow CSS to <html> so body height: 100% !important works #1496 2019-05-27 11:17:13 -05:00
Ben Gotow 96c95eef18 Move default icon to a path preserved in packaged app 2019-03-12 23:30:36 -07:00
Ben Gotow 149b389508
Replace Babel with TypeScript compiler, switch entire app to TypeScript 🎉 (#1404)
* Switch to using Typescript instead of Babel

* Switch all es6 / jsx file extensions to ts / tsx

* Convert Utils to a TS module from module.exports style module

* Move everything from module.exports to typescript exports

* Define .d.ts files for mailspring-exports and component kit… Yes it seems this is the best option :(

* Load up on those @types

* Synthesize TS types from PropTypes for standard components

* Add types to Model classes and move constructor constants to instance vars

* 9800 => 7700 TS errors

* 7700 => 5600 TS errors

* 5600 => 5330 TS errors

* 5330 => 4866 TS errors

* 4866 => 4426 TS errors

* 4426 => 2411 TS errors

* 2411 > 1598 TS errors

* 1598 > 769 TS errors

* 769 > 129 TS errors

* 129 > 22 TS errors

* Fix runtime errors

* More runtime error fixes

* Remove support for custom .es6 file extension

* Remove a few odd remaining references to Nylas

* Don’t ship Typescript support in the compiled app for now

* Fix issues in compiled app - module resolution in TS is case sensitive?

* README updates

* Fix a few more TS errors

* Make “No Signature” option clickable + selectable

* Remove flicker when saving file and reloading keymaps

* Fix mail rule item height in preferences

* Fix missing spacing in thread sharing popover

* Fix scrollbar ticks being nested incorrectly

* Add Japanese as a manually reviewed language

* Prevent the thread list from “sticking”

* Re-use Sheet when switching root tabs, prevent sidebar from resetting

* Ensure specs run

* Update package configuration to avoid shpping types

* Turn eslint back on - we will opt-in to the TS rules one by one
2019-03-04 11:03:12 -08:00
Ben Gotow 3e3cad8f9d Make Mailspring less aggressive about wrapping wide emails, prefer horizontal scrolling 2019-02-22 22:53:32 -08:00
Ben Gotow a9c61d135e Add a “View License” menu item similar to Atom’s 2019-01-03 01:11:20 -08:00
Ben Gotow 4d785c4166 Initial crossplatform preview support using pdfjs, mammoth, snarkdown, xlsx
PDFJS, MammothJS and SheetJS require we preserve copyright notices in the app. Need to put those somewhere!

# Conflicts:
#	app/lang/pt-BR.json
2019-01-03 01:11:11 -08:00
Ben Gotow 8a18d2eb4f Add background to thread list that makes scrolling on slow machines less jarring 2018-12-29 08:26:29 -05:00
Ben Gotow 1142b59f72 RTL interface support for Arabic, etc. Flipped UI, fine tuning via RTLCSS 2018-10-15 22:45:24 -07:00
Ben Gotow 732322893c Separate O365, Outlook, add GMX and Yandex, add notes about required settings 2018-08-05 15:20:36 -07:00
Ben Gotow 92ce973ffd macOS Touch Bar support and expanded View and Thread menus 2018-08-02 12:27:40 -07:00
Ben Gotow 8df74d184d Remove explicit gray color to fix ubuntu theme hamburger menu #801 2018-07-08 12:35:28 -05:00
Ben Gotow 740b51f9fa Add a restrictive CSP to the print window 2018-07-06 00:24:30 -05:00
Ben Gotow cb311d32be Bump to Electron 2.0.2 🎉 2018-06-25 00:43:41 -05:00
Ben Gotow af0f389503 Add date (since: yesterday, before: last week) handling to search bar 2018-06-24 23:49:27 -05:00
Ben Gotow 699d67a9f4 Group buttons in the thread toolbar for nicer layout 2018-04-02 20:49:23 -07:00
Ben Gotow 9d327cfd84 Composer perf: Defer plugins & toolbar component rendering 2018-02-13 23:37:55 -08:00
Ben Gotow e7b7b0d06e VACUUM the database at launch periodically to prevent fragmentation issues 2018-02-01 10:32:44 -08:00
Ben Gotow 4af7fe88d5 Improve blockquote styling in message list 2018-01-29 09:15:13 -08:00
Ben Gotow e2e757daab Remove pathwatcher entirely to fix Win32 compilation 2018-01-28 23:01:50 -08:00
Ben Gotow 085c906527 Put tiny “remove quoted text” button back onto quoted text control 2018-01-26 10:57:01 -08:00
Ben Gotow ae72cf1c65 Bump to React 16.2 now that the old composer is gone 🎉
commit 3c10d22199ea6428a6b45c6361d281b1d281ef4f
Author: Ben Gotow <ben@foundry376.com>
Date:   Fri Jan 19 08:10:43 2018 -0800

    Small fixes

commit e7d4ba85eb011a6fd58b57e079bf3a19c19126d8
Author: Ben Gotow <ben@foundry376.com>
Date:   Thu Jan 18 23:47:03 2018 -0800

    Rewrite UnsafeComponent using Error Boundaries

commit aa772694fdee6c57887b75b3abb2e654e146fab5
Author: Ben Gotow <ben@foundry376.com>
Date:   Thu Jan 18 23:15:53 2018 -0800

    Remove GeneratedForm

commit f9ea4296f07d446f942dfc2532deea37db43ddac
Author: Ben Gotow <ben@foundry376.com>
Date:   Thu Jan 18 23:08:45 2018 -0800

    Fully remove calendar related dead code and spec_disabled

    It’s making it hard to see what I need to edit and what I don’t care about

commit 6192ce6073244bc66b7908b66b5033d34e947efb
Author: Ben Gotow <ben@foundry376.com>
Date:   Thu Jan 18 23:08:16 2018 -0800

    Bump to React 16.2 🎉
2018-01-22 22:18:46 -08:00
Ben Gotow 1794025eec Don’t pad <p> tags in emails, handle outlook font faces correctly in editor #529 2018-01-17 17:58:29 -08:00
Ben Gotow 1a3cca8d0a
Totally overhauled composer based on Slate (#524)
* Remove the composer contenteditable, replace with basic <textarea>

* Beginning broader cleanup of draft session

* DraftJS composer with color, style support

* Serialization/unserialization of basic styles, toolbar working

* WIP

* Switch to draft-js-plugins approach, need to revisit HTML

* Move HTML conversion functionality into plugins

* Add spellcheck context menu to editor

* Initial work on quoted text

* Further work on quoted text

* BLOCK approach

* Entity approach - better, does not bump out to top level

* Hiding and showing quoted text via CSS

* Get rid of ability to inject another subject line component

* Clean up specs, DraftFactory to ES6

* Remove old initial focus hack

* Fix focusing, initial text selection

* Remove participant “collapsing” support, it can be confusing

* Correctly terminate links on carriage returns

* Initial signature support, allow removal of uneditable blocks

* Sync body string with body editorstate

* Simplify draft editor session, finish signatures

* Templates

* Minor fixes

* Simplify link/open tracking, ensure it works

* Reorg composer, rework template editor

* Omg the slowness is all the stupid emoji button

* Polish and small fixes

* Performance improvements, new templates UI

* Don’t assume nodes are elements

* Fix for sending drafts twice due to back-to-back saves

* Fix order of operations on app quit to save drafts reliably

* Improve DraftJS-Convert whitespace handling

* Use contentID throughout attachment lifecycle

* Try to fix images

* Switch to Slate instead of DraftJS… much better

* Fix newline handling

* Bug fixes

* Cleanup

* Finish templates plugin

* Clean up text editing / support for Gmail email styles

* Support for color + size on the same node, clean trailing whitespace

* Restore emoji typeahead / emoji picker

* Fix scrolling in template editor

* Fix specs

* Fix newlines

* Re-implement spellcheck to be faster

* Make spellcheck decorator changes invisible to the undo/redo stack

* Remove comment

* Polish themplates panel

* Fix #521
2018-01-11 15:55:56 -08:00
Ben Gotow 5392726536
Linux options for auto hiding / collapsing menubar to right corner #271, #114, #142 (#498)
* WIP

* Editing UI

* Minor fix

* Make theme refs to bar more specific

* Fix ubuntu menu color

* Attempt 2

* Styling

* Restart > Relaunch

* Cleanup

* Linux-style gumdrops, slight ubuntu theme improvements
2018-01-01 13:00:17 -05:00
Ben Gotow f360568e3f Expose option to change interface zoom #176 2017-12-27 10:34:40 -05:00
Ben Gotow 8e7a63d1fe Move windowState to localStorage, remove dead code 2017-12-26 19:00:59 -05:00
Ben Gotow cc6764e1f0 Rename “Quick Replies” to templates 2017-12-06 11:17:17 -08:00
Ben Gotow c5e85dc4a1 Fix issue with nested vertical scrollbars in messages 2017-12-01 18:55:09 -08:00
Ben Gotow e6fe78cf61 Fix: properly implement Basic limits on read receipts / tracking 2017-12-01 14:44:51 -08:00
Ben Gotow 850aede4bf Restructure sync progress reporting to explain long initial sync better 2017-12-01 14:23:54 -08:00
Ben Gotow 817b734682 Give Dark theme a facelift, fix theme bugs 2017-11-10 11:34:10 +01:00
Ben Gotow 02216164dd Flatten odd Toast => UndoToast => URToast composition, fix reappearing toasts 2017-11-09 20:32:41 +01:00
Ben Gotow 251d7c44d1
Activity Summary / Insights v1 🎉
* Initial commit

* SVG-based graph components

* Add histogram, pull data into graphs

* Loading animation, timespan descriptions

* Improvements to read receipt / link tracking section

* Initial pass at subject line analysis

* Fixes to subject-line stats

* Fix theme `ui-variables` include paths

* Add “Share this report” button

* Add “Learn More” button

* Make it more clear how to edit your shortcuts

* Merge activity-list and new activity-dashboard, move in sidebar
2017-11-07 20:05:25 +01:00
Ben Gotow b91dd6dbcd Improve messaging around Mailspring Pro in prefs > identity 2017-11-07 15:59:56 +01:00
Ben Gotow 68c567f03d Use system-ui font inside message bodies on Win32 2017-10-16 15:41:54 -07:00
Ben Gotow 1fc3133dc8 Restore Windows swipe to archive #109 2017-10-15 00:49:52 -07:00
Ben Gotow a6087d58c8 Disable double-tap-to-zoom 2017-10-15 00:02:35 -07:00
Ben Gotow e572e6d186 On Windows, use system-ui font instead of custom font 2017-10-14 17:36:55 -07:00
Ben Gotow 5c16dd08a6 Run CSS/LESS autoformatter on entrie codebase 2017-10-14 17:36:44 -07:00
Ben Gotow 9464963162 Allow users to manually change folder role associations 2017-10-12 13:50:38 -07:00
Ben Gotow 22d948dd2e Fix PATH being undefined in windows on Linux [spellchecker exception] 2017-10-09 00:25:36 -07:00
Ben Gotow 631101fb12 Fix linter errors, replace old references to N1 2017-10-08 11:18:29 -07:00
Ben Gotow 1a9364d229 Fix plugin / theme creation and manual installation 2017-10-05 16:58:56 -07:00
Ben Gotow ec9b771c30 Replace participant sidebar data source, introduce free version query limit 2017-10-05 10:54:52 -07:00
Ben Gotow b6d962843e Rename nylas-component-kit, nylas-exports, nylas-store, nylas-observables 2017-09-26 11:42:18 -07:00