Mailspring/static
Ben Gotow e303705b45 feat(*): draft icon, misc fixes, and WorkspaceStore / custom toolbar in secondary windows
Summary:
Features:
- ThreadListParticipants ignores drafts when computing participants, renders "Draft" label, pending design

- Put the WorkspaceStore in every window—means they all get toolbars and custom gumdrop icons on Mac OS X

Bug Fixes:

- Never display notifications for email the user just sent

- Fix obscure issue with DatabaseView trying to update metadata on items it froze. This resolves issue with names remaining bold after marking as read, drafts not appearing in message list immediately.

- When you pop out a draft, save it first and *wait* for the commit() promise to succeed.

- If you scroll very fast, you node.contentWindow can be null in eventedIframe

Other:

Make it OK to re-register the same component

Make it possible to unregister a hot window

Break the Sheet Toolbar out into it's own file to make things manageable

Replace `package.windowPropsReceived` with a store-style model where anyone can listen for changes to `windowProps`

When I put the WorkspaceStore in every window, I ran into a problem because the package was no longer rendering an instance of the Composer, it was declaring a root sheet with a composer in it. This meant that it was actually a React component that needed to listen to window props, not the package itself.

`atom` is already an event emitter, so I added a `onWindowPropsReceived` hook so that components can listen to window props as if they were listening to a store. I think this might be more flexible than only broadcasting the props change event to packages.

Test Plan: Run tests

Reviewers: evan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D1592
2015-06-03 16:02:19 -07:00
..
components fix(fakt): Switch to otf fonts with correct baseline, remove hacky styles 2015-06-03 11:07:59 -07:00
fonts/FontAwesome
images feat(*): draft icon, misc fixes, and WorkspaceStore / custom toolbar in secondary windows 2015-06-03 16:02:19 -07:00
mixins fix(less): Lint errors preventing successful build 2015-03-05 15:42:38 -08:00
package-template feature(package-management): Package management interface, APM integration 2015-06-02 19:04:21 -07:00
sounds
variables fix(fakt): Switch to otf fonts with correct baseline, remove hacky styles 2015-06-03 11:07:59 -07:00
buttons.less docs(*): Additional docs for DraftStoreExtensions 2015-04-28 10:38:24 -07:00
font-awesome.min.css
index.html feature(templates): Pick templates, fill variable regions, Draft extensions 2015-03-20 10:23:50 -07:00
index.js feat(window-manager): Refactor window code, actually destroy main window when logging out 2015-05-14 14:54:29 -07:00
index.less feat(unsafe-components): Wrap injected components, catch exceptions, clean up ComponentRegistry 2015-04-30 16:10:15 -07:00
inputs.less feat(salesforce): add Lead and Contact syncing 2015-05-14 14:58:42 -07:00
jasmine.less
linux.less
normalize.less fix(less): Lint errors preventing successful build 2015-03-05 15:42:38 -08:00
resizable.less
selection.less fix(lint): fix linting css errors 2015-03-26 14:49:03 -04:00
type.less feat(composer): add popout icon and header styles 2015-03-10 18:14:53 -07:00
utilities.less fix(less): Lint errors preventing successful build 2015-03-05 15:42:38 -08:00
workspace.less feat(*): draft icon, misc fixes, and WorkspaceStore / custom toolbar in secondary windows 2015-06-03 16:02:19 -07:00