{"action":"created","issue":{"url":"https://api.github.com/repos/yogstation13/yogstation/issues/1159","repository_url":"https://api.github.com/repos/yogstation13/yogstation","labels_url":"https://api.github.com/repos/yogstation13/yogstation/issues/1159/labels{/name}","comments_url":"https://api.github.com/repos/yogstation13/yogstation/issues/1159/comments","events_url":"https://api.github.com/repos/yogstation13/yogstation/issues/1159/events","html_url":"https://github.com/yogstation13/yogstation/pull/1159","id":154871589,"number":1159,"title":"Chat rework and chat tabs.","user":{"login":"fizzle7","id":10642303,"avatar_url":"https://avatars.githubusercontent.com/u/10642303?v=3","gravatar_id":"","url":"https://api.github.com/users/fizzle7","html_url":"https://github.com/fizzle7","followers_url":"https://api.github.com/users/fizzle7/followers","following_url":"https://api.github.com/users/fizzle7/following{/other_user}","gists_url":"https://api.github.com/users/fizzle7/gists{/gist_id}","starred_url":"https://api.github.com/users/fizzle7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fizzle7/subscriptions","organizations_url":"https://api.github.com/users/fizzle7/orgs","repos_url":"https://api.github.com/users/fizzle7/repos","events_url":"https://api.github.com/users/fizzle7/events{/privacy}","received_events_url":"https://api.github.com/users/fizzle7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-14T19:35:57Z","updated_at":"2016-05-14T20:19:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/yogstation13/yogstation/pulls/1159","html_url":"https://github.com/yogstation13/yogstation/pull/1159","diff_url":"https://github.com/yogstation13/yogstation/pull/1159.diff","patch_url":"https://github.com/yogstation13/yogstation/pull/1159.patch"},"body":"Pre-PR to see what people want and think. Will post images soon.\r\n\r\n- Adds chat tabs: IC, OOC, Admin log.\r\n\r\n- Adds hotkeys for rotating the chat tabs like in chrome, adds hotkey to delete line from input (like CTRL+D). When the tab is opened, the chat verb changes so you can directly chat in OOC instead of using hotkeys. Maintains Tab as a button that accesses the input, that means, you can change the tab while being in typing mode and the verb will change accordingly so you can instantly change from IC and type in OOC.\r\n\r\n- OOC hotkey redirects you to OOC tab so you can cycle tabs, Tab and then type or you can directly hotkey OOC, and type in the input box.\r\n\r\n- Tweaks OOC, redirects all OOC and Admin log output to the appropriate tabs, default is still IC which means stuff like basic byond messages (runtime errors, inaccessible verbs, etc.) and anything that isn't OOC or Admin log (announcements, all ingame content, etc.) goes to the IC tab(it is possible to change it so that all errors and such would be redirected to OOC, but then I'd have to go through every single output to IC and change that because no one thought about actually making output be a single proc, so I'm gonna pass).\r\n\r\nTODO:\r\n\r\n- [ ] Test everything for plebs, admins, donors.\r\n\r\n- [ ] Add notifications for new OOC message.\r\n\r\n- [ ] Attempt a mention system.\r\n\r\n- [ ] Finish redirecting all output to the appropriate tab.\r\n\r\nNeed input on:\r\n\r\n- Color coding new messages (the notification is just gonna be a change of the tab name that says *new message* or something, color coding means changing the borders of what you see as the terminal atm, something similar, to a color that indicates a new message, possibly flashing, etc.\r\n\r\n- New message notification for IC (I'd pass because you are constantly gonna get spammed so it's pointless but I can add it as pref) or Admin Log (again, too much shit going on to tell you if the log has changed, though I guess I could add severity to the log and then only warn admins if something important happens).\r\n\r\n- Preferences to keep old system or have the new tab system.\r\n\r\n- Creating tabs yourself (will require major rework of all output so in any case not in this PR).\r\n\r\n- Where should ASAY go? OOC, IC, separate tab, Admin log(notifications for asay in admin log)?\r\n\r\n- Any output should go in 2 tabs at the same time, or more? Round restart will definitely go into IC and OOC for ease.\r\n\r\nBasically this, if you want anything else, suggest it.\r\n"},"comment":{"url":"https://api.github.com/repos/yogstation13/yogstation/issues/comments/219249451","html_url":"https://github.com/yogstation13/yogstation/pull/1159#issuecomment-219249451","issue_url":"https://api.github.com/repos/yogstation13/yogstation/issues/1159","id":219249451,"user":{"login":"oisin100","id":5003924,"avatar_url":"https://avatars.githubusercontent.com/u/5003924?v=3","gravatar_id":"","url":"https://api.github.com/users/oisin100","html_url":"https://github.com/oisin100","followers_url":"https://api.github.com/users/oisin100/followers","following_url":"https://api.github.com/users/oisin100/following{/other_user}","gists_url":"https://api.github.com/users/oisin100/gists{/gist_id}","starred_url":"https://api.github.com/users/oisin100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oisin100/subscriptions","organizations_url":"https://api.github.com/users/oisin100/orgs","repos_url":"https://api.github.com/users/oisin100/repos","events_url":"https://api.github.com/users/oisin100/events{/privacy}","received_events_url":"https://api.github.com/users/oisin100/received_events","type":"User","site_admin":false},"created_at":"2016-05-14T20:19:28Z","updated_at":"2016-05-14T20:19:28Z","body":"> IC, OOC, Admin log.\r\n\r\nIC And OOC and Asay should be kept together\r\n\r\nAdmin Log should get its own Tab\r\n\r\n> Preferences to keep old system or have the new tab system.\r\n\r\nYes, I like the idea(And i'm sure people will prefer to use the new system more than the old) but i like all  my chat in the same place.\r\n\r\n> Any output should go in 2 tabs at the same time, or more? Round restart will definitely go into IC and OOC for ease.\r\n\r\nIf both IC and OOC are in the same tab this doesn't matter\r\n\r\n> Finish redirecting all output to the appropriate tab.\r\n\r\nGood lord, Good luck with that!"}}