{"action":"closed","issue":{"url":"https://api.github.com/repos/socialappslab/appcivist-pb-client/issues/644","repository_url":"https://api.github.com/repos/socialappslab/appcivist-pb-client","labels_url":"https://api.github.com/repos/socialappslab/appcivist-pb-client/issues/644/labels{/name}","comments_url":"https://api.github.com/repos/socialappslab/appcivist-pb-client/issues/644/comments","events_url":"https://api.github.com/repos/socialappslab/appcivist-pb-client/issues/644/events","html_url":"https://github.com/socialappslab/appcivist-pb-client/issues/644","id":227704231,"number":644,"title":"Integrate idea section configurations in Campaign Dashboard","user":{"login":"cdparra","id":630150,"avatar_url":"https://avatars1.githubusercontent.com/u/630150?v=3","gravatar_id":"","url":"https://api.github.com/users/cdparra","html_url":"https://github.com/cdparra","followers_url":"https://api.github.com/users/cdparra/followers","following_url":"https://api.github.com/users/cdparra/following{/other_user}","gists_url":"https://api.github.com/users/cdparra/gists{/gist_id}","starred_url":"https://api.github.com/users/cdparra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdparra/subscriptions","organizations_url":"https://api.github.com/users/cdparra/orgs","repos_url":"https://api.github.com/users/cdparra/repos","events_url":"https://api.github.com/users/cdparra/events{/privacy}","received_events_url":"https://api.github.com/users/cdparra/received_events","type":"User","site_admin":false},"labels":[{"id":541954664,"url":"https://api.github.com/repos/socialappslab/appcivist-pb-client/labels/asuncion","name":"asuncion","color":"bfdadc","default":false}],"state":"closed","locked":false,"assignee":{"login":"cdparra","id":630150,"avatar_url":"https://avatars1.githubusercontent.com/u/630150?v=3","gravatar_id":"","url":"https://api.github.com/users/cdparra","html_url":"https://github.com/cdparra","followers_url":"https://api.github.com/users/cdparra/followers","following_url":"https://api.github.com/users/cdparra/following{/other_user}","gists_url":"https://api.github.com/users/cdparra/gists{/gist_id}","starred_url":"https://api.github.com/users/cdparra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdparra/subscriptions","organizations_url":"https://api.github.com/users/cdparra/orgs","repos_url":"https://api.github.com/users/cdparra/repos","events_url":"https://api.github.com/users/cdparra/events{/privacy}","received_events_url":"https://api.github.com/users/cdparra/received_events","type":"User","site_admin":false},"assignees":[{"login":"cdparra","id":630150,"avatar_url":"https://avatars1.githubusercontent.com/u/630150?v=3","gravatar_id":"","url":"https://api.github.com/users/cdparra","html_url":"https://github.com/cdparra","followers_url":"https://api.github.com/users/cdparra/followers","following_url":"https://api.github.com/users/cdparra/following{/other_user}","gists_url":"https://api.github.com/users/cdparra/gists{/gist_id}","starred_url":"https://api.github.com/users/cdparra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdparra/subscriptions","organizations_url":"https://api.github.com/users/cdparra/orgs","repos_url":"https://api.github.com/users/cdparra/repos","events_url":"https://api.github.com/users/cdparra/events{/privacy}","received_events_url":"https://api.github.com/users/cdparra/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/socialappslab/appcivist-pb-client/milestones/36","html_url":"https://github.com/socialappslab/appcivist-pb-client/milestone/36","labels_url":"https://api.github.com/repos/socialappslab/appcivist-pb-client/milestones/36/labels","id":2428277,"number":36,"title":"201705 Sprint 2","description":"","creator":{"login":"cdparra","id":630150,"avatar_url":"https://avatars1.githubusercontent.com/u/630150?v=3","gravatar_id":"","url":"https://api.github.com/users/cdparra","html_url":"https://github.com/cdparra","followers_url":"https://api.github.com/users/cdparra/followers","following_url":"https://api.github.com/users/cdparra/following{/other_user}","gists_url":"https://api.github.com/users/cdparra/gists{/gist_id}","starred_url":"https://api.github.com/users/cdparra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdparra/subscriptions","organizations_url":"https://api.github.com/users/cdparra/orgs","repos_url":"https://api.github.com/users/cdparra/repos","events_url":"https://api.github.com/users/cdparra/events{/privacy}","received_events_url":"https://api.github.com/users/cdparra/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":18,"state":"open","created_at":"2017-04-02T19:13:17Z","updated_at":"2017-05-13T22:34:12Z","due_on":"2017-05-13T07:00:00Z","closed_at":null},"comments":3,"created_at":"2017-05-10T14:42:55Z","updated_at":"2017-05-13T22:34:12Z","closed_at":"2017-05-13T22:34:12Z","body":"- [x] If `appcivist.campaign.enable-ideas-during-proposals` is `TRUE`, show the `Add Idea` link also when the currentComponent is of type PROPOSAL in the Campaign Dashboard\r\n    1. Search the Add Idea link in the campaign dashboard. It is a link with the class \"ideas__add_new\"\r\n    1. Use the newIdeasEnabled variable in the campaign dashboard controller (`app/v2/controller/campaign/dashboard.js`)\r\n    2. Integrate the `user !=null` in the initialization of the variable\r\n    3. In `app/v2/partials/campaign/dashboard.html`, look for the link of class `ideas__add_new` and set the ng-if condition to use only newIdeasEnabled\r\n    4. In the campaign dashboard controller, find the `setIdeasSectionVisibility` and use the `campaignConfigs` object to set the variable to TRUE if the configuration described above exists and has the value TRUE\r\n- [x]  If `appcivist.campaign.open-idea-section-default` initialize the campaign dashboard with the idea section opened by default\r\n    1. In `app/v2/controllers/campaign/dashboard.js`, look for the initialization of the variable ideaSectionExpanded\r\n    2. Set to true if the config is the correct (configs are stored in the campaignConfigs object)\r\n    3. Make sure you set this variable to true after the campaignConfigs have been read\r\n- [x] If `appcivist.campaign.allow-anonymous-ideas` is \"TRUE\", show the `Add Idea` link even if `user === null` "}}
{"actor":{"display_login":"cdparra"}}