💌 A beautiful, fast and fully open source mail client for Mac, Windows and Linux.
Find a file
Ben Gotow a8a0154c44 fix(MessageContainer): Fix state, prevent from getting different messages. #1175
Summary:
This fixes a serious issue where drafts could appear to be sending if
they were located in the same index of the message list as a draft which was
previously sending.

Under the hood this was due to two bad programming choices:

1) State based on props in MessageContainer requires correct implementation of
   componentWillReceiveProps. This is definitely an anti-pattern.

2) Using item index rather than clientId as the key for items in the MessageList
   caused containers to be given a different message prop when one was inserted,
   rather than just shifting the existing ones down and inserting a new one.

Test Plan: Not sure how to test this really...

Reviewers: drew, juan

Differential Revision: https://phab.nylas.com/D2673
2016-03-03 12:10:03 -08:00
apm
build fix(startup): remove beta references 2016-03-02 17:47:47 -08:00
docs
dot-nylas
examples
internal_packages fix(MessageContainer): Fix state, prevent from getting different messages. #1175 2016-03-03 12:10:03 -08:00
keymaps feat(find-in-thread): add the ability to find in a thread 2016-03-02 14:46:27 -08:00
menus feat(find-in-thread): add the ability to find in a thread 2016-03-02 14:46:27 -08:00
script
spec fix(drafts): Lock drafts when they're deleted so they can't be revived by deltas 2016-03-03 12:09:16 -08:00
spec_integration
src fix(drafts): Lock drafts when they're deleted so they can't be revived by deltas 2016-03-03 12:09:16 -08:00
static feat(find-in-thread): add the ability to find in a thread 2016-03-02 14:46:27 -08:00
.eslintrc
.gitignore
.gitmodules
.travis.yml
appveyor.yml
CHANGELOG.md
CONTRIBUTING.md Example Update 2016-02-27 11:40:39 -05:00
ISSUE_TEMPLATE.md
LICENSE.md
N1.sh fix(launch): convert Atom's launch script for N1 2016-03-02 17:47:47 -08:00
package.json
README.md

N1 Logo

N1 Screenshot

N1 is an open-source mail client built on the modern web with Electron, React, and Flux. It is designed to be extensible, so it's easy to create new experiences and workflows around email. N1 is built on the Nylas Sync Engine which is also open source free software.

Build Status Slack Invite Button ![GitHub issues On Deck](https://badge.waffle.io/nylas/N1.png?label=on deck&title=On Deck)

Download N1

You can download compiled versions of N1 for Windows, Mac OS X, and Linux (.deb) from https://nylas.com/N1. You can also build and run N1 on Fedora. A Fedora distribution is coming soon!

Build A Plugin

Plugins lie at the heart of N1 and give it its powerful features. Building your own plugins allows you to integrate the app with other tools, experiment with new workflows, and more. Follow the Getting Started guide to write your first plugin in 5 minutes.

If you would like to run the N1 source and contribute, check out our contributing guide.

Plugin List

We're working on building a plugin index that makes it super easy to add them to N1. For now, check out the list below! (Feel free to submit a PR if you build a plugin and want it featured here.)

Themes
Composer
Sidebar
Navbar
Threadlist
Message View

Running Locally

By default the N1 source points to our hosted version of the Nylas Sync Engine; however, the Sync Engine is open source and you can run it yourself.

Feature Requests / Plugin Ideas

Have an idea for a package, or a feature you'd love to see in N1? Check out our public Trello board to contribute your thoughts and vote on existing ideas.