Mailspring/internal_packages
Juan Tejada 281e458d39 feat(account-prefs): Adds new page for Account in preferences
Summary:
Adds the new Account preferences page. This consists of two major React components,
PreferencesAccountList and PreferencesAccountDetails, both of which use EditableList.

I added a bunch of fixes and updated the API for EditableList, plus a bit of
refactoring for PreferencesAccount component, and a bunch of CSS so its a big diff.

The detailed changelog:

Updates to EditableList:
  - Fix bug updating selection state when arrows pressed to move selection
  - Add new props:
    - allowEmptySelection to allow the list to have no selection
    - createInputProps to pass aditional props to the createInput
  - Add scroll region for list items
  - Update styles and refactor render methods

Other Updates:
- Updates Account model to hold aliases and a label
  - Adds getter for label to default to email
- Update accountswitcher to display label, update styles and spec

- Refactor PreferencesAccounts component:
  - Splits it into smaller components,
  - Removes unused code
- Splits preferences styelsheets into smaller separate stylesheet for
  account page. Adds some updates and fixes (scroll-region padding)
- Update AccountStore to be able to perform updates on an account.
- Adds new Action to update account, and an action to remove account to
  be consistent with Action usage
- Adds components for Account list and Aliases list using EditableList

Test Plan: - All specs pass, but need to write new tests!

Reviewers: bengotow, evan

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D2332
2015-12-10 15:27:29 -08:00
..
account-sidebar feat(account-prefs): Adds new page for Account in preferences 2015-12-10 15:27:29 -08:00
attachments fix(license): GPLv3 => GPL-3.0 2015-12-07 10:50:47 -08:00
category-picker fix(license): GPLv3 => GPL-3.0 2015-12-07 10:50:47 -08:00
composer feat(account-prefs): Adds new page for Account in preferences 2015-12-10 15:27:29 -08:00
composer-signature fix(license): GPLv3 => GPL-3.0 2015-12-07 10:50:47 -08:00
composer-spellcheck fix(spellcheck): check for existing languages and add tests 2015-12-09 18:10:55 -05:00
events feat(observables): Implementation of observables to replace some stores 2015-12-07 16:52:46 -08:00
feedback bump(electron): 0.34.3 => 0.35.1 2015-11-23 22:09:17 -08:00
inbox-contact-elements fix(license): GPLv3 => GPL-3.0 2015-12-07 10:50:47 -08:00
message-autoload-images fix(license): GPLv3 => GPL-3.0 2015-12-07 10:50:47 -08:00
message-list polish(quick-schedule): Use calendar icon in the composer 2015-12-09 10:55:08 -08:00
mode-switch fix(license): GPLv3 => GPL-3.0 2015-12-07 10:50:47 -08:00
notification-mailto fix(license): GPLv3 => GPL-3.0 2015-12-07 10:50:47 -08:00
notification-update-available fix(license): GPLv3 => GPL-3.0 2015-12-07 10:50:47 -08:00
notifications feat(observables): Implementation of observables to replace some stores 2015-12-07 16:52:46 -08:00
onboarding fix(auth): Log first account creation 2015-12-08 17:05:59 -08:00
plugins fix(license): GPLv3 => GPL-3.0 2015-12-07 10:50:47 -08:00
preferences feat(account-prefs): Adds new page for Account in preferences 2015-12-10 15:27:29 -08:00
print fix(license): GPLv3 => GPL-3.0 2015-12-07 10:50:47 -08:00
search-bar fix(license): GPLv3 => GPL-3.0 2015-12-07 10:50:47 -08:00
sidebar-fullcontact fix(license): GPLv3 => GPL-3.0 2015-12-07 10:50:47 -08:00
system-tray fix(license): GPLv3 => GPL-3.0 2015-12-07 10:50:47 -08:00
thread-list feat(account-prefs): Adds new page for Account in preferences 2015-12-10 15:27:29 -08:00
tooltip fix(license): GPLv3 => GPL-3.0 2015-12-07 10:50:47 -08:00
ui-dark Update README.md 2015-12-10 12:33:10 +05:30
ui-light fix(license): GPLv3 => GPL-3.0 2015-12-07 10:50:47 -08:00
undo-redo fix(theme): Dark mode styling for undo/redo component 2015-12-07 15:11:11 -08:00
unread-notifications feat(account-prefs): Adds new page for Account in preferences 2015-12-10 15:27:29 -08:00
worker-sync feat(observables): Implementation of observables to replace some stores 2015-12-07 16:52:46 -08:00
worker-ui fix(license): GPLv3 => GPL-3.0 2015-12-07 10:50:47 -08:00