Skip to content

Commit f21282a

Browse files
authored
feat: adds project branding, favicon, and logo assets (#41)
- Logo SVG: Bootstrap search glass + Octicons git-merge, purple #7c3aed - Favicon SVG: Lucide search icon with prefers-color-scheme dark/light - PNG fallback favicon and apple-touch-icon (logo-192.png) - Social preview image (1280x640) and OAuth app icon (logo-512.png) - Inline logo in navbar Header component using currentColor - Logo in README, fixes stale onboarding description - Notification icon switched to PNG for Chrome compatibility
1 parent c02d3af commit f21282a

File tree

10 files changed

+77
-3
lines changed

10 files changed

+77
-3
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<p align="center">
2+
<img src="public/assets/logo.svg" width="96" height="96" alt="GitHub Tracker logo">
3+
</p>
4+
15
# GitHub Tracker
26

37
Dashboard SPA tracking GitHub issues, PRs, and GHA workflow runs across multiple repos/orgs. Built with SolidJS on Cloudflare Workers.
@@ -7,7 +11,7 @@ Dashboard SPA tracking GitHub issues, PRs, and GHA workflow runs across multiple
711
- **Issues Tab** — Open issues where you're the creator, assignee, or mentioned. Sortable, filterable, paginated. Dependency Dashboard issues hidden by default (toggleable).
812
- **Pull Requests Tab** — Open PRs with CI check status indicators (green/yellow/red dots). Draft badges, reviewer names.
913
- **Actions Tab** — GHA workflow runs grouped by repo and workflow. Accordion collapse, PR run toggle.
10-
- **Onboarding Wizard**Two-step org/repo selection with search filtering and bulk select.
14+
- **Onboarding Wizard**Single-step repo selection with search filtering and bulk select.
1115
- **PAT Authentication** — Optional Personal Access Token login as alternative to OAuth. Client-side format validation, detailed token creation instructions for classic and fine-grained PATs.
1216
- **Settings Page** — Refresh interval, notification preferences, theme (light/dark/system), density, GitHub Actions limits. Shows current auth method and hides OAuth-specific options for PAT users.
1317
- **Desktop Notifications** — New item alerts with per-type toggles and batching.

index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1" />
66
<title>GitHub Tracker</title>
7+
<link rel="icon" type="image/svg+xml" href="/assets/favicon.svg" />
8+
<link rel="icon" type="image/png" href="/assets/logo-192.png" sizes="192x192" />
9+
<link rel="apple-touch-icon" href="/assets/logo-192.png" />
710
<script>try{let c=JSON.parse(localStorage.getItem('github-tracker:config')||'{}');if(c.theme==='dark'||(c.theme!=='light'&&matchMedia('(prefers-color-scheme:dark)').matches))document.documentElement.classList.add('dark')}catch(e){}</script>
811
</head>
912
<body>

public/assets/favicon.svg

Lines changed: 12 additions & 0 deletions
Loading

public/assets/logo-192.png

9.02 KB
Loading

public/assets/logo-512.png

26.3 KB
Loading

public/assets/logo.svg

Lines changed: 19 additions & 0 deletions
Loading

public/assets/social-preview.png

34.8 KB
Loading

public/assets/social-preview.svg

Lines changed: 31 additions & 0 deletions
Loading

src/app/components/layout/Header.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,12 @@ export default function Header() {
2929
<>
3030
<header class="navbar fixed top-0 left-0 right-0 z-50 bg-base-100 border-b border-base-300 shadow-sm min-h-14">
3131
<div class="max-w-6xl mx-auto w-full flex items-center gap-4 px-4">
32-
<span class="font-semibold text-base-content text-lg shrink-0">
32+
<span class="font-semibold text-base-content text-lg shrink-0 inline-flex items-center gap-2">
33+
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
34+
<defs><clipPath id="nav-lens"><circle cx="6.5" cy="6.5" r="5"/></clipPath></defs>
35+
<path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001q.044.06.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0"/>
36+
<g clip-path="url(#nav-lens)"><g transform="translate(3.05,2.66) scale(0.32)"><path d="M15 13.25a3.25 3.25 0 1 1 6.5 0 3.25 3.25 0 0 1-6.5 0Zm-12.5 6a3.25 3.25 0 1 1 6.5 0 3.25 3.25 0 0 1-6.5 0Zm0-14.5a3.25 3.25 0 1 1 6.5 0 3.25 3.25 0 0 1-6.5 0ZM5.75 6.5a1.75 1.75 0 1 0-.001-3.501A1.75 1.75 0 0 0 5.75 6.5Zm0 14.5a1.75 1.75 0 1 0-.001-3.501A1.75 1.75 0 0 0 5.75 21Zm12.5-6a1.75 1.75 0 1 0-.001-3.501A1.75 1.75 0 0 0 18.25 15Z"/><path d="M6.5 7.25c0 2.9 2.35 5.25 5.25 5.25h4.5V14h-4.5A6.75 6.75 0 0 1 5 7.25Z"/><path d="M5.75 16.75A.75.75 0 0 1 5 16V8a.75.75 0 0 1 1.5 0v8a.75.75 0 0 1-.75.75Z"/></g></g>
37+
</svg>
3338
GitHub Tracker
3439
</span>
3540

src/app/lib/notifications.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ function fireNotification(
100100
tag: string,
101101
url?: string
102102
): void {
103-
const n = new Notification(title, { body, tag, icon: "/favicon.ico" });
103+
const n = new Notification(title, { body, tag, icon: "/assets/logo-192.png" });
104104
if (url) {
105105
const safeUrl = url;
106106
n.onclick = () => openUrl(safeUrl);

0 commit comments

Comments
 (0)