M7: repair baseline test imports and publish proofing previews

The full gate found missing Page/Rgb imports in main's tests_linear.rs (also tracked by upstream #4401). Add the imports already validated with the French contribution. No layout behavior changes.

The preview run rendered both images and passed all six correction tests, but upload searched the workspace root. Cargo tests run in the crate directory; collect the PNGs from crates/ui-egui instead.

At parent 574cef, Printing passed on Linux, macOS and Windows, including UI tests and browser compatibility. Local cargo xtask ci was attempted but cargo is absent; git diff --check passes. This revision needs new hosted validation.
This commit is contained in:
totoz64 committed 2026-10-26 11:11:10 +01:00
1 parent 574cef34c9
commit 20205a5051
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ jobs:
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with: with:
name: spelling-review-preview name: spelling-review-preview
path: spelling-review-*.png path: crates/ui-egui/spelling-review-*.png
if-no-files-found: error if-no-files-found: error
- name: Require formatting success - name: Require formatting success
if: steps.formatting.outcome != 'success' if: steps.formatting.outcome != 'success'
+2 -2
View File
@@ -7,8 +7,8 @@
use super::tests::{SCALE, cost_ratio}; use super::tests::{SCALE, cost_ratio};
use super::{ use super::{
Block, CharProps, DocLayout, Document, HeaderSet, HeightRule, InlineObject, LayoutCache, LayoutOptions, ParaLayout, Paragraph, Path, Placed, Block, CharProps, DocLayout, Document, HeaderSet, HeightRule, InlineObject, LayoutCache, LayoutOptions, Page, ParaLayout, Paragraph, Path,
SectionProps, SectionStart, StoryRef, display, layout, para, work, Placed, Rgb, SectionProps, SectionStart, StoryRef, display, layout, para, work,
}; };
use wordcraft_doc::para::Run; use wordcraft_doc::para::Run;
use wordcraft_doc::{Pos, Table}; use wordcraft_doc::{Pos, Table};