{"action":"created","issue":{"url":"https://api.github.com/repos/YashdalfTheGray/flintandsteel/issues/188","labels_url":"https://api.github.com/repos/YashdalfTheGray/flintandsteel/issues/188/labels{/name}","comments_url":"https://api.github.com/repos/YashdalfTheGray/flintandsteel/issues/188/comments","events_url":"https://api.github.com/repos/YashdalfTheGray/flintandsteel/issues/188/events","html_url":"https://github.com/YashdalfTheGray/flintandsteel/pull/188","id":120092356,"number":188,"title":"Tooltips and Backing Dialog","user":{"login":"monotkate","id":11742296,"avatar_url":"https://avatars.githubusercontent.com/u/11742296?v=3","gravatar_id":"","url":"https://api.github.com/users/monotkate","html_url":"https://github.com/monotkate","followers_url":"https://api.github.com/users/monotkate/followers","following_url":"https://api.github.com/users/monotkate/following{/other_user}","gists_url":"https://api.github.com/users/monotkate/gists{/gist_id}","starred_url":"https://api.github.com/users/monotkate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monotkate/subscriptions","organizations_url":"https://api.github.com/users/monotkate/orgs","repos_url":"https://api.github.com/users/monotkate/repos","events_url":"https://api.github.com/users/monotkate/events{/privacy}","received_events_url":"https://api.github.com/users/monotkate/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":29,"created_at":"2015-12-03T04:31:32Z","updated_at":"2015-12-11T20:16:38Z","closed_at":"2015-12-07T00:29:26Z","pull_request":{"url":"https://api.github.com/repos/YashdalfTheGray/flintandsteel/pulls/188","html_url":"https://github.com/YashdalfTheGray/flintandsteel/pull/188","diff_url":"https://github.com/YashdalfTheGray/flintandsteel/pull/188.diff","patch_url":"https://github.com/YashdalfTheGray/flintandsteel/pull/188.patch"},"body":"Added Tooltips.  Opening for discussion some of the wording and appearance.  I worded backing tooltips as contributions to potentially get people used to the term back, but can change it easily.  \r\n\r\nBacking now triggers a dialog window.  This window can be triggered from either the little person icon next to the like (feel free to suggest a different icon), or from the backers window with the button.  If you have already created a back, the little person will trigger an edit instead of an add (tooltip updates as appropriate).  You can also edit from the backers page by clicking on the edit next to your back.  Which I just realized could use a tooltip.  If the window is clicked off in the middle of an edit, it will not submit the edit.  \r\n\r\nThis is going to fail one of the syntax tests because it's using the dialogControllerBack before it's defined.  I would rather leave the definition of it at the bottom instead of the top, however, because it would be obnoxious at the top.  Is there a way to declare ahead of time and define later or am I thinking of another language.  Having trouble finding it tonight.\r\n\r\nOther than that, code should be commented, pass the other checks, and pass tests.  I didn't update the regular tests because while it functions differently on the front end, most all of the actual addition and edit submission is identical.  I can add if necessary though.\r\n\r\nThere may be a few quirks left that I can go back and fix.  I wanted to get some opinions on the appearance of dialog/graphics/tooltips/wording for now, and the backing dialog is functional.  There are certain things I'm not absolutely thrilled with, but they work, and I'm trying to gauge if it needs to be changed or not.  Sometimes a difficult assessment when you're trying to teach people Logix programming at the same time.\r\n\r\nI'm tired and braindead for now.  Please discuss (tear apart) what's up there so I can change it as necessary for a better user experience.  I'm noticing some other things that I'd like to tweak as well, but I might leave that separate from the backers dialog pull.\r\n\r\n@YashdalfTheGray @alanlgirard @Mctalian @Daviddt17 @LongArmMcGee @bcbrennecke @davethenipper "},"comment":{"url":"https://api.github.com/repos/YashdalfTheGray/flintandsteel/issues/comments/164038087","html_url":"https://github.com/YashdalfTheGray/flintandsteel/pull/188#issuecomment-164038087","issue_url":"https://api.github.com/repos/YashdalfTheGray/flintandsteel/issues/188","id":164038087,"user":{"login":"Mctalian","id":5081281,"avatar_url":"https://avatars.githubusercontent.com/u/5081281?v=3","gravatar_id":"","url":"https://api.github.com/users/Mctalian","html_url":"https://github.com/Mctalian","followers_url":"https://api.github.com/users/Mctalian/followers","following_url":"https://api.github.com/users/Mctalian/following{/other_user}","gists_url":"https://api.github.com/users/Mctalian/gists{/gist_id}","starred_url":"https://api.github.com/users/Mctalian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mctalian/subscriptions","organizations_url":"https://api.github.com/users/Mctalian/orgs","repos_url":"https://api.github.com/users/Mctalian/repos","events_url":"https://api.github.com/users/Mctalian/events{/privacy}","received_events_url":"https://api.github.com/users/Mctalian/received_events","type":"User","site_admin":false},"created_at":"2015-12-11T20:16:38Z","updated_at":"2015-12-11T20:16:38Z","body":"One adds an interaction to the array of that particular interaction (push\nto the array of backs for example) the other removes a particular\ninteraction from the appropriate array of interactions (pull from the array\nof backs for example). In Mongo, $push and $pull are atomic in that if\nsomeone else calls a $push or $pull to the same idea, or even same\ninteraction, they do not affect each other.\n\nSo in the context here, we're trying to pull a particular element from the\narray of backs.\n\nDoes this at least shed light on the push and pull?\nOn Dec 11, 2015 2:28 PM, \"monotkate\" <notifications@github.com> wrote:\n\n> Nope, this is a backend issue. I'm actually passing it the backing object\n> super easily in the code, it's just not in the function call.\n>\n> I tracked it to the backend as well. Something funky is going on with your\n> new interaction setup. the db function for updateOnePullArray is getting my\n> back object, but it's not deleting it. This is the same as the other issue\n> where I just don't know where to troubleshoot it past that point.\n>\n> [image: image]\n> <https://cloud.githubusercontent.com/assets/11742296/11753430/14bfd3ea-a013-11e5-8693-cf0fc4535b03.png>\n> [image: image]\n> <https://cloud.githubusercontent.com/assets/11742296/11753453/28cd6faa-a013-11e5-8044-2980e0fd7035.png>\n>\n> I've never been entirely sure why this one is called updateOnePullArray\n> and then updateOnePushArray either, but here's my console log:\n> [image: image]\n> <https://cloud.githubusercontent.com/assets/11742296/11753481/4cc7d76a-a013-11e5-8a15-c3643afc390e.png>\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/YashdalfTheGray/flintandsteel/pull/188#issuecomment-164026695>\n> .\n>\n"}}