{"action":"opened","issue":{"url":"https://api.github.com/repos/Pterodactyl/Panel/issues/706","repository_url":"https://api.github.com/repos/Pterodactyl/Panel","labels_url":"https://api.github.com/repos/Pterodactyl/Panel/issues/706/labels{/name}","comments_url":"https://api.github.com/repos/Pterodactyl/Panel/issues/706/comments","events_url":"https://api.github.com/repos/Pterodactyl/Panel/issues/706/events","html_url":"https://github.com/Pterodactyl/Panel/issues/706","id":268996604,"number":706,"title":"Performance Problems with JS Console","user":{"login":"kaganus","id":1769694,"avatar_url":"https://avatars1.githubusercontent.com/u/1769694?v=4","gravatar_id":"","url":"https://api.github.com/users/kaganus","html_url":"https://github.com/kaganus","followers_url":"https://api.github.com/users/kaganus/followers","following_url":"https://api.github.com/users/kaganus/following{/other_user}","gists_url":"https://api.github.com/users/kaganus/gists{/gist_id}","starred_url":"https://api.github.com/users/kaganus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaganus/subscriptions","organizations_url":"https://api.github.com/users/kaganus/orgs","repos_url":"https://api.github.com/users/kaganus/repos","events_url":"https://api.github.com/users/kaganus/events{/privacy}","received_events_url":"https://api.github.com/users/kaganus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-27T06:01:20Z","updated_at":"2017-10-27T06:01:20Z","closed_at":null,"author_association":"NONE","body":"* Panel or Daemon: Panel\r\n* Version of Panel: 0.6.4\r\n* Server's OS: Ubuntu 16.04\r\n* Your Computer's OS & Browser: Windows 10 PC with Google Chrome, Mozilla Firefox, Opera and Windows 7 laptop with Google Chrome\r\n* uname -a: Linux 4.4.0-97-generic #120-Ubuntu SMP Tue Sep 19 17:28:18 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux\r\n* php -v: PHP 7.0.22-0ubuntu0.16.04.1 (cli) ( NTS )\r\nCopyright (c) 1997-2017 The PHP Group\r\nZend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies\r\n    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.0.3, Copyright (c) 2002-2017, by ionCube Ltd.\r\n    with Zend OPcache v7.0.22-0ubuntu0.16.04.1, Copyright (c) 1999-2017, by Zend Technologies\r\n\r\n## Details:\r\n\r\nThere are a few problems with the new custom made js console since 0.6.4. Talked about this before on discord with Dane, and he confirmed there was a lack of optimization in console code.\r\n\r\nProblem #1: Whole page is frozen/unresponsive until the console fully loads. \r\nEvery time a user clicks on one of his servers, as the server console page is the default page to be shown, browser tab becomes unresponsive for a few seconds (depending on the size of the log) until console is loaded up with all the logs and is rendered. Cannot click on other links on the menu or buttons while browser is in this unresponsive state. (Happens on Chrome, Firefox, Opera)\r\n\r\nProblem #2: Text selection does not work correctly\r\nWhen you want to use your mouse cursor to select some text from the console log, the selection disappears as soon as you release the mouse button. It is the same with double clicking on a word in console, the selection is canceled immediately. To copy text, you have to click CTRL + C without releasing the mouse left button as it cancels the selection.\r\n\r\nOn Firefox, if you select text on multiple lines, the selection is not cancelled and it works correctly, although if you select text from a single line, selection is cancelled immediately. On Chrome and Opera, it doesn't matter if you select text from a single line or multiple lines, it is cancelled immediately after mouse button release.\r\n\r\nProblem #3: Command history sometimes do not work\r\nOn the console command input area, if you click UP or DOWN arrow buttons on your keyboard, it cycles through previously sent commands normally. This works as intended sometimes; but most of the time, it will only show the last command entered, and not go back more in command history. (Only tested it on Google Chrome so far)"}}
{"actor":{"display_login":"kaganus"}}