Gamemanager: replace full-page log refresh with in-place AJAX tailing#168
Merged
iaretechnician merged 5 commits intoJun 1, 2026
Merged
Conversation
Copilot created this pull request from a session on behalf of
iaretechnician
June 1, 2026 17:06
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Game Manager log view was refreshing the full page on each interval tick, which reset user context (scroll/nav/mobile viewport) and caused flicker during log watching. This change converts the view to incremental in-place log updates so only log content refreshes.
Log refresh architecture
Panel/modules/gamemanager/ajax_log.phpas a lightweight endpoint returning raw log text forhome_id/mod_id/ip/port.Cache-Control/Pragma/Expires) to ensure fresh polling reads.UI refresh behavior (
Panel/modules/gamemanager/log.php)#gm-log-output.1s,2s,4s,8s,30s,2m,5m; default remains4s.Scroll-state preservation
<= 50pxfrom bottom).Operational visibility
Log refresh started...Log refresh successful...Log refresh failed...