story-kit: merge 186_story_add_storkit_branding_to_header
This commit is contained in:
@@ -136,6 +136,11 @@ describe("ChatHeader", () => {
|
|||||||
expect(screen.getByText("Built: 2026-01-01 00:00")).toBeInTheDocument();
|
expect(screen.getByText("Built: 2026-01-01 00:00")).toBeInTheDocument();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it("displays StorkIt branding in the header", () => {
|
||||||
|
render(<ChatHeader {...makeProps()} />);
|
||||||
|
expect(screen.getByText("StorkIt")).toBeInTheDocument();
|
||||||
|
});
|
||||||
|
|
||||||
it("shows disabled placeholder when claudeModels is empty and no API key", () => {
|
it("shows disabled placeholder when claudeModels is empty and no API key", () => {
|
||||||
render(
|
render(
|
||||||
<ChatHeader
|
<ChatHeader
|
||||||
|
|||||||
@@ -73,6 +73,17 @@ export function ChatHeader({
|
|||||||
marginRight: "20px",
|
marginRight: "20px",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
<span
|
||||||
|
style={{
|
||||||
|
fontWeight: "700",
|
||||||
|
fontSize: "1em",
|
||||||
|
color: "#ececec",
|
||||||
|
flexShrink: 0,
|
||||||
|
letterSpacing: "0.02em",
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
StorkIt
|
||||||
|
</span>
|
||||||
<div
|
<div
|
||||||
title={projectPath}
|
title={projectPath}
|
||||||
style={{
|
style={{
|
||||||
|
|||||||
Reference in New Issue
Block a user