Skip to content

Bugfix - #52

Open
ABKQPO wants to merge 18 commits into
masterfrom
bugfix
Open

Bugfix#52
ABKQPO wants to merge 18 commits into
masterfrom
bugfix

Conversation

@ABKQPO

@ABKQPO ABKQPO commented Jul 20, 2026

Copy link
Copy Markdown
Member

Summary

  • Adds native Mermaid flowchart support with parsing, ELK-based layout, nested subgraphs, edge routing, arrow styles, node shapes, rich node content, copy actions, async layout warmup, and fallbacks for unsupported input.
  • Improves Mermaid usability with panning and zooming refinements, reset-view controls, and much more detailed debug hit detection for nodes, edges, labels, and nested content.
  • Adds navigation-tree expand and collapse controls:
    • Shift-clicking a page arrow expands all descendants when anything is still collapsed, or collapses the page and its descendants when already fully expanded.
    • The navigation context menu now provides global Expand All and Collapse All actions.
    • Navigation ordering is deterministic between guide reloads.
  • Reworks guide search for large documentation packs:
    • Builds and warms an in-memory index in the background.
    • Prioritizes indexing while the user is actively searching.
    • Handles line breaks and split words correctly.
    • Produces cleaner snippets by removing Markdown and runtime formatting markers without exposing raw syntax.
    • Fixes search-screen state, button placement, stale debug targets, and result layout issues.
  • Expands the site exporter so exported guides better match the in-game renderer:
    • Exports runtime GameScene content, captured scene textures, entities, recipes, graph content, and interactive item tooltips.
    • Improves Mermaid, flowchart, file-tree, blockquote, custom quote, Markdown runtime block, and recipe rendering.
    • Fixes exported scrolling, tab switching, tooltips, graph numeric formatting, and several CSS/runtime integration issues.
  • Adds Better Questing guide links through the extensible GuideNH URI handling layer, including localized editor actions and the temporary compatibility mixin used until Better Questing exposes the registration API.
  • Improves client-side preview stability:
    • Adds a client task scheduler to avoid opening-guide crashes caused by unsafe client work timing.
    • Updates AE2 cable preview connection checks and supports external grid parts such as P2P tunnels, Quartz Fiber, and Toggle Bus.
    • Keeps function graph tooltips consistent with the standard Minecraft tooltip renderer.
  • Makes guide reload and resource handling more robust:
    • Avoids reload crashes from invalid frontmatter and malformed resource packs.
    • Reduces redundant resource-pack and ZipFile scans during guide reloads.
  • Updates Chinese Markdown documentation for the added guide functionality.

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

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.

1 participant