feat: enlarge architecture presentation figure

This commit is contained in:
lda
2026-07-08 07:57:51 +07:00 Verified
parent 4b13fb99df
commit 5d88f083a1
5 changed files with 54 additions and 6 deletions
@@ -81,10 +81,10 @@ describe("ArchitectureScene", () => {
expect(onFocusPathChange).toHaveBeenCalledWith(["runtime-providers"]);
});
it("uses the wide figure presentation for the defense architecture scene", () => {
it("uses the stage figure presentation for the defense architecture scene", () => {
renderArchitecture({ focusPath: [] });
expect(screen.getByRole("group", { name: /architecture/i })).toHaveAttribute("data-figure-size", "wide");
expect(screen.getByTestId("architecture-scene")).toBeInTheDocument();
expect(screen.getByRole("group", { name: /architecture/i })).toHaveAttribute("data-figure-size", "stage");
expect(screen.getByTestId("architecture-scene")).toHaveAttribute("data-visual-pass", "architecture-stage");
});
it("renders a directly linked nested provider view", () => {
@@ -31,7 +31,7 @@ export const ArchitectureScene = ({
: architectureCatalog;
return (
<section className="architecture-scene" data-testid="architecture-scene">
<section className="architecture-scene" data-testid="architecture-scene" data-visual-pass="architecture-stage">
<StageCaption eyebrow={`Act II · ${scene.claimClass}`} title={scene.title}>
<p>{beat.caption}</p>
</StageCaption>
@@ -41,7 +41,7 @@ export const ArchitectureScene = ({
activeNodeId={activeNodeId}
onFocusPathChange={onFocusPathChange}
motionDisabled={motionDisabled}
size="wide"
size="stage"
/>
</section>
);