Mailspring/static
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
..
components feat(account-prefs): Adds new page for Account in preferences 2015-12-10 15:27:29 -08:00
fonts/FontAwesome Restoring SearchBar, adding FontAwesome for icons not designed yet 2015-03-03 09:49:15 -08:00
images feat(account-prefs): Adds new page for Account in preferences 2015-12-10 15:27:29 -08:00
mixins refactor(env): new NylasEnv global 2015-11-17 16:41:20 -08:00
package-template refactor(env): new NylasEnv global 2015-11-17 16:41:20 -08:00
sounds feat(notifications): Initial pass at new mail notifications 2015-02-20 12:19:34 -08:00
variables feat(keybindings): Show all keybindings in prefs 2015-12-01 18:31:19 -08:00
babelrc.json fix(babel): Roll back to babel@5, see details 2015-11-07 14:27:18 -08:00
buttons.less fix(prefs): Move to a sheet rather than a window, use configSchema 2015-11-23 12:20:51 -08:00
dropdowns.less Setup styles for dropdown (select) control 2015-10-21 21:27:53 +03:00
email-frame.less fix(styles): Remove custom pre tag styling for email 2015-11-24 12:35:35 -08:00
feedback.html fix(feedback): Move feedback window creation to app process 2015-11-09 12:15:24 -08:00
font-awesome.min.css refactor(env): new NylasEnv global 2015-11-17 16:41:20 -08:00
index.html feat(spec): add config dir to integration specs 2015-12-10 10:52:20 -05:00
index.js feat(spec): add config dir to integration specs 2015-12-10 10:52:20 -05:00
index.less feat(components): Add EditableList component to component-kit 2015-12-07 08:15:40 -08:00
inputs.less fix(ui-dark): Small color adjustments, resolves #299, #148 2015-11-09 18:52:24 -08:00
jasmine.less feat(tests): add integration tests 2015-12-02 13:41:14 -08:00
linux.less
normalize.less refactor(env): new NylasEnv global 2015-11-17 16:41:20 -08:00
react-remote-child.html feat(preferences): WIP Preferences panel 2015-08-14 15:40:11 -07:00
resizable.less button and less changes 2015-03-03 18:09:57 -08:00
selection.less fix(lint): fix linting css errors 2015-03-26 14:49:03 -04:00
type.less feat(keybindings): Show all keybindings in prefs 2015-12-01 18:31:19 -08:00
utilities.less fix(less): Lint errors preventing successful build 2015-03-05 15:42:38 -08:00
workspace.less fix(theme): Improve styling of popout composer in dark mode 2015-11-23 18:28:30 -08:00