Skip to content

Commit

Permalink
refactor(packages): Remove Edgeforce
Browse files Browse the repository at this point in the history
  • Loading branch information
emorikawa committed Aug 28, 2015
1 parent 700ade2 commit a0e64bf
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 57 deletions.
3 changes: 1 addition & 2 deletions dot-nylas/config.cson
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
'ui-light'
]
'disabledPackages': [
"calendar-bar",
"salesforce"
"calendar-bar"
]
'updateLevel': 'patch'
2 changes: 1 addition & 1 deletion internal_packages/onboarding/lib/connect-account-page.cjsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class ConnectAccountPage extends Page

<div className="thin-container">
<div className="prompt">Link accounts from other services to supercharge your email.</div>
<button className="btn btn-larger btn-gradient" onClick={=> @_fireAuthAccount('salesforce')}>Salesforce</button>
<p>No more external accounts to link. Add additional features with plugins to Nylas Mail.</p>
</div>

</div>
Expand Down
40 changes: 0 additions & 40 deletions spec-nylas/components/form-builder-spec.cjsx

This file was deleted.

9 changes: 4 additions & 5 deletions src/components/tokenizing-text-field.cjsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,10 @@ class TokenizingTextField extends React.Component
@propTypes:
# An array of current tokens.
#
# A token is usually an object type like a
# `Contact` or a `SalesforceObject`. The set of tokens is stored as a
# prop instead of `state`. This means that when the set of tokens
# needs to be changed, it is the parent's responsibility to make that
# change.
# A token is usually an object type like a `Contact`. The set of
# tokens is stored as a prop instead of `state`. This means that when
# the set of tokens needs to be changed, it is the parent's
# responsibility to make that change.
tokens: React.PropTypes.arrayOf(React.PropTypes.object)

# The maximum number of tokens allowed. When null (the default) and
Expand Down
6 changes: 3 additions & 3 deletions src/flux/models/contact.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ For more information about Contacts on the Nylas Platform, read the
`email`: {AttributeString} The email address of the contact. Queryable.
`thirdPartyData`: {AttributeObject} Extra data that we find out about a
contact. The data is keyed by the service that dumped the data there e.g.
"salesforce" or "fullcontact". The value is an object of raw data in the
form that the service provides
contact. The data is keyed by the 3rd party service that dumped the data
there. The value is an object of raw data in the form that the service
provides
We also have "normalized" optional data for each contact. This list may
grow as the needs of a contact become more complex.
Expand Down
8 changes: 3 additions & 5 deletions src/flux/stores/metadata-store.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@ AccountStore = require '../stores/account-store'
CreateMetadataTask = require '../tasks/create-metadata-task'
DestroyMetadataTask = require '../tasks/destroy-metadata-task'

# TODO: This Store is like many other stores (like the
# SalesforceObjectStore or the SalesforceThreadAssociationStore) in that it has
# to double cache data from the API and the DB with minor variation.
# There's a task to refactor these stores into something like an
# `APIBackedStore` to abstract some of the complex logic out.
# TODO: This Store has to double cache data from the API and the DB with
# minor variation. There's a task to refactor these stores into something
# like an `APIBackedStore` to abstract some of the complex logic out.

MAX_API_RATE = 1000

Expand Down
2 changes: 1 addition & 1 deletion static/variables/ui-variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// 3. Generic font descriptor mixins (.bold, .italic, .h1, .h2)
// --------
// 4. Generic usage descriptor (.btn-text, .p-body)
// 5. Application-specific usage (.message-list-h1, .salesforce-h1)
// 5. Application-specific usage (.message-list-h1)

//=============================== Colors ===============================//
//== Brand colors
Expand Down

0 comments on commit a0e64bf

Please sign in to comment.