Mailspring/examples
Ben Gotow e09d3e3e75 feat(trash): Trash for Gmail, and architectural changes for common tasks
Summary:
This diff centralizes logic for creating common tasks for things like moving to trash, archive, etc. TaskFactory exposes a set of convenience methods and hides the whole "and also remove the current label" business from the user.

This diff also formally separates the concept of "moving to trash" and "archiving" so that "remove" isn't used in an unclear way.

I also refactored where selection is managed. Previously you'd fire some action like archiveSelection and it'd clear the selection, but if you selected some items and used another method to archive a few, they were still selected. The selection is now bound to the ModelView as intended, so if items are removed from the modelView, they are removed from it's attached selection. This means that it shouldn't /technically/ be possible to have selected items which are not in view.

I haven't refactored the tests yet. They are likely broken...

Fix next/prev logic

Test Plan: Run tests

Reviewers: evan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D2157
2015-10-21 10:38:00 -07:00
..
N1-Composer-Templates
N1-Composer-Translate
N1-Filters feat(trash): Trash for Gmail, and architectural changes for common tasks 2015-10-21 10:38:00 -07:00
N1-Github-Contact-Card-Section
N1-Message-View-on-Github
N1-Personal-Level-Indicators
N1-Phishing-Detection fix(phishing-detection): undefined messages no longer throws exception 2015-10-05 14:36:48 -07:00
N1-Send-Availability fix(send-availability): Make the package load into popout composers 2015-10-07 11:45:46 -07:00
README.md actually no more gh-pages 2015-10-05 05:08:53 -07:00

N1 Example Packages

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

See more on https://nylas.com/N1/examples/

Getting Started

To get started, follow the getting started guides here: https://nylas.com/N1/docs/