feat(FN-692): remove 'tasks' text from dashboard header

- Remove 'tasks' label from Header component
- Remove unused CSS styles related to the header text
- Update Header test to reflect the simplified header
This commit is contained in:
gsxdsm
2026-04-02 10:11:04 -07:00
parent 4d94a5085e
commit 814ce9e9d7
3 changed files with 1 additions and 10 deletions

View File

@@ -38,7 +38,6 @@ describe("Header", () => {
it("renders the logo and brand", () => {
renderHeader();
expect(screen.getByText("Fusion")).toBeDefined();
expect(screen.getByText("tasks")).toBeDefined();
});
it("renders action buttons", () => {
@@ -517,8 +516,7 @@ describe("Header", () => {
it("hides logo-sub on mobile via CSS", () => {
renderHeader({}, true);
// The element exists but is hidden via CSS on mobile
expect(screen.getByText("tasks")).toBeDefined();
// The "tasks" element no longer exists - it was removed
});
});
});

View File

@@ -170,7 +170,6 @@ export function Header({
<div className="header-left">
<img src="/logo.svg" alt="Fusion logo" className="header-logo" width={24} height={24} />
<h1 className="logo">Fusion</h1>
<span className="logo-sub">tasks</span>
{/* Project Selector - shown when 2+ projects, placed next to logo/title */}
{projects.length > 1 && (

View File

@@ -457,12 +457,6 @@ body {
font-weight: 700;
letter-spacing: -0.5px;
}
.logo-sub {
font-size: 13px;
color: var(--text-muted);
font-weight: 400;
}
/* === Buttons === */
.btn {
padding: var(--btn-padding);