{"action":"created","issue":{"url":"https://api.github.com/repos/WikiWatershed/model-my-watershed/issues/674","labels_url":"https://api.github.com/repos/WikiWatershed/model-my-watershed/issues/674/labels{/name}","comments_url":"https://api.github.com/repos/WikiWatershed/model-my-watershed/issues/674/comments","events_url":"https://api.github.com/repos/WikiWatershed/model-my-watershed/issues/674/events","html_url":"https://github.com/WikiWatershed/model-my-watershed/pull/674","id":100148430,"number":674,"title":"Save the AOI name with the project.","user":{"login":"lliss","id":903219,"avatar_url":"https://avatars.githubusercontent.com/u/903219?v=3","gravatar_id":"","url":"https://api.github.com/users/lliss","html_url":"https://github.com/lliss","followers_url":"https://api.github.com/users/lliss/followers","following_url":"https://api.github.com/users/lliss/following{/other_user}","gists_url":"https://api.github.com/users/lliss/gists{/gist_id}","starred_url":"https://api.github.com/users/lliss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lliss/subscriptions","organizations_url":"https://api.github.com/users/lliss/orgs","repos_url":"https://api.github.com/users/lliss/repos","events_url":"https://api.github.com/users/lliss/events{/privacy}","received_events_url":"https://api.github.com/users/lliss/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/WikiWatershed/model-my-watershed/labels/in%20review","name":"in review","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"lliss","id":903219,"avatar_url":"https://avatars.githubusercontent.com/u/903219?v=3","gravatar_id":"","url":"https://api.github.com/users/lliss","html_url":"https://github.com/lliss","followers_url":"https://api.github.com/users/lliss/followers","following_url":"https://api.github.com/users/lliss/following{/other_user}","gists_url":"https://api.github.com/users/lliss/gists{/gist_id}","starred_url":"https://api.github.com/users/lliss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lliss/subscriptions","organizations_url":"https://api.github.com/users/lliss/orgs","repos_url":"https://api.github.com/users/lliss/repos","events_url":"https://api.github.com/users/lliss/events{/privacy}","received_events_url":"https://api.github.com/users/lliss/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-08-10T19:29:00Z","updated_at":"2015-08-13T13:29:05Z","closed_at":"2015-08-13T13:29:05Z","pull_request":{"url":"https://api.github.com/repos/WikiWatershed/model-my-watershed/pulls/674","html_url":"https://github.com/WikiWatershed/model-my-watershed/pull/674","diff_url":"https://github.com/WikiWatershed/model-my-watershed/pull/674.diff","patch_url":"https://github.com/WikiWatershed/model-my-watershed/pull/674.patch"},"body":"We had not been saving the AOI name when saving the project. As a result, if\r\nyou reloaded a project and then went back to analyze mode, the name would be\r\nblank. This change allows the AOI name to be persisted as part of the modeling\r\nproject and then restores it to the map when the project is reloaded.\r\n\r\nConnects #648 \r\n\r\nTo test:\r\n * Run migrations\r\n * Log in and start a project. Note the AOI name on the analyze view.\r\n * After the project is saved, refresh the page.\r\n * Hit the back button in the UI to get you to the analyze view.\r\n * Ensure the name above the area calculation for the AOI matches what you'd previously seen."},"comment":{"url":"https://api.github.com/repos/WikiWatershed/model-my-watershed/issues/comments/130671063","html_url":"https://github.com/WikiWatershed/model-my-watershed/pull/674#issuecomment-130671063","issue_url":"https://api.github.com/repos/WikiWatershed/model-my-watershed/issues/674","id":130671063,"user":{"login":"caseypt","id":1042475,"avatar_url":"https://avatars.githubusercontent.com/u/1042475?v=3","gravatar_id":"","url":"https://api.github.com/users/caseypt","html_url":"https://github.com/caseypt","followers_url":"https://api.github.com/users/caseypt/followers","following_url":"https://api.github.com/users/caseypt/following{/other_user}","gists_url":"https://api.github.com/users/caseypt/gists{/gist_id}","starred_url":"https://api.github.com/users/caseypt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caseypt/subscriptions","organizations_url":"https://api.github.com/users/caseypt/orgs","repos_url":"https://api.github.com/users/caseypt/repos","events_url":"https://api.github.com/users/caseypt/events{/privacy}","received_events_url":"https://api.github.com/users/caseypt/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T13:29:05Z","updated_at":"2015-08-13T13:29:05Z","body":"Superseded by #688 "}}