Skip to content

Commit 18c8ea7

Browse files
passkey support added
1 parent 7bab990 commit 18c8ea7

File tree

5 files changed

+49
-52
lines changed

5 files changed

+49
-52
lines changed

.claude/settings.local.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@
3737
"Bash(dotnet tool update:*)",
3838
"Bash(dotnet tool:*)",
3939
"Bash(gh run view:*)",
40-
"Bash(git config:*)"
40+
"Bash(git config:*)",
41+
"Bash(npx astro check)",
42+
"Bash(npm run build:*)",
43+
"Bash(git status:*)"
4144
]
4245
}
4346
}

.github/workflows/build-and-publish-nuget.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
tags:
66
- 'v*'
7+
workflow_dispatch:
78

89
permissions:
910
contents: write

dashboard/src/layouts/Layout.astro

Lines changed: 38 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,23 @@ const { title, user } = Astro.props;
1818
</head>
1919
<body>
2020
<div class="user-bar">
21-
{user ? (
22-
<>
23-
<span class="user-bar-name">{user.displayName}</span>
24-
<button id="logout-btn" class="user-bar-logout">Sign out</button>
25-
</>
26-
) : (
27-
<a href="/login" class="user-bar-signin">Sign in</a>
28-
)}
21+
<div class="user-bar-brand">
22+
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" aria-hidden="true">
23+
<path d="M16 2L4 8v16l12 6 12-6V8L16 2z" stroke="currentColor" stroke-width="2" fill="none"/>
24+
<path d="M16 8v16M8 12l8 4 8-4" stroke="currentColor" stroke-width="2"/>
25+
</svg>
26+
<span class="user-bar-title">TGit Dashboard</span>
27+
</div>
28+
<div class="user-bar-actions">
29+
{user ? (
30+
<>
31+
<span class="user-bar-name">{user.displayName}</span>
32+
<button id="logout-btn" class="user-bar-logout">Sign out</button>
33+
</>
34+
) : (
35+
<a href="/login" class="user-bar-signin">Sign in</a>
36+
)}
37+
</div>
2938
</div>
3039
<slot />
3140
<script>
@@ -81,14 +90,33 @@ const { title, user } = Astro.props;
8190

8291
.user-bar {
8392
display: flex;
84-
justify-content: flex-end;
93+
justify-content: space-between;
8594
align-items: center;
8695
gap: 12px;
87-
padding: 8px 24px;
96+
padding: 12px 24px;
8897
background: var(--bg-secondary);
8998
border-bottom: 1px solid var(--border-color);
9099
}
91100

101+
.user-bar-brand {
102+
display: flex;
103+
align-items: center;
104+
gap: 10px;
105+
color: var(--accent-blue);
106+
}
107+
108+
.user-bar-title {
109+
font-size: 18px;
110+
font-weight: 700;
111+
color: var(--text-primary);
112+
}
113+
114+
.user-bar-actions {
115+
display: flex;
116+
align-items: center;
117+
gap: 12px;
118+
}
119+
92120
.user-bar-name {
93121
font-size: 13px;
94122
color: var(--text-secondary);

dashboard/src/pages/index.astro

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,6 @@ if (!tenantParam && user?.lastTenant) {
1313

1414
<Layout title="TGit Dashboard" user={user}>
1515
<div class="container">
16-
<header>
17-
<div class="header-top">
18-
<div class="logo">
19-
<svg width="40" height="40" viewBox="0 0 32 32" fill="none">
20-
<path d="M16 2L4 8v16l12 6 12-6V8L16 2z" stroke="currentColor" stroke-width="2" fill="none"/>
21-
<path d="M16 8v16M8 12l8 4 8-4" stroke="currentColor" stroke-width="2"/>
22-
</svg>
23-
<h1>TGit Dashboard</h1>
24-
</div>
25-
</div>
26-
</header>
27-
2816
<div class="filters">
2917
<div class="tenant-input-group">
3018
<label for="tenant-input" class="tenant-label">Set your tenant to view activity</label>
@@ -298,35 +286,6 @@ if (!tenantParam && user?.lastTenant) {
298286
flex-direction: column;
299287
}
300288

301-
header {
302-
display: flex;
303-
flex-direction: column;
304-
margin-bottom: 24px;
305-
gap: 16px;
306-
}
307-
308-
.header-top {
309-
display: flex;
310-
justify-content: center;
311-
padding-bottom: 16px;
312-
border-bottom: 1px solid var(--border-color);
313-
}
314-
315-
.logo {
316-
display: flex;
317-
align-items: center;
318-
gap: 12px;
319-
}
320-
321-
.logo svg {
322-
color: var(--accent-blue);
323-
}
324-
325-
.logo h1 {
326-
font-size: 28px;
327-
font-weight: 700;
328-
}
329-
330289
.filters {
331290
display: flex;
332291
justify-content: center;

package-lock.json

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)