mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-21 22:54:11 +08:00
- The FocusedContactStore was triggering too often, and leaving it up to the FullcontactStore to fetch the full Contact model for the focused contact (pulled from thread.) The FocusedContactStore triggers more responsibly, and registering for the role "MessageListSidebar:ContactCard" now gives you the focused contact as a full database model. The whole ContactCard region also fades in and out. |
||
---|---|---|
.. | ||
N1-Composer-Translate | ||
N1-Github-Contact-Card-Section | ||
N1-Message-View-on-Github | ||
README.md |
N1 Example Packages
Here you will find well-annotated samples to showcase how to build packages in N1.
Getting Started
- Each package is in its own folder. To try out a package, copy the folder
into
$HOME/.nylas/packages
, runapm install
, and restart N1. - The entry point of each package is the
activate
method oflib/main.cjsx
. Most packages do nothing but register themselves with theComponentRegistry
- Read the annotated source code of the package files.