Mailspring/examples
Ben Gotow d5f4aa4ac0 fix(message-sidebar): New ContactCard injectable role, updated FocusedContactStore
- 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.
2015-09-24 18:58:53 -07:00
..
N1-Composer-Translate update(examples): Add github sidebar and translate examples 2015-09-21 11:36:54 -07:00
N1-Github-Contact-Card-Section fix(message-sidebar): New ContactCard injectable role, updated FocusedContactStore 2015-09-24 18:58:53 -07:00
N1-Message-View-on-Github update(examples): Add github sidebar and translate examples 2015-09-21 11:36:54 -07:00
README.md fix(README): Remove incorrect links, tell people to run apm 2015-09-21 11:13:24 -07:00

N1 Example Packages

Here you will find well-annotated samples to showcase how to build packages in N1.

Getting Started

  1. Each package is in its own folder. To try out a package, copy the folder into $HOME/.nylas/packages, run apm install, and restart N1.
  2. The entry point of each package is the activate method of lib/main.cjsx. Most packages do nothing but register themselves with the ComponentRegistry
  3. Read the annotated source code of the package files.