Mailspring/internal_packages
Ben Gotow 4fe54c3d1e feat(attachments): Tons of tiny fixes to attachments, drag-and-drop attachments to other apps
Summary:
consolidate all the "untitled" stuff into a convenience method on the File itself. Previously it'd show "Unnamed Attachment", download as "Untitled" and open as "<file.id>". Now it's consistent everywhere and chooses names based on the contenttype (Event.ics).

Rewrite CSS rules for uploads and attachments to be simpler

- remove container divs and classnames from things that have no CSS
- switch to using Flexbox so it's not necesary to have so many containers
- remove zIndex hacks, apply overflow rules to name div only, so long filenames don't make action button unclickable
- consolidate CSS classnames for uploads/attachments
-

Other style fixes

- cursor "default" instead of text insertion on image attachments
- cursor "default" on action buttons
- image uplaods / attachments with long filenames truncate with ellpsis
- attachments are not indented by an extra 15px in message bodies

Prevent progress bar overflow (was ending above 100%, 100.12315%...)

Update FileDownloadStore so it never creates Download objects when file is downloaded already

- Previously, the download itself decided if it would be a no-op, but this meant the download was around for a split second and you'd see progress indicators flash for a moment when opening/saving an attachment.

Upgrade FileDownloadStore use of promises

Restore Image attachment drag and drop - was broken because the name gradient thing was covering the entire drag region.

Allow file attachments to be drag and dropped to the finder and other applications 😍😍😍

Test Plan: Tests still pass

Reviewers: evan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D1745
2015-07-15 13:15:05 -07:00
..
account-sidebar fix(back): Remove "Back to " prefix, centralize into back button itself, align using vertial-align instead of margin-top 2015-07-13 16:33:57 -07:00
attachments feat(attachments): Tons of tiny fixes to attachments, drag-and-drop attachments to other apps 2015-07-15 13:15:05 -07:00
calendar-bar refactor(utils): switch to regular underscore 2015-05-19 16:06:59 -07:00
composer feat(attachments): Tons of tiny fixes to attachments, drag-and-drop attachments to other apps 2015-07-15 13:15:05 -07:00
composer-signature feat(signatures): Initial signature support 2015-07-14 12:20:06 -07:00
developer-bar feat(offline-mode, undo-redo): Tasks handle network errors better and retry, undo/redo based on tasks 2015-07-07 13:38:53 -04:00
file-list feat(attachments): Tons of tiny fixes to attachments, drag-and-drop attachments to other apps 2015-07-15 13:15:05 -07:00
inbox-contact-elements refactor(utils): switch to regular underscore 2015-05-19 16:06:59 -07:00
message-list feat(attachments): Tons of tiny fixes to attachments, drag-and-drop attachments to other apps 2015-07-15 13:15:05 -07:00
message-templates feat(salesforce): new UI for Salesforce 2015-06-17 20:40:08 -07:00
mode-switch fix(assets): New toolbar icons, shadows to achieve less heavy edges on messages 2015-06-26 10:38:07 -07:00
notification-mailto refactor(utils): switch to regular underscore 2015-05-19 16:06:59 -07:00
notification-update-available fix(notifications): Give notifications tag like HTML5 Notifications so you can de-dupe 2015-05-25 10:27:36 -07:00
notifications fix(*): can select participant with space if it's an email 2015-07-13 10:25:30 -04:00
onboarding feat(api): add api-experimental.nylas.com as login option 2015-07-08 13:25:11 -07:00
search-bar fix(search): remove red search x 2015-06-18 09:43:18 -07:00
settings fix(getting-started): New menu item, sample package for devs 2015-07-06 14:23:51 -04:00
sidebar-fullcontact feat(salesforce): new UI for Salesforce 2015-06-17 20:40:08 -07:00
sidebar-inbox-internal Adding ATag component which prevents <a> tags from taking over edgehill when clicked. 2015-06-25 10:28:31 -07:00
thread-list fix(back): Remove "Back to " prefix, centralize into back button itself, align using vertial-align instead of margin-top 2015-07-13 16:33:57 -07:00
today fix(nylas-api): Globally handle 401s and notify user they need to sign in 2015-06-17 12:29:49 -07:00
tooltip fix(tooltip): change tooltip delay to 2 seconds 2015-07-15 14:59:14 -04:00
ui-dark feat(theming): Definitely not hacker mode. I don't know what you're talking about. 2015-06-05 11:40:44 -07:00
ui-light fix(build): Temporarily disable 'Task' tests Jenkins can't run, and avoid empty ui-variables files 2015-06-03 12:04:43 -07:00
unread-notifications fix(thread-list): Narrow mode, and new selection rules for three-pane 2015-06-11 18:00:40 -07:00