{"action":"created","comment":{"url":"https://api.github.com/repos/cozy/cozy-proxy/pulls/comments/81996947","pull_request_review_id":2935331,"id":81996947,"diff_hunk":"@@ -0,0 +1,30 @@\n+# `form` State\n+\n+## Definition\n+State of a form that includes its values but also :\n+ - required field or\n+ - ability to submit or not all the form.\n+\n+```\n+{\n+    <boolean> disabled: false","path":"doc/onboarding/model/form.md","position":10,"original_position":10,"commit_id":"1a2fe527c4bf28c6c87b86e0af79bff8b23b2dfa","original_commit_id":"1a2fe527c4bf28c6c87b86e0af79bff8b23b2dfa","user":{"login":"CPatchane","id":10224453,"avatar_url":"https://avatars.githubusercontent.com/u/10224453?v=3","gravatar_id":"","url":"https://api.github.com/users/CPatchane","html_url":"https://github.com/CPatchane","followers_url":"https://api.github.com/users/CPatchane/followers","following_url":"https://api.github.com/users/CPatchane/following{/other_user}","gists_url":"https://api.github.com/users/CPatchane/gists{/gist_id}","starred_url":"https://api.github.com/users/CPatchane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CPatchane/subscriptions","organizations_url":"https://api.github.com/users/CPatchane/orgs","repos_url":"https://api.github.com/users/CPatchane/repos","events_url":"https://api.github.com/users/CPatchane/events{/privacy}","received_events_url":"https://api.github.com/users/CPatchane/received_events","type":"User","site_admin":false},"body":"Is there a user case when we need a form that is submittable with errors? I only see the case when a step is not mandatory and the user can skip it. If so, I think it's better to use ```skippable``` or ```mandatory``` as boolean here.","created_at":"2016-10-05T15:15:19Z","updated_at":"2016-10-05T15:15:19Z","html_url":"https://github.com/cozy/cozy-proxy/pull/300#discussion_r81996947","pull_request_url":"https://api.github.com/repos/cozy/cozy-proxy/pulls/300","_links":{"self":{"href":"https://api.github.com/repos/cozy/cozy-proxy/pulls/comments/81996947"},"html":{"href":"https://github.com/cozy/cozy-proxy/pull/300#discussion_r81996947"},"pull_request":{"href":"https://api.github.com/repos/cozy/cozy-proxy/pulls/300"}}},"pull_request":{"url":"https://api.github.com/repos/cozy/cozy-proxy/pulls/300","id":87085149,"html_url":"https://github.com/cozy/cozy-proxy/pull/300","diff_url":"https://github.com/cozy/cozy-proxy/pull/300.diff","patch_url":"https://github.com/cozy/cozy-proxy/pull/300.patch","issue_url":"https://api.github.com/repos/cozy/cozy-proxy/issues/300","number":300,"state":"open","locked":false,"title":"Define `stateComponent` API","user":{"login":"misstick","id":1177627,"avatar_url":"https://avatars.githubusercontent.com/u/1177627?v=3","gravatar_id":"","url":"https://api.github.com/users/misstick","html_url":"https://github.com/misstick","followers_url":"https://api.github.com/users/misstick/followers","following_url":"https://api.github.com/users/misstick/following{/other_user}","gists_url":"https://api.github.com/users/misstick/gists{/gist_id}","starred_url":"https://api.github.com/users/misstick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misstick/subscriptions","organizations_url":"https://api.github.com/users/misstick/orgs","repos_url":"https://api.github.com/users/misstick/repos","events_url":"https://api.github.com/users/misstick/events{/privacy}","received_events_url":"https://api.github.com/users/misstick/received_events","type":"User","site_admin":false},"body":"# State Component API \r\n\r\n## Relations between views and state\r\n- [x] describe what's expected as methods/properties,\r\n- [x] describe what's expected to get data from models,\r\n- [x] describe what's expected to listen to data changes,\r\n\r\n## Models\r\nState has to get data from several models:\r\n- [x] describe `user` model,\r\n- [x] describe `step` model,\r\n- [x] describe `form` model,\r\n\r\n\r\n# Onboarding steps API\r\n\r\nEach step is described with:\r\n - URI,\r\n - state,\r\n - actions,\r\n - markup. \r\n\r\n - [x] describe step1,\r\n - [x] describe step2,\r\n - [x] describe step3,\r\n - [x] describe step4,\r\n - [ ] describe step5.","created_at":"2016-09-28T09:35:49Z","updated_at":"2016-10-05T15:15:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"46ecd01a561c5320881d5530ed439740ff20a472","assignee":{"login":"m4dz","id":471486,"avatar_url":"https://avatars.githubusercontent.com/u/471486?v=3","gravatar_id":"","url":"https://api.github.com/users/m4dz","html_url":"https://github.com/m4dz","followers_url":"https://api.github.com/users/m4dz/followers","following_url":"https://api.github.com/users/m4dz/following{/other_user}","gists_url":"https://api.github.com/users/m4dz/gists{/gist_id}","starred_url":"https://api.github.com/users/m4dz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m4dz/subscriptions","organizations_url":"https://api.github.com/users/m4dz/orgs","repos_url":"https://api.github.com/users/m4dz/repos","events_url":"https://api.github.com/users/m4dz/events{/privacy}","received_events_url":"https://api.github.com/users/m4dz/received_events","type":"User","site_admin":false},"assignees":[{"login":"m4dz","id":471486,"avatar_url":"https://avatars.githubusercontent.com/u/471486?v=3","gravatar_id":"","url":"https://api.github.com/users/m4dz","html_url":"https://github.com/m4dz","followers_url":"https://api.github.com/users/m4dz/followers","following_url":"https://api.github.com/users/m4dz/following{/other_user}","gists_url":"https://api.github.com/users/m4dz/gists{/gist_id}","starred_url":"https://api.github.com/users/m4dz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m4dz/subscriptions","organizations_url":"https://api.github.com/users/m4dz/orgs","repos_url":"https://api.github.com/users/m4dz/repos","events_url":"https://api.github.com/users/m4dz/events{/privacy}","received_events_url":"https://api.github.com/users/m4dz/received_events","type":"User","site_admin":false},{"login":"gregorylegarec","id":776764,"avatar_url":"https://avatars.githubusercontent.com/u/776764?v=3","gravatar_id":"","url":"https://api.github.com/users/gregorylegarec","html_url":"https://github.com/gregorylegarec","followers_url":"https://api.github.com/users/gregorylegarec/followers","following_url":"https://api.github.com/users/gregorylegarec/following{/other_user}","gists_url":"https://api.github.com/users/gregorylegarec/gists{/gist_id}","starred_url":"https://api.github.com/users/gregorylegarec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregorylegarec/subscriptions","organizations_url":"https://api.github.com/users/gregorylegarec/orgs","repos_url":"https://api.github.com/users/gregorylegarec/repos","events_url":"https://api.github.com/users/gregorylegarec/events{/privacy}","received_events_url":"https://api.github.com/users/gregorylegarec/received_events","type":"User","site_admin":false},{"login":"CPatchane","id":10224453,"avatar_url":"https://avatars.githubusercontent.com/u/10224453?v=3","gravatar_id":"","url":"https://api.github.com/users/CPatchane","html_url":"https://github.com/CPatchane","followers_url":"https://api.github.com/users/CPatchane/followers","following_url":"https://api.github.com/users/CPatchane/following{/other_user}","gists_url":"https://api.github.com/users/CPatchane/gists{/gist_id}","starred_url":"https://api.github.com/users/CPatchane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CPatchane/subscriptions","organizations_url":"https://api.github.com/users/CPatchane/orgs","repos_url":"https://api.github.com/users/CPatchane/repos","events_url":"https://api.github.com/users/CPatchane/events{/privacy}","received_events_url":"https://api.github.com/users/CPatchane/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/cozy/cozy-proxy/pulls/300/commits","review_comments_url":"https://api.github.com/repos/cozy/cozy-proxy/pulls/300/comments","review_comment_url":"https://api.github.com/repos/cozy/cozy-proxy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cozy/cozy-proxy/issues/300/comments","statuses_url":"https://api.github.com/repos/cozy/cozy-proxy/statuses/1a2fe527c4bf28c6c87b86e0af79bff8b23b2dfa","head":{"label":"cozy:documentation/state-component-API","ref":"documentation/state-component-API","sha":"1a2fe527c4bf28c6c87b86e0af79bff8b23b2dfa","user":{"login":"cozy","id":7690525,"avatar_url":"https://avatars.githubusercontent.com/u/7690525?v=3","gravatar_id":"","url":"https://api.github.com/users/cozy","html_url":"https://github.com/cozy","followers_url":"https://api.github.com/users/cozy/followers","following_url":"https://api.github.com/users/cozy/following{/other_user}","gists_url":"https://api.github.com/users/cozy/gists{/gist_id}","starred_url":"https://api.github.com/users/cozy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cozy/subscriptions","organizations_url":"https://api.github.com/users/cozy/orgs","repos_url":"https://api.github.com/users/cozy/repos","events_url":"https://api.github.com/users/cozy/events{/privacy}","received_events_url":"https://api.github.com/users/cozy/received_events","type":"Organization","site_admin":false},"repo":{"id":3812481,"name":"cozy-proxy","full_name":"cozy/cozy-proxy","owner":{"login":"cozy","id":7690525,"avatar_url":"https://avatars.githubusercontent.com/u/7690525?v=3","gravatar_id":"","url":"https://api.github.com/users/cozy","html_url":"https://github.com/cozy","followers_url":"https://api.github.com/users/cozy/followers","following_url":"https://api.github.com/users/cozy/following{/other_user}","gists_url":"https://api.github.com/users/cozy/gists{/gist_id}","starred_url":"https://api.github.com/users/cozy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cozy/subscriptions","organizations_url":"https://api.github.com/users/cozy/orgs","repos_url":"https://api.github.com/users/cozy/repos","events_url":"https://api.github.com/users/cozy/events{/privacy}","received_events_url":"https://api.github.com/users/cozy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cozy/cozy-proxy","description":"Cozy authentication and routing layer","fork":false,"url":"https://api.github.com/repos/cozy/cozy-proxy","forks_url":"https://api.github.com/repos/cozy/cozy-proxy/forks","keys_url":"https://api.github.com/repos/cozy/cozy-proxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cozy/cozy-proxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cozy/cozy-proxy/teams","hooks_url":"https://api.github.com/repos/cozy/cozy-proxy/hooks","issue_events_url":"https://api.github.com/repos/cozy/cozy-proxy/issues/events{/number}","events_url":"https://api.github.com/repos/cozy/cozy-proxy/events","assignees_url":"https://api.github.com/repos/cozy/cozy-proxy/assignees{/user}","branches_url":"https://api.github.com/repos/cozy/cozy-proxy/branches{/branch}","tags_url":"https://api.github.com/repos/cozy/cozy-proxy/tags","blobs_url":"https://api.github.com/repos/cozy/cozy-proxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cozy/cozy-proxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cozy/cozy-proxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/cozy/cozy-proxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cozy/cozy-proxy/statuses/{sha}","languages_url":"https://api.github.com/repos/cozy/cozy-proxy/languages","stargazers_url":"https://api.github.com/repos/cozy/cozy-proxy/stargazers","contributors_url":"https://api.github.com/repos/cozy/cozy-proxy/contributors","subscribers_url":"https://api.github.com/repos/cozy/cozy-proxy/subscribers","subscription_url":"https://api.github.com/repos/cozy/cozy-proxy/subscription","commits_url":"https://api.github.com/repos/cozy/cozy-proxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/cozy/cozy-proxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/cozy/cozy-proxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/cozy/cozy-proxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/cozy/cozy-proxy/contents/{+path}","compare_url":"https://api.github.com/repos/cozy/cozy-proxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cozy/cozy-proxy/merges","archive_url":"https://api.github.com/repos/cozy/cozy-proxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cozy/cozy-proxy/downloads","issues_url":"https://api.github.com/repos/cozy/cozy-proxy/issues{/number}","pulls_url":"https://api.github.com/repos/cozy/cozy-proxy/pulls{/number}","milestones_url":"https://api.github.com/repos/cozy/cozy-proxy/milestones{/number}","notifications_url":"https://api.github.com/repos/cozy/cozy-proxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cozy/cozy-proxy/labels{/name}","releases_url":"https://api.github.com/repos/cozy/cozy-proxy/releases{/id}","deployments_url":"https://api.github.com/repos/cozy/cozy-proxy/deployments","created_at":"2012-03-23T20:53:26Z","updated_at":"2016-10-03T14:31:10Z","pushed_at":"2016-10-05T12:24:02Z","git_url":"git://github.com/cozy/cozy-proxy.git","ssh_url":"git@github.com:cozy/cozy-proxy.git","clone_url":"https://github.com/cozy/cozy-proxy.git","svn_url":"https://github.com/cozy/cozy-proxy","homepage":"https://cozy.io","size":7402,"stargazers_count":29,"watchers_count":29,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":30,"forks":35,"open_issues":30,"watchers":29,"default_branch":"master"}},"base":{"label":"cozy:development","ref":"development","sha":"29a7b1f17697be8c92e0811a2eec10aef7c0c212","user":{"login":"cozy","id":7690525,"avatar_url":"https://avatars.githubusercontent.com/u/7690525?v=3","gravatar_id":"","url":"https://api.github.com/users/cozy","html_url":"https://github.com/cozy","followers_url":"https://api.github.com/users/cozy/followers","following_url":"https://api.github.com/users/cozy/following{/other_user}","gists_url":"https://api.github.com/users/cozy/gists{/gist_id}","starred_url":"https://api.github.com/users/cozy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cozy/subscriptions","organizations_url":"https://api.github.com/users/cozy/orgs","repos_url":"https://api.github.com/users/cozy/repos","events_url":"https://api.github.com/users/cozy/events{/privacy}","received_events_url":"https://api.github.com/users/cozy/received_events","type":"Organization","site_admin":false},"repo":{"id":3812481,"name":"cozy-proxy","full_name":"cozy/cozy-proxy","owner":{"login":"cozy","id":7690525,"avatar_url":"https://avatars.githubusercontent.com/u/7690525?v=3","gravatar_id":"","url":"https://api.github.com/users/cozy","html_url":"https://github.com/cozy","followers_url":"https://api.github.com/users/cozy/followers","following_url":"https://api.github.com/users/cozy/following{/other_user}","gists_url":"https://api.github.com/users/cozy/gists{/gist_id}","starred_url":"https://api.github.com/users/cozy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cozy/subscriptions","organizations_url":"https://api.github.com/users/cozy/orgs","repos_url":"https://api.github.com/users/cozy/repos","events_url":"https://api.github.com/users/cozy/events{/privacy}","received_events_url":"https://api.github.com/users/cozy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cozy/cozy-proxy","description":"Cozy authentication and routing layer","fork":false,"url":"https://api.github.com/repos/cozy/cozy-proxy","forks_url":"https://api.github.com/repos/cozy/cozy-proxy/forks","keys_url":"https://api.github.com/repos/cozy/cozy-proxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cozy/cozy-proxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cozy/cozy-proxy/teams","hooks_url":"https://api.github.com/repos/cozy/cozy-proxy/hooks","issue_events_url":"https://api.github.com/repos/cozy/cozy-proxy/issues/events{/number}","events_url":"https://api.github.com/repos/cozy/cozy-proxy/events","assignees_url":"https://api.github.com/repos/cozy/cozy-proxy/assignees{/user}","branches_url":"https://api.github.com/repos/cozy/cozy-proxy/branches{/branch}","tags_url":"https://api.github.com/repos/cozy/cozy-proxy/tags","blobs_url":"https://api.github.com/repos/cozy/cozy-proxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cozy/cozy-proxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cozy/cozy-proxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/cozy/cozy-proxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cozy/cozy-proxy/statuses/{sha}","languages_url":"https://api.github.com/repos/cozy/cozy-proxy/languages","stargazers_url":"https://api.github.com/repos/cozy/cozy-proxy/stargazers","contributors_url":"https://api.github.com/repos/cozy/cozy-proxy/contributors","subscribers_url":"https://api.github.com/repos/cozy/cozy-proxy/subscribers","subscription_url":"https://api.github.com/repos/cozy/cozy-proxy/subscription","commits_url":"https://api.github.com/repos/cozy/cozy-proxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/cozy/cozy-proxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/cozy/cozy-proxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/cozy/cozy-proxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/cozy/cozy-proxy/contents/{+path}","compare_url":"https://api.github.com/repos/cozy/cozy-proxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cozy/cozy-proxy/merges","archive_url":"https://api.github.com/repos/cozy/cozy-proxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cozy/cozy-proxy/downloads","issues_url":"https://api.github.com/repos/cozy/cozy-proxy/issues{/number}","pulls_url":"https://api.github.com/repos/cozy/cozy-proxy/pulls{/number}","milestones_url":"https://api.github.com/repos/cozy/cozy-proxy/milestones{/number}","notifications_url":"https://api.github.com/repos/cozy/cozy-proxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cozy/cozy-proxy/labels{/name}","releases_url":"https://api.github.com/repos/cozy/cozy-proxy/releases{/id}","deployments_url":"https://api.github.com/repos/cozy/cozy-proxy/deployments","created_at":"2012-03-23T20:53:26Z","updated_at":"2016-10-03T14:31:10Z","pushed_at":"2016-10-05T12:24:02Z","git_url":"git://github.com/cozy/cozy-proxy.git","ssh_url":"git@github.com:cozy/cozy-proxy.git","clone_url":"https://github.com/cozy/cozy-proxy.git","svn_url":"https://github.com/cozy/cozy-proxy","homepage":"https://cozy.io","size":7402,"stargazers_count":29,"watchers_count":29,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":30,"forks":35,"open_issues":30,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cozy/cozy-proxy/pulls/300"},"html":{"href":"https://github.com/cozy/cozy-proxy/pull/300"},"issue":{"href":"https://api.github.com/repos/cozy/cozy-proxy/issues/300"},"comments":{"href":"https://api.github.com/repos/cozy/cozy-proxy/issues/300/comments"},"review_comments":{"href":"https://api.github.com/repos/cozy/cozy-proxy/pulls/300/comments"},"review_comment":{"href":"https://api.github.com/repos/cozy/cozy-proxy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cozy/cozy-proxy/pulls/300/commits"},"statuses":{"href":"https://api.github.com/repos/cozy/cozy-proxy/statuses/1a2fe527c4bf28c6c87b86e0af79bff8b23b2dfa"}}}}
{"actor":{"display_login":"CPatchane"}}