Mirror packaged proof into public docs lane
This commit is contained in:
parent
31b2483ba1
commit
886bab3f62
2 changed files with 58 additions and 1 deletions
|
|
@ -419,7 +419,44 @@ describe('public marketing pages', () => {
|
|||
role: null,
|
||||
accessStatus: null,
|
||||
},
|
||||
platforms: [],
|
||||
platforms: [
|
||||
{
|
||||
platform_key: 'windows',
|
||||
platform: 'Windows',
|
||||
subtitle: 'Primary shipping lane',
|
||||
details: 'Current packaged validation is strongest on the Windows Unreal lane.',
|
||||
configured: true,
|
||||
channel: 'candidate',
|
||||
version: '1.0.0',
|
||||
build_id: 'win64-1000',
|
||||
published_at: '2026-06-22T00:00:00.000Z',
|
||||
file_name: 'HyperTwist-Windows.zip',
|
||||
file_size_bytes: 1048576,
|
||||
checksum_sha256: 'abc123',
|
||||
download_url: null,
|
||||
download_available: false,
|
||||
validation_summary: {
|
||||
lane: 'Windows Unreal packaged validation',
|
||||
result: 'passed',
|
||||
generated_at: '2026-06-22T01:43:08.7625247Z',
|
||||
configuration: 'Development',
|
||||
skip_build: true,
|
||||
smoke_map_count: 2,
|
||||
smoke_maps: [
|
||||
{
|
||||
map_url: '/Game/HyperTwistTraining/Maps/L_HyperTwist_Magic120CellTraining',
|
||||
label: 'Magic120Cell dedicated-family training map',
|
||||
result: 'passed',
|
||||
},
|
||||
{
|
||||
map_url: '/Game/HyperTwistTraining/Maps/L_HyperTwist_MagicCube5DTraining',
|
||||
label: 'MagicCube5D dedicated-family training map',
|
||||
result: 'passed',
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
})
|
||||
|
||||
|
|
@ -883,6 +920,8 @@ describe('public marketing pages', () => {
|
|||
expect(screen.getAllByText(/classic-wca-keyboard\/v1/i).length).toBeGreaterThan(0)
|
||||
expect(screen.getAllByText(/latest persisted generated-mode selector posture is available for recall/i).length).toBeGreaterThan(0)
|
||||
expect(screen.getByText('Feature-registry-backed wording only')).toBeTruthy()
|
||||
expect(screen.getByText('Current packaged desktop proof')).toBeTruthy()
|
||||
expect(screen.getByText('Packaged validation passed')).toBeTruthy()
|
||||
expect(await screen.findByRole('link', { name: /open public docs portal/i })).toBeTruthy()
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -579,6 +579,10 @@ export function DocsPage() {
|
|||
() => resolveReleaseManifestView(releaseManifestQuery.data?.manifest, buildPublicReleaseManifestFallback()),
|
||||
[releaseManifestQuery.data?.manifest],
|
||||
)
|
||||
const windowsValidationPlatform = useMemo(
|
||||
() => releaseManifest.platforms.find((platform) => platform.platform_key === 'windows' && platform.validation_summary) ?? null,
|
||||
[releaseManifest],
|
||||
)
|
||||
|
||||
return (
|
||||
<>
|
||||
|
|
@ -742,6 +746,20 @@ export function DocsPage() {
|
|||
</div>
|
||||
</Section>
|
||||
|
||||
{windowsValidationPlatform ? (
|
||||
<Section title="Current packaged desktop proof">
|
||||
<ReleaseValidationSummary platform={windowsValidationPlatform} />
|
||||
<div className="button-row top-gap">
|
||||
<Link className="button button--ghost" to="/download">
|
||||
Open download center
|
||||
</Link>
|
||||
<Link className="button button--ghost" to="/changelog">
|
||||
Review release notes
|
||||
</Link>
|
||||
</div>
|
||||
</Section>
|
||||
) : null}
|
||||
|
||||
{releaseManifest.public_docs_url ? (
|
||||
<Section title="External docs portal">
|
||||
<a className="button button--primary" href={releaseManifest.public_docs_url} target="_blank" rel="noreferrer">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue