imbajin opened a new pull request, #496:
URL: https://github.com/apache/hugegraph-doc/pull/496
## Purpose of the PR
Upgrade OINK from 1.0.0 to 1.1.0 and make future theme updates repeatable
without mixing upstream behavior with HugeGraph customizations.
- Replace sidebar DOM/state patches and the hand-built Ask AI search row
with OINK's public APIs. Preserve version/locale-scoped preferences,
consent-gated AI loading, cancellation and focus handling.
- Reconcile the Print override with 1.1's plain/book return contract and
inherit generic Chinese translations from the theme.
- Use `go.mod` / `go.sum` for current and historical builds. Add a manual
upgrade command with reviewed override/API/CSS fingerprints and full regression
gates; refresh README, contribution guidance and AGENTS.md.
```text
Explicit version → dependency update → customization change report
↓ reviewed / unaffected
build all versions → browser checks → ready for
review
```
Maintenance and breaking-change recovery: [OINK upgrade
SOP](https://github.com/apache/hugegraph-doc/blob/ba6fdbf01d16551286364fc788bc92eedffc703f/scripts/oink-upgrade.md).
Upstream: [v1.1.0](https://github.com/pgsty/oink/releases/tag/v1.1.0),
[sidebar API #41](https://github.com/pgsty/oink/issues/41), [search-tail API
#40](https://github.com/pgsty/oink/issues/40).
## Validation
- Full `scripts/update-oink.sh v1.1.0 --resume` run passed locally: strict
build, latest/1.7/1.5/1.3/1.0 builds and aggregate validation.
- 180 Python tests (the rendered-output check runs separately after
assembly), 35 UI unit tests and 3 workflow contracts passed.
- 72 Chromium checks and 8 visual captures passed. Search cases now have
individual test budgets without relaxing assertions.
- Independent final-diff review and `git diff --check` passed.
The upgrade command does not commit or publish. Production publication
remains the existing merge workflow.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]