feat: enlarge architecture presentation figure
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user