Mailspring/internal_packages/message-list/lib
Ben Gotow abcf2b7dad 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
..
email-frame.cjsx feat(quoted-text): New quoted text engine 2015-07-08 09:51:33 -07:00
main.cjsx 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
message-controls.cjsx feat(quoted-text): New quoted text engine 2015-07-08 09:51:33 -07:00
message-item.cjsx feat(attachments): Tons of tiny fixes to attachments, drag-and-drop attachments to other apps 2015-07-15 13:15:05 -07:00
message-list.cjsx fix(reply-behavior): Reply keyboard shortcuts update existing draft rather than creating new ones 2015-07-13 16:30:02 -07:00
message-participants.cjsx refactor(utils): switch to regular underscore 2015-05-19 16:06:59 -07:00
message-timestamp.cjsx fix(*): minor fixes 2015-06-26 07:06:57 -07:00
message-toolbar-items.cjsx feat(starring): Star/unstar from the message detail view 2015-06-25 10:33:26 -07:00
sidebar-thread-participants.cjsx refactor(utils): switch to regular underscore 2015-05-19 16:06:59 -07:00
thread-archive-button.cjsx feat(theming): Definitely not hacker mode. I don't know what you're talking about. 2015-06-05 11:40:44 -07:00
thread-star-button.cjsx fix(counts): Centralize handling of unread count / draft count 2015-06-26 16:02:08 -07:00
thread-tags-button.cjsx feat(theming): Definitely not hacker mode. I don't know what you're talking about. 2015-06-05 11:40:44 -07:00