{"action":"created","issue":{"url":"https://api.github.com/repos/PeerSay/Atlas/issues/104","labels_url":"https://api.github.com/repos/PeerSay/Atlas/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/PeerSay/Atlas/issues/104/comments","events_url":"https://api.github.com/repos/PeerSay/Atlas/issues/104/events","html_url":"https://github.com/PeerSay/Atlas/issues/104","id":92024555,"number":104,"title":"It should be allowed to Rename Category / Product / Topic / Criteria without breaking the projects that are pointing to it","user":{"login":"assafharel","id":8779321,"avatar_url":"https://avatars.githubusercontent.com/u/8779321?v=3","gravatar_id":"","url":"https://api.github.com/users/assafharel","html_url":"https://github.com/assafharel","followers_url":"https://api.github.com/users/assafharel/followers","following_url":"https://api.github.com/users/assafharel/following{/other_user}","gists_url":"https://api.github.com/users/assafharel/gists{/gist_id}","starred_url":"https://api.github.com/users/assafharel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/assafharel/subscriptions","organizations_url":"https://api.github.com/users/assafharel/orgs","repos_url":"https://api.github.com/users/assafharel/repos","events_url":"https://api.github.com/users/assafharel/events{/privacy}","received_events_url":"https://api.github.com/users/assafharel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PeerSay/Atlas/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"Pavek","id":1817081,"avatar_url":"https://avatars.githubusercontent.com/u/1817081?v=3","gravatar_id":"","url":"https://api.github.com/users/Pavek","html_url":"https://github.com/Pavek","followers_url":"https://api.github.com/users/Pavek/followers","following_url":"https://api.github.com/users/Pavek/following{/other_user}","gists_url":"https://api.github.com/users/Pavek/gists{/gist_id}","starred_url":"https://api.github.com/users/Pavek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pavek/subscriptions","organizations_url":"https://api.github.com/users/Pavek/orgs","repos_url":"https://api.github.com/users/Pavek/repos","events_url":"https://api.github.com/users/Pavek/events{/privacy}","received_events_url":"https://api.github.com/users/Pavek/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/PeerSay/Atlas/milestones/15","html_url":"https://github.com/PeerSay/Atlas/milestones/Prototype%233%20-%20Sprint%231%20-%20%20Fixes%20within%20the%20current%20UI","labels_url":"https://api.github.com/repos/PeerSay/Atlas/milestones/15/labels","id":1184243,"number":15,"title":"Prototype#3 - Sprint#1 -  Fixes within the current UI","description":"1. Horizontal scroll for the table: \r\n  The current UI is not good - as when adding more products they get a thinner and thinner column in the table. Fix: products size should be fixed (such that 3 products should fit into the page in normal wide screen), there should be an horizontal scroll when there are more products to show.\r\n\r\n2. Mandatory criteria:\r\n  Some criteria are mandatory. The UI should indicate it. When a product doesn’t meet such a Criteria, the entire product can be greyed out. Assaf needs to suggest a UI design for it (changes to criteria selection + and to the decision table)\r\n\r\n3.  Notes per product:\r\n  After the total, each product should have a Notes & recommendation field of it own (and there’s also general notes, recommendation and summary).\r\n\r\n4. Redesign the Dashboard:\r\n  Assaf to suggest a better look & feel to the dashboard.\r\n  Among the suggestions:\r\n  - Essentials looks too messy.\r\n  - Criteria should be presented nicer.\r\n  - In the decision: all products should be presented with their grades (and if mandatory wasn’t met, which one).\r\nI think that products that didn't meet mandatory requirements should be excluded from the dashboard - but should be discussed with the customer.\r\n\r\n5. Functionality criteria should be category based (and change per chosen category)\r\n\r\n6. Popularity with 1 - 5 stars and not with percentage.\r\nI suggest not to use a star notation, because it tends to imply quality and not popularity.\r\nI think some other 1-5 visual (e.g. bars) is better. \r\n\r\n7. Popularity not needed on left side (but text should be wrapped and not end with …)\r\nI think wrapping should be limited in lines, otherwise the view will be cluttered.\r\n\r\n8. Weights cannot start with 1. Instead every topic should get its share of the 100%, and criteria inside should get their share of the 100%. I will explain further (and better) when we discuss this fix.\r\n\r\n9. he user ability to edit the criteria description.","creator":{"login":"assafharel","id":8779321,"avatar_url":"https://avatars.githubusercontent.com/u/8779321?v=3","gravatar_id":"","url":"https://api.github.com/users/assafharel","html_url":"https://github.com/assafharel","followers_url":"https://api.github.com/users/assafharel/followers","following_url":"https://api.github.com/users/assafharel/following{/other_user}","gists_url":"https://api.github.com/users/assafharel/gists{/gist_id}","starred_url":"https://api.github.com/users/assafharel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/assafharel/subscriptions","organizations_url":"https://api.github.com/users/assafharel/orgs","repos_url":"https://api.github.com/users/assafharel/repos","events_url":"https://api.github.com/users/assafharel/events{/privacy}","received_events_url":"https://api.github.com/users/assafharel/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":11,"state":"open","created_at":"2015-06-28T14:55:11Z","updated_at":"2015-07-01T14:05:53Z","due_on":"2015-07-17T21:00:00Z","closed_at":null},"comments":1,"created_at":"2015-06-30T08:30:34Z","updated_at":"2015-07-01T15:03:38Z","closed_at":null,"body":"Currently, the name is part of the ID. This should be fixed so it's possible to rename w/o breaking the projects that are pointing to it."},"comment":{"url":"https://api.github.com/repos/PeerSay/Atlas/issues/comments/117709552","html_url":"https://github.com/PeerSay/Atlas/issues/104#issuecomment-117709552","issue_url":"https://api.github.com/repos/PeerSay/Atlas/issues/104","id":117709552,"user":{"login":"Pavek","id":1817081,"avatar_url":"https://avatars.githubusercontent.com/u/1817081?v=3","gravatar_id":"","url":"https://api.github.com/users/Pavek","html_url":"https://github.com/Pavek","followers_url":"https://api.github.com/users/Pavek/followers","following_url":"https://api.github.com/users/Pavek/following{/other_user}","gists_url":"https://api.github.com/users/Pavek/gists{/gist_id}","starred_url":"https://api.github.com/users/Pavek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pavek/subscriptions","organizations_url":"https://api.github.com/users/Pavek/orgs","repos_url":"https://api.github.com/users/Pavek/repos","events_url":"https://api.github.com/users/Pavek/events{/privacy}","received_events_url":"https://api.github.com/users/Pavek/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T15:03:38Z","updated_at":"2015-07-01T15:03:38Z","body":"Name is part of ID for updateOrInsert mecahnism which requires something unique to look for (otherwise the same item will be added on every server restart) and we use name because of the lack of anything else. So, the possible solution are:\r\n\r\n1. Add IDs to JSON file\r\nCons: need to manually ensure uniqueness, error-prone\r\n\r\n2. Update name in both JSON & DB. Steps are:\r\n- commit new name & push to dev/master\r\n- before pushng to Heroku, go to production DB and change name to match new name\r\n- push to Heroku > will restart server and update of public collections' fields\r\nCons: error-prone\r\n\r\n3. Drop public collection(s) before push to Heroku.\r\nPublic collections will be create anew on next server restart.\r\n\r\n4. The correct way: edit public collections with a custom provate CRUD app\r\nCons: time\r\n\r\nNote: in any case changing name will lead to a duplicate in a selection list if the item is already selected by user (copy of item with old name is made).\r\n\r\nPlease elaborate or let's discuss.\r\n"}}