Skip to content
Open
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
3 changes: 3 additions & 0 deletions .Jules/palette.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## 2025-02-28 - Initial Setup
**Learning:** Found that this project uses `npm run lint` and `npm run build` as its primary verification scripts. Note that the memory states there are pre-existing linting errors so expecting a clean run on `npm run lint` is unrealistic, but we should make sure our changes do not introduce new ones. There is a recurring a11y issue: icon-only buttons in navigation lack `aria-label` attributes.
**Action:** Always verify changes with `npm run build` and `npm run lint` and prioritize adding ARIA labels to navigation components.
2 changes: 1 addition & 1 deletion src/components/dashboard-nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export function DashboardNav() {
"rounded-full h-9 md:h-10 px-3 md:px-4", // Oval shape
)}
>
<Link href={item.href} className="flex items-center gap-2">
<Link href={item.href} aria-label={item.label} className="flex items-center gap-2">
<item.icon
className={cn("w-4 h-4", isActive && "text-primary-foreground")}
/>
Expand Down
1 change: 1 addition & 0 deletions src/components/mobile-nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export function MobileNav() {
<Link
key={item.href}
href={item.href}
aria-label={item.title}
className="relative flex flex-col items-center justify-center w-12 h-12 sm:w-14 sm:h-14 rounded-xl"
>
{/* Active Background Pill */}
Expand Down