Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion public/_headers
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Content-Security-Policy: default-src 'none'; script-src 'self' 'sha256-uEFqyYCMaNy1Su5VmWLZ1hOCRBjkhm4+ieHHxQW6d3Y='; style-src 'self'; img-src 'self' https://avatars.githubusercontent.com; connect-src 'self' https://api.github.com; font-src 'self'; worker-src 'self'; manifest-src 'self'; frame-ancestors 'none'; base-uri 'self'; form-action 'none'; upgrade-insecure-requests
Content-Security-Policy: default-src 'none'; script-src 'self' 'sha256-uEFqyYCMaNy1Su5VmWLZ1hOCRBjkhm4+ieHHxQW6d3Y='; style-src-elem 'self'; style-src-attr 'unsafe-inline'; img-src 'self' data: https://avatars.githubusercontent.com; connect-src 'self' https://api.github.com; font-src 'self'; worker-src 'self'; manifest-src 'self'; frame-ancestors 'none'; base-uri 'self'; form-action 'none'; upgrade-insecure-requests
X-Content-Type-Options: nosniff
Referrer-Policy: strict-origin-when-cross-origin
Permissions-Policy: geolocation=(), microphone=(), camera=()
Expand Down
4 changes: 2 additions & 2 deletions src/app/components/dashboard/ItemRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ export default function ItemRow(props: ItemRowProps) {
const fg = isValidHex ? labelTextColor(label.color) : "#374151";
return (
<span
class="inline-flex items-center rounded-full text-xs px-2 py-0.5 font-medium"
style={{ "background-color": bg, color: fg }}
class="inline-flex items-center rounded-full text-xs px-2 py-0.5 font-medium bg-[var(--lb)] text-[var(--lf)]"
style={{ "--lb": bg, "--lf": fg }}
>
{label.name}
</span>
Expand Down
6 changes: 2 additions & 4 deletions src/app/components/shared/StatusDot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ export default function StatusDot(props: StatusDotProps) {

const dot = () => (
<span
class={`relative inline-flex items-center justify-center${props.href ? " cursor-pointer" : ""}`}
style={{ width: "12px", height: "12px" }}
class={`relative inline-flex items-center justify-center w-3 h-3${props.href ? " cursor-pointer" : ""}`}
title={cfg().label}
aria-label={cfg().label}
>
Expand All @@ -52,8 +51,7 @@ export default function StatusDot(props: StatusDotProps) {
/>
</Show>
<span
class={`relative inline-flex rounded-full ${cfg().bg}`}
style={{ width: "8px", height: "8px" }}
class={`relative inline-flex rounded-full w-2 h-2 ${cfg().bg}`}
/>
</span>
);
Expand Down
1 change: 1 addition & 0 deletions src/app/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

@plugin "daisyui" {
themes: corporate --default, cupcake, light, nord, dim, dracula, dark, forest;
exclude: chat, mask, mockup;
}


Expand Down
10 changes: 10 additions & 0 deletions wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,13 @@ not_found_handling = "single-page-application"
[[routes]]
pattern = "gh.gordoncode.dev"
custom_domain = true

[observability]
enabled = true
head_sampling_rate = 1

[observability.logs]
enabled = true
head_sampling_rate = 1
persist = true
invocation_logs = true
Loading