{"action":"created","comment":{"url":"https://api.github.com/repos/decidim/decidim/pulls/comments/169672026","pull_request_review_id":98235919,"id":169672026,"diff_hunk":"@@ -0,0 +1,14 @@\n+# frozen_string_literal: true\n+\n+class AddPublishedAtToProposals < ActiveRecord::Migration[5.1]\n+  def up\n+    add_column :decidim_proposals_proposals, :published_at, :datetime, index: true\n+    Decidim::Proposals::Proposal.find_each do |proposal|","path":"decidim-proposals/db/migrate/20171220084719_add_published_at_to_proposals.rb","position":null,"original_position":6,"commit_id":"2ddb21a3dfeaecb10259b94371a618d6a9af5e7b","original_commit_id":"fcf1c4db8105cb533fd4fac6d042ebcea3c7b627","user":{"login":"agustibr","id":210216,"avatar_url":"https://avatars1.githubusercontent.com/u/210216?v=4","gravatar_id":"","url":"https://api.github.com/users/agustibr","html_url":"https://github.com/agustibr","followers_url":"https://api.github.com/users/agustibr/followers","following_url":"https://api.github.com/users/agustibr/following{/other_user}","gists_url":"https://api.github.com/users/agustibr/gists{/gist_id}","starred_url":"https://api.github.com/users/agustibr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agustibr/subscriptions","organizations_url":"https://api.github.com/users/agustibr/orgs","repos_url":"https://api.github.com/users/agustibr/repos","events_url":"https://api.github.com/users/agustibr/events{/privacy}","received_events_url":"https://api.github.com/users/agustibr/received_events","type":"User","site_admin":false},"body":"Ok, I've change it","created_at":"2018-02-21T15:23:58Z","updated_at":"2018-02-21T15:23:58Z","html_url":"https://github.com/decidim/decidim/pull/2697#discussion_r169672026","pull_request_url":"https://api.github.com/repos/decidim/decidim/pulls/2697","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/decidim/decidim/pulls/comments/169672026"},"html":{"href":"https://github.com/decidim/decidim/pull/2697#discussion_r169672026"},"pull_request":{"href":"https://api.github.com/repos/decidim/decidim/pulls/2697"}},"in_reply_to_id":169610250},"pull_request":{"url":"https://api.github.com/repos/decidim/decidim/pulls/2697","id":168251923,"html_url":"https://github.com/decidim/decidim/pull/2697","diff_url":"https://github.com/decidim/decidim/pull/2697.diff","patch_url":"https://github.com/decidim/decidim/pull/2697.patch","issue_url":"https://api.github.com/repos/decidim/decidim/issues/2697","number":2697,"state":"open","locked":false,"title":"Proposal wizard (3 steps)","user":{"login":"agustibr","id":210216,"avatar_url":"https://avatars1.githubusercontent.com/u/210216?v=4","gravatar_id":"","url":"https://api.github.com/users/agustibr","html_url":"https://github.com/agustibr","followers_url":"https://api.github.com/users/agustibr/followers","following_url":"https://api.github.com/users/agustibr/following{/other_user}","gists_url":"https://api.github.com/users/agustibr/gists{/gist_id}","starred_url":"https://api.github.com/users/agustibr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agustibr/subscriptions","organizations_url":"https://api.github.com/users/agustibr/orgs","repos_url":"https://api.github.com/users/agustibr/repos","events_url":"https://api.github.com/users/agustibr/events{/privacy}","received_events_url":"https://api.github.com/users/agustibr/received_events","type":"User","site_admin":false},"body":"#### :tophat: What? Why?\r\n\r\n 1. New proposal or edit draft (3.1)\r\n 2. Compare\r\n 3. Preview\r\n     1. Edit draft\r\n     2. Publish proposal\r\n 4. Published proposal\r\n\r\n#### :pushpin: Related Issues\r\n- Related to #2286\r\n- Related to [Initiative Module Review · Issue #171 · decidim/design](https://github.com/decidim/design/issues/171)\r\n\r\n#### :anchor: Depends on\r\n- PR #2466 \r\n\r\n#### :clipboard: Subtasks\r\n- [x] proposal drafts\r\n- [x] stats dont count drafts\r\n- [x] admin don't show drafts\r\n- [x] Contextual help has to be definable for each step\r\n- [x] Add `CHANGELOG` entry\r\n\r\n\r\n### :camera: Screenshots (optional)\r\n\r\n![screenshot from 2018-02-09 15-20-25](https://user-images.githubusercontent.com/210216/36032040-fa060308-0dac-11e8-9c12-c671f4004f1a.png)\r\n\r\n![screenshot from 2018-02-09 15-20-54](https://user-images.githubusercontent.com/210216/36032045-fe0810f4-0dac-11e8-9ae0-91fcbbca960e.png)\r\n\r\n![screenshot from 2018-02-09 15-21-24](https://user-images.githubusercontent.com/210216/36032048-013dacca-0dad-11e8-8667-637317f19569.png)\r\n\r\n","created_at":"2018-02-09T14:23:24Z","updated_at":"2018-02-21T15:23:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"33438418f2c358f6bd475346f25da009570af44d","assignee":{"login":"agustibr","id":210216,"avatar_url":"https://avatars1.githubusercontent.com/u/210216?v=4","gravatar_id":"","url":"https://api.github.com/users/agustibr","html_url":"https://github.com/agustibr","followers_url":"https://api.github.com/users/agustibr/followers","following_url":"https://api.github.com/users/agustibr/following{/other_user}","gists_url":"https://api.github.com/users/agustibr/gists{/gist_id}","starred_url":"https://api.github.com/users/agustibr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agustibr/subscriptions","organizations_url":"https://api.github.com/users/agustibr/orgs","repos_url":"https://api.github.com/users/agustibr/repos","events_url":"https://api.github.com/users/agustibr/events{/privacy}","received_events_url":"https://api.github.com/users/agustibr/received_events","type":"User","site_admin":false},"assignees":[{"login":"oriolgual","id":5254,"avatar_url":"https://avatars3.githubusercontent.com/u/5254?v=4","gravatar_id":"","url":"https://api.github.com/users/oriolgual","html_url":"https://github.com/oriolgual","followers_url":"https://api.github.com/users/oriolgual/followers","following_url":"https://api.github.com/users/oriolgual/following{/other_user}","gists_url":"https://api.github.com/users/oriolgual/gists{/gist_id}","starred_url":"https://api.github.com/users/oriolgual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oriolgual/subscriptions","organizations_url":"https://api.github.com/users/oriolgual/orgs","repos_url":"https://api.github.com/users/oriolgual/repos","events_url":"https://api.github.com/users/oriolgual/events{/privacy}","received_events_url":"https://api.github.com/users/oriolgual/received_events","type":"User","site_admin":false},{"login":"agustibr","id":210216,"avatar_url":"https://avatars1.githubusercontent.com/u/210216?v=4","gravatar_id":"","url":"https://api.github.com/users/agustibr","html_url":"https://github.com/agustibr","followers_url":"https://api.github.com/users/agustibr/followers","following_url":"https://api.github.com/users/agustibr/following{/other_user}","gists_url":"https://api.github.com/users/agustibr/gists{/gist_id}","starred_url":"https://api.github.com/users/agustibr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agustibr/subscriptions","organizations_url":"https://api.github.com/users/agustibr/orgs","repos_url":"https://api.github.com/users/agustibr/repos","events_url":"https://api.github.com/users/agustibr/events{/privacy}","received_events_url":"https://api.github.com/users/agustibr/received_events","type":"User","site_admin":false},{"login":"Crashillo","id":817526,"avatar_url":"https://avatars1.githubusercontent.com/u/817526?v=4","gravatar_id":"","url":"https://api.github.com/users/Crashillo","html_url":"https://github.com/Crashillo","followers_url":"https://api.github.com/users/Crashillo/followers","following_url":"https://api.github.com/users/Crashillo/following{/other_user}","gists_url":"https://api.github.com/users/Crashillo/gists{/gist_id}","starred_url":"https://api.github.com/users/Crashillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Crashillo/subscriptions","organizations_url":"https://api.github.com/users/Crashillo/orgs","repos_url":"https://api.github.com/users/Crashillo/repos","events_url":"https://api.github.com/users/Crashillo/events{/privacy}","received_events_url":"https://api.github.com/users/Crashillo/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":518062863,"url":"https://api.github.com/repos/decidim/decidim/labels/in-review","name":"in-review","color":"0e8a16","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/decidim/decidim/pulls/2697/commits","review_comments_url":"https://api.github.com/repos/decidim/decidim/pulls/2697/comments","review_comment_url":"https://api.github.com/repos/decidim/decidim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/decidim/decidim/issues/2697/comments","statuses_url":"https://api.github.com/repos/decidim/decidim/statuses/2ddb21a3dfeaecb10259b94371a618d6a9af5e7b","head":{"label":"decidim:feature/proposal-wizard","ref":"feature/proposal-wizard","sha":"2ddb21a3dfeaecb10259b94371a618d6a9af5e7b","user":{"login":"decidim","id":22474646,"avatar_url":"https://avatars3.githubusercontent.com/u/22474646?v=4","gravatar_id":"","url":"https://api.github.com/users/decidim","html_url":"https://github.com/decidim","followers_url":"https://api.github.com/users/decidim/followers","following_url":"https://api.github.com/users/decidim/following{/other_user}","gists_url":"https://api.github.com/users/decidim/gists{/gist_id}","starred_url":"https://api.github.com/users/decidim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/decidim/subscriptions","organizations_url":"https://api.github.com/users/decidim/orgs","repos_url":"https://api.github.com/users/decidim/repos","events_url":"https://api.github.com/users/decidim/events{/privacy}","received_events_url":"https://api.github.com/users/decidim/received_events","type":"Organization","site_admin":false},"repo":{"id":65914086,"name":"decidim","full_name":"decidim/decidim","owner":{"login":"decidim","id":22474646,"avatar_url":"https://avatars3.githubusercontent.com/u/22474646?v=4","gravatar_id":"","url":"https://api.github.com/users/decidim","html_url":"https://github.com/decidim","followers_url":"https://api.github.com/users/decidim/followers","following_url":"https://api.github.com/users/decidim/following{/other_user}","gists_url":"https://api.github.com/users/decidim/gists{/gist_id}","starred_url":"https://api.github.com/users/decidim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/decidim/subscriptions","organizations_url":"https://api.github.com/users/decidim/orgs","repos_url":"https://api.github.com/users/decidim/repos","events_url":"https://api.github.com/users/decidim/events{/privacy}","received_events_url":"https://api.github.com/users/decidim/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/decidim/decidim","description":"The participatory democracy framework. A generator and multiple gems made with Ruby on Rails. ","fork":false,"url":"https://api.github.com/repos/decidim/decidim","forks_url":"https://api.github.com/repos/decidim/decidim/forks","keys_url":"https://api.github.com/repos/decidim/decidim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/decidim/decidim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/decidim/decidim/teams","hooks_url":"https://api.github.com/repos/decidim/decidim/hooks","issue_events_url":"https://api.github.com/repos/decidim/decidim/issues/events{/number}","events_url":"https://api.github.com/repos/decidim/decidim/events","assignees_url":"https://api.github.com/repos/decidim/decidim/assignees{/user}","branches_url":"https://api.github.com/repos/decidim/decidim/branches{/branch}","tags_url":"https://api.github.com/repos/decidim/decidim/tags","blobs_url":"https://api.github.com/repos/decidim/decidim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/decidim/decidim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/decidim/decidim/git/refs{/sha}","trees_url":"https://api.github.com/repos/decidim/decidim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/decidim/decidim/statuses/{sha}","languages_url":"https://api.github.com/repos/decidim/decidim/languages","stargazers_url":"https://api.github.com/repos/decidim/decidim/stargazers","contributors_url":"https://api.github.com/repos/decidim/decidim/contributors","subscribers_url":"https://api.github.com/repos/decidim/decidim/subscribers","subscription_url":"https://api.github.com/repos/decidim/decidim/subscription","commits_url":"https://api.github.com/repos/decidim/decidim/commits{/sha}","git_commits_url":"https://api.github.com/repos/decidim/decidim/git/commits{/sha}","comments_url":"https://api.github.com/repos/decidim/decidim/comments{/number}","issue_comment_url":"https://api.github.com/repos/decidim/decidim/issues/comments{/number}","contents_url":"https://api.github.com/repos/decidim/decidim/contents/{+path}","compare_url":"https://api.github.com/repos/decidim/decidim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/decidim/decidim/merges","archive_url":"https://api.github.com/repos/decidim/decidim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/decidim/decidim/downloads","issues_url":"https://api.github.com/repos/decidim/decidim/issues{/number}","pulls_url":"https://api.github.com/repos/decidim/decidim/pulls{/number}","milestones_url":"https://api.github.com/repos/decidim/decidim/milestones{/number}","notifications_url":"https://api.github.com/repos/decidim/decidim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/decidim/decidim/labels{/name}","releases_url":"https://api.github.com/repos/decidim/decidim/releases{/id}","deployments_url":"https://api.github.com/repos/decidim/decidim/deployments","created_at":"2016-08-17T14:27:06Z","updated_at":"2018-02-21T03:36:55Z","pushed_at":"2018-02-21T15:23:28Z","git_url":"git://github.com/decidim/decidim.git","ssh_url":"git@github.com:decidim/decidim.git","clone_url":"https://github.com/decidim/decidim.git","svn_url":"https://github.com/decidim/decidim","homepage":"http://www.decidim.org","size":38611,"stargazers_count":148,"watchers_count":148,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":59,"mirror_url":null,"archived":false,"open_issues_count":274,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":59,"open_issues":274,"watchers":148,"default_branch":"master"}},"base":{"label":"decidim:master","ref":"master","sha":"da5c16d0ea9e685dcfc0593c4cc659ad94e94804","user":{"login":"decidim","id":22474646,"avatar_url":"https://avatars3.githubusercontent.com/u/22474646?v=4","gravatar_id":"","url":"https://api.github.com/users/decidim","html_url":"https://github.com/decidim","followers_url":"https://api.github.com/users/decidim/followers","following_url":"https://api.github.com/users/decidim/following{/other_user}","gists_url":"https://api.github.com/users/decidim/gists{/gist_id}","starred_url":"https://api.github.com/users/decidim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/decidim/subscriptions","organizations_url":"https://api.github.com/users/decidim/orgs","repos_url":"https://api.github.com/users/decidim/repos","events_url":"https://api.github.com/users/decidim/events{/privacy}","received_events_url":"https://api.github.com/users/decidim/received_events","type":"Organization","site_admin":false},"repo":{"id":65914086,"name":"decidim","full_name":"decidim/decidim","owner":{"login":"decidim","id":22474646,"avatar_url":"https://avatars3.githubusercontent.com/u/22474646?v=4","gravatar_id":"","url":"https://api.github.com/users/decidim","html_url":"https://github.com/decidim","followers_url":"https://api.github.com/users/decidim/followers","following_url":"https://api.github.com/users/decidim/following{/other_user}","gists_url":"https://api.github.com/users/decidim/gists{/gist_id}","starred_url":"https://api.github.com/users/decidim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/decidim/subscriptions","organizations_url":"https://api.github.com/users/decidim/orgs","repos_url":"https://api.github.com/users/decidim/repos","events_url":"https://api.github.com/users/decidim/events{/privacy}","received_events_url":"https://api.github.com/users/decidim/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/decidim/decidim","description":"The participatory democracy framework. A generator and multiple gems made with Ruby on Rails. ","fork":false,"url":"https://api.github.com/repos/decidim/decidim","forks_url":"https://api.github.com/repos/decidim/decidim/forks","keys_url":"https://api.github.com/repos/decidim/decidim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/decidim/decidim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/decidim/decidim/teams","hooks_url":"https://api.github.com/repos/decidim/decidim/hooks","issue_events_url":"https://api.github.com/repos/decidim/decidim/issues/events{/number}","events_url":"https://api.github.com/repos/decidim/decidim/events","assignees_url":"https://api.github.com/repos/decidim/decidim/assignees{/user}","branches_url":"https://api.github.com/repos/decidim/decidim/branches{/branch}","tags_url":"https://api.github.com/repos/decidim/decidim/tags","blobs_url":"https://api.github.com/repos/decidim/decidim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/decidim/decidim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/decidim/decidim/git/refs{/sha}","trees_url":"https://api.github.com/repos/decidim/decidim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/decidim/decidim/statuses/{sha}","languages_url":"https://api.github.com/repos/decidim/decidim/languages","stargazers_url":"https://api.github.com/repos/decidim/decidim/stargazers","contributors_url":"https://api.github.com/repos/decidim/decidim/contributors","subscribers_url":"https://api.github.com/repos/decidim/decidim/subscribers","subscription_url":"https://api.github.com/repos/decidim/decidim/subscription","commits_url":"https://api.github.com/repos/decidim/decidim/commits{/sha}","git_commits_url":"https://api.github.com/repos/decidim/decidim/git/commits{/sha}","comments_url":"https://api.github.com/repos/decidim/decidim/comments{/number}","issue_comment_url":"https://api.github.com/repos/decidim/decidim/issues/comments{/number}","contents_url":"https://api.github.com/repos/decidim/decidim/contents/{+path}","compare_url":"https://api.github.com/repos/decidim/decidim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/decidim/decidim/merges","archive_url":"https://api.github.com/repos/decidim/decidim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/decidim/decidim/downloads","issues_url":"https://api.github.com/repos/decidim/decidim/issues{/number}","pulls_url":"https://api.github.com/repos/decidim/decidim/pulls{/number}","milestones_url":"https://api.github.com/repos/decidim/decidim/milestones{/number}","notifications_url":"https://api.github.com/repos/decidim/decidim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/decidim/decidim/labels{/name}","releases_url":"https://api.github.com/repos/decidim/decidim/releases{/id}","deployments_url":"https://api.github.com/repos/decidim/decidim/deployments","created_at":"2016-08-17T14:27:06Z","updated_at":"2018-02-21T03:36:55Z","pushed_at":"2018-02-21T15:23:28Z","git_url":"git://github.com/decidim/decidim.git","ssh_url":"git@github.com:decidim/decidim.git","clone_url":"https://github.com/decidim/decidim.git","svn_url":"https://github.com/decidim/decidim","homepage":"http://www.decidim.org","size":38611,"stargazers_count":148,"watchers_count":148,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":59,"mirror_url":null,"archived":false,"open_issues_count":274,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":59,"open_issues":274,"watchers":148,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/decidim/decidim/pulls/2697"},"html":{"href":"https://github.com/decidim/decidim/pull/2697"},"issue":{"href":"https://api.github.com/repos/decidim/decidim/issues/2697"},"comments":{"href":"https://api.github.com/repos/decidim/decidim/issues/2697/comments"},"review_comments":{"href":"https://api.github.com/repos/decidim/decidim/pulls/2697/comments"},"review_comment":{"href":"https://api.github.com/repos/decidim/decidim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/decidim/decidim/pulls/2697/commits"},"statuses":{"href":"https://api.github.com/repos/decidim/decidim/statuses/2ddb21a3dfeaecb10259b94371a618d6a9af5e7b"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"agustibr"}}