Skip to content

Optimize guide reloads and improve editor/AE2 previews - #65

Merged
ABKQPO merged 25 commits into
masterfrom
lazy-load
Sep 1, 2026
Merged

Optimize guide reloads and improve editor/AE2 previews#65
ABKQPO merged 25 commits into
masterfrom
lazy-load

Conversation

@ABKQPO

@ABKQPO ABKQPO commented Aug 30, 2026

Copy link
Copy Markdown
Member

Summary

Improve guide resource reload performance, editor workflows, and AE2 preview rendering.

  • Make guide page compilation lazy and invalidate stale asynchronous work after resource reloads.
  • Add bounded language-file indexing and persistent source fingerprints for search.
  • Improve guide and scene editor text selection, scrolling, word wrapping, and context-menu actions.
  • Use one annotated, localized word-wrap configuration for both editors.
  • Preserve AE2 storage-cell display state in previews and determine powered state from actual AE2 energy/network state instead of cell presence.
  • Prevent stale AE2 description packets from overwriting locally reconstructed preview state.

performance profile (based on gtnh-guide-pack): https://share.firefox.dev/4gtBOUd

Checklist

  • I have tested this PR in DevEnv
  • I have tested this PR in Fullpack
  • This PR is in compliance with the GTNH AI Policy
  • This PR requires another PR in order to merge

Comment thread src/main/java/com/hfstudio/guidenh/guide/internal/compile/CompileWorker.java Outdated
Comment thread src/main/java/com/hfstudio/guidenh/guide/internal/compile/CompileWorker.java Outdated
Comment thread src/main/java/com/hfstudio/guidenh/guide/scene/CameraSettings.java Outdated
@Nana-Sakura
Nana-Sakura requested review from Nana-Sakura and removed request for Nana-Sakura August 31, 2026 12:47
@Nana-Sakura

Copy link
Copy Markdown

@ABKQPO you have conflicts

@ABKQPO
ABKQPO merged commit 6bb3ed2 into master Sep 1, 2026
1 check passed
@ABKQPO
ABKQPO deleted the lazy-load branch September 1, 2026 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants