Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Remove Order #27

Merged
merged 3 commits into from
Feb 19, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions docs/build/schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,7 @@ Represents user information for a trigger, search, or create.
description: 'Gets a new thing for you.',
directions: 'This is how you use the thing.',
hidden: false,
important: true,
order: 12 }`
important: true }`

#### Anti-Examples

Expand All @@ -309,7 +308,6 @@ Key | Required | Type | Description
`directions` | no | `string` | A short blurb that can explain how to get this working. EG: how and where to copy-paste a static hook URL into your application.
`important` | no | `boolean` | Affects how prominently this operation is displayed in the UI. Only mark a few of the most popular operations important.
`hidden` | no | `boolean` | Should this operation be unselectable by users?
`order` | no | `number` | [**DEPRECATED**] Should this operation precede or follow other operations when displayed in the UI?

-----

Expand Down
5 changes: 0 additions & 5 deletions examples/definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
"list": {
"display": {
"label": "New Tag",
"order": 3,
"description": "Trigger when a new Tag is created in your account."
},
"operation": {
Expand Down Expand Up @@ -104,7 +103,6 @@
},
"get": {
"display": {
"order": 4,
"label": "Get User by ID",
"description": "Grab a specific User by ID."
},
Expand Down Expand Up @@ -157,7 +155,6 @@
},
"get": {
"display": {
"order": 1,
"label": "Get Contact by ID",
"description": "Grab a specific Contact by ID."
},
Expand Down Expand Up @@ -272,7 +269,6 @@
"key": "contact_by_tag",
"noun": "Contact",
"display": {
"order": 2,
"label": "New Tagged Contact",
"description": "Trigger when a new Contact is tagged in your account."
},
Expand Down Expand Up @@ -305,7 +301,6 @@
"tag_list": {
"display": {
"label": "New Tag",
"order": 3,
"description": "Trigger when a new Tag is created in your account."
},
"operation": {
Expand Down
5 changes: 0 additions & 5 deletions exported-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -519,11 +519,6 @@
"hidden": {
"description": "Should this operation be unselectable by users?",
"type": "boolean"
},
"order": {
"description":
"[**DEPRECATED**] Should this operation precede or follow other operations when displayed in the UI?",
"type": "number"
}
},
"additionalProperties": false
Expand Down
8 changes: 1 addition & 7 deletions lib/schemas/BasicDisplaySchema.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ module.exports = makeSchema({
description: 'Gets a new thing for you.',
directions: 'This is how you use the thing.',
hidden: false,
important: true,
order: 12
important: true
}
],
antiExamples: [
Expand Down Expand Up @@ -56,11 +55,6 @@ module.exports = makeSchema({
hidden: {
description: 'Should this operation be unselectable by users?',
type: 'boolean'
},
order: {
description:
'[**DEPRECATED**] Should this operation precede or follow other operations when displayed in the UI?',
type: 'number'
}
},
additionalProperties: false
Expand Down