{"action":"created","issue":{"url":"https://api.github.com/repos/prominic/Moonshine-IDE/issues/302","repository_url":"https://api.github.com/repos/prominic/Moonshine-IDE","labels_url":"https://api.github.com/repos/prominic/Moonshine-IDE/issues/302/labels{/name}","comments_url":"https://api.github.com/repos/prominic/Moonshine-IDE/issues/302/comments","events_url":"https://api.github.com/repos/prominic/Moonshine-IDE/issues/302/events","html_url":"https://github.com/prominic/Moonshine-IDE/issues/302","id":331102318,"node_id":"MDU6SXNzdWUzMzExMDIzMTg=","number":302,"title":"Improvement to exporting process of PrimeFaces Visual Editor","user":{"login":"piotrzarzycki21","id":24554795,"node_id":"MDQ6VXNlcjI0NTU0Nzk1","avatar_url":"https://avatars2.githubusercontent.com/u/24554795?v=4","gravatar_id":"","url":"https://api.github.com/users/piotrzarzycki21","html_url":"https://github.com/piotrzarzycki21","followers_url":"https://api.github.com/users/piotrzarzycki21/followers","following_url":"https://api.github.com/users/piotrzarzycki21/following{/other_user}","gists_url":"https://api.github.com/users/piotrzarzycki21/gists{/gist_id}","starred_url":"https://api.github.com/users/piotrzarzycki21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotrzarzycki21/subscriptions","organizations_url":"https://api.github.com/users/piotrzarzycki21/orgs","repos_url":"https://api.github.com/users/piotrzarzycki21/repos","events_url":"https://api.github.com/users/piotrzarzycki21/events{/privacy}","received_events_url":"https://api.github.com/users/piotrzarzycki21/received_events","type":"User","site_admin":false},"labels":[{"id":827621231,"node_id":"MDU6TGFiZWw4Mjc2MjEyMzE=","url":"https://api.github.com/repos/prominic/Moonshine-IDE/labels/PrimeFaces","name":"PrimeFaces","color":"fbca04","default":false},{"id":663364473,"node_id":"MDU6TGFiZWw2NjMzNjQ0NzM=","url":"https://api.github.com/repos/prominic/Moonshine-IDE/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"piotrzarzycki21","id":24554795,"node_id":"MDQ6VXNlcjI0NTU0Nzk1","avatar_url":"https://avatars2.githubusercontent.com/u/24554795?v=4","gravatar_id":"","url":"https://api.github.com/users/piotrzarzycki21","html_url":"https://github.com/piotrzarzycki21","followers_url":"https://api.github.com/users/piotrzarzycki21/followers","following_url":"https://api.github.com/users/piotrzarzycki21/following{/other_user}","gists_url":"https://api.github.com/users/piotrzarzycki21/gists{/gist_id}","starred_url":"https://api.github.com/users/piotrzarzycki21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotrzarzycki21/subscriptions","organizations_url":"https://api.github.com/users/piotrzarzycki21/orgs","repos_url":"https://api.github.com/users/piotrzarzycki21/repos","events_url":"https://api.github.com/users/piotrzarzycki21/events{/privacy}","received_events_url":"https://api.github.com/users/piotrzarzycki21/received_events","type":"User","site_admin":false},"assignees":[{"login":"piotrzarzycki21","id":24554795,"node_id":"MDQ6VXNlcjI0NTU0Nzk1","avatar_url":"https://avatars2.githubusercontent.com/u/24554795?v=4","gravatar_id":"","url":"https://api.github.com/users/piotrzarzycki21","html_url":"https://github.com/piotrzarzycki21","followers_url":"https://api.github.com/users/piotrzarzycki21/followers","following_url":"https://api.github.com/users/piotrzarzycki21/following{/other_user}","gists_url":"https://api.github.com/users/piotrzarzycki21/gists{/gist_id}","starred_url":"https://api.github.com/users/piotrzarzycki21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotrzarzycki21/subscriptions","organizations_url":"https://api.github.com/users/piotrzarzycki21/orgs","repos_url":"https://api.github.com/users/piotrzarzycki21/repos","events_url":"https://api.github.com/users/piotrzarzycki21/events{/privacy}","received_events_url":"https://api.github.com/users/piotrzarzycki21/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/prominic/Moonshine-IDE/milestones/12","html_url":"https://github.com/prominic/Moonshine-IDE/milestone/12","labels_url":"https://api.github.com/repos/prominic/Moonshine-IDE/milestones/12/labels","id":3412278,"node_id":"MDk6TWlsZXN0b25lMzQxMjI3OA==","number":12,"title":"v1.14.0","description":"","creator":{"login":"piotrzarzycki21","id":24554795,"node_id":"MDQ6VXNlcjI0NTU0Nzk1","avatar_url":"https://avatars2.githubusercontent.com/u/24554795?v=4","gravatar_id":"","url":"https://api.github.com/users/piotrzarzycki21","html_url":"https://github.com/piotrzarzycki21","followers_url":"https://api.github.com/users/piotrzarzycki21/followers","following_url":"https://api.github.com/users/piotrzarzycki21/following{/other_user}","gists_url":"https://api.github.com/users/piotrzarzycki21/gists{/gist_id}","starred_url":"https://api.github.com/users/piotrzarzycki21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotrzarzycki21/subscriptions","organizations_url":"https://api.github.com/users/piotrzarzycki21/orgs","repos_url":"https://api.github.com/users/piotrzarzycki21/repos","events_url":"https://api.github.com/users/piotrzarzycki21/events{/privacy}","received_events_url":"https://api.github.com/users/piotrzarzycki21/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":1,"state":"open","created_at":"2018-06-08T23:03:24Z","updated_at":"2018-06-14T08:45:02Z","due_on":null,"closed_at":null},"comments":12,"created_at":"2018-06-11T09:03:01Z","updated_at":"2018-06-14T11:31:00Z","closed_at":null,"author_association":"COLLABORATOR","body":"Following ideas need to be implement to simplify and improve export process to PrimeFaces project. \r\n \r\nThe general purpose of that issue is give user ability to export project to the existing one.\r\n\r\n1. Export will be possible in two ways.\r\n I. By menu **Project** -> **Export Visual Editor Project** -> **PrimeFaces Browser Project** and select checkbox **Project with existing source**\r\n II. By setting path to the existing project in project **Settings** -> **Paths** -> **Export Path** section.\r\n1. Selected path to export will be saved and available for modification in **Settings** -> **Paths** -> **Export Path** section.\r\n1. Once export path is setup we won't bother user with Export prompt if he choose **Project** -> **Export Visual Editor Project** -> **PrimeFaces Browser Project**. Exporting will start and notify user in the console about the results.\r\n1. Export should be adjusted to allow launch PrimeFaces Grails project. Following [example](https://github.com/prominic/grails3-primefaces-demo) will be used to have it working. \r\n\r\nFollowing file and structure changes should be applied:\r\n* If existing project has pom.xml file it won't be overwrite\r\n* If existing project has src\\main\\webapp\\WEB-INF\\web.xml file it won't be overwrite\r\n* Visual Editor css file layout-styles.css will be renamed to moonshine-layout-styles.css\r\n* General structure of Visual Editor project will be changed to be similar to the exported one.\r\n\r\nAs an example let's assume that project called **Pets** have following files:\r\n\r\n* `Pets.xhtml`\r\n* `dog/Dog.xhtml`\r\n\r\nInstead having following structure (current structure):\r\n`src/Pets.xhtml`\r\n`src/dog/Dog.xhtml`\r\n\r\nIt will be changed to:\r\n`src/main/webapp/Pets.xhtml`\r\n`src/main/webapp/dog/Dog.xhtml`\r\n\r\n**Structures of exported project:** \r\n\r\n`grails-app/assets/stylesheets/moonshine-layout-styles.css` - (**if grails-app folder exists**)\r\n`src/main/resources/moonshine-layout-styles.css` - (**if grails-app folder doesn't exists**)\r\n`src/main/webapp/WEB-INF/web.xml`\r\n`src/main/webapp/index.xhtml` - (`Pets.xhtml` **name is being changed to index.html because it's main file project**)\r\n`src/main/webapp/dog/Dog.xhtml`\r\n`pom.xml`\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/prominic/Moonshine-IDE/issues/comments/397262694","html_url":"https://github.com/prominic/Moonshine-IDE/issues/302#issuecomment-397262694","issue_url":"https://api.github.com/repos/prominic/Moonshine-IDE/issues/302","id":397262694,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzI2MjY5NA==","user":{"login":"piotrzarzycki21","id":24554795,"node_id":"MDQ6VXNlcjI0NTU0Nzk1","avatar_url":"https://avatars2.githubusercontent.com/u/24554795?v=4","gravatar_id":"","url":"https://api.github.com/users/piotrzarzycki21","html_url":"https://github.com/piotrzarzycki21","followers_url":"https://api.github.com/users/piotrzarzycki21/followers","following_url":"https://api.github.com/users/piotrzarzycki21/following{/other_user}","gists_url":"https://api.github.com/users/piotrzarzycki21/gists{/gist_id}","starred_url":"https://api.github.com/users/piotrzarzycki21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotrzarzycki21/subscriptions","organizations_url":"https://api.github.com/users/piotrzarzycki21/orgs","repos_url":"https://api.github.com/users/piotrzarzycki21/repos","events_url":"https://api.github.com/users/piotrzarzycki21/events{/privacy}","received_events_url":"https://api.github.com/users/piotrzarzycki21/received_events","type":"User","site_admin":false},"created_at":"2018-06-14T11:30:59Z","updated_at":"2018-06-14T11:30:59Z","author_association":"COLLABORATOR","body":"@rat-moonshine  The last thing with that issue is Include and my comment https://github.com/prominic/Moonshine-IDE/issues/300#issuecomment-396898679. If there wouldn't be any changes to that I will start working in that area and merge that stuff to to master."}}
{"actor":{"display_login":"piotrzarzycki21"}}