Skip to content

chore: upgrade OINK to 1.5.1 and enable Duo View - #565

Merged
imbajin merged 7 commits into
apache:masterfrom
hugegraph:chore/oink-1.5.1-duo-view
Nov 14, 2026
Merged

imbajin merged 7 commits into
apache:masterfrom
hugegraph:chore/oink-1.5.1-duo-view

Conversation

@imbajin

@imbajin imbajin commented Nov 14, 2026

Copy link
Copy Markdown
Member

Upgrade

Upgrade the documentation site from OINK 1.4.0 to 1.5.1 and enable its native Duo View. Readers can open published English and Chinese translations side by side from the page button, the Command Palette, or the B shortcut. On a phone, tabs switch between the two languages. The second document loads on demand, and Sync Scroll follows matching headings when available.

Scrolling the English HugeGraph Server quick start keeps the Chinese translation in sync

What changed

Area Change
Theme and toolchain Pin OINK 1.5.1 and both module checksums. Refresh the reviewed theme overrides and align Netlify previews with the strict Hugo Extended and Go build used by CI.
Navigation and translations Use OINK’s page-specific translation lookup for the Command Palette. Navbar-only mobile pages expose language, appearance and release controls in the drawer.
Archived documentation Mount both pane URLs and page identity markers under /versions/<id>/. Readers stay on the selected release when comparing translations. A marker mismatch previously left both panes showing Retry.
Shell and AI consent Keep article interactions active in both panes. The outer page owns navigation, language preferences and Kapa consent, so opening a translation does not initialize a second AI widget.
Configuration tables Size the key column to fit long RocksDB and PD settings in both languages. Descriptions still wrap and narrow screens can scroll the table horizontally. The archive build applies the same rule to the affected historical RocksDB tables.
Upgrade checks Run the upgrade checks before recording the new override baseline. Browser tests wait for both panes to become readable and cover history, mobile tabs, Sync Scroll, timeout recovery and retry.

Archived Docs on the same 1.7 URL

Both panes showed Retry Both panes show the selected release
Archived English and Chinese panes showing Retry The same 1.7 page showing both translations
Mobile translation tabs and configuration table screenshots Mobile Duo View with the Chinese translation selected
Wrapped RocksDB key Complete key on one line
The last character wraps The full RocksDB configuration key fits

Verification

The local Duo View checks passed on latest, 1.7, 1.5, 1.3 and 1.0 across both languages and viewport sizes. All 68 configuration-table browser checks passed on macOS, including the 12 cases that previously wrapped a key. Book comparison uses OINK’s native translation discovery. HugeGraph currently has no published bilingual Book page to test.

The fork and this PR use the same source branch. Fork verification

Staging verification and production publication are separate release steps.

github-actions Bot and others added 7 commits November 13, 2026 07:12
- pin OINK and refresh the reviewed override inventory
- enable native Duo View and isolate site runtimes inside panes
- add real-page matrix, visual, staging and rollback validation
- preserve content runtimes while isolating site-level iframe integrations
- align local OINK overrides and upgrade inventory with 1.5.1 contracts
- strengthen real-page, historical, visual, staging and rollback validation
- Mount the OINK pane marker at the historical page path.
- Verify both panes are readable and select the palette action by its title.
- Keep the upgrade checks compatible with baseline promotion after validation.
- Capture the desktop reader at its two-column viewport.
- Keep the mobile capture on the selected translation.
- Exclude the underlying article height from reader screenshots.
- Size the key column to fit in the RocksDB and PD references.
- Apply the same markup to the matching archived configuration tables.
- Verify that archive assembly preserves authored table attributes.
@imbajin
imbajin merged commit 7ea1562 into apache:master Nov 14, 2026
7 checks passed
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