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 @@
## 2024-05-24 - Add aria-pressed to visual toggle buttons
**Learning:** Elements functioning as standalone toggle buttons (such as the filter pills in `src/components/dashboard/filter-pills.tsx`) must use the `aria-pressed` attribute to indicate their toggled state to screen readers.
**Action:** Always add `aria-pressed={isActive}` when creating buttons that function as state toggles, ensuring their active/inactive state is exposed correctly to assistive technologies.
3 changes: 1 addition & 2 deletions FEATURES_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ import { useUserPreferences, useAutoRefresh } from '@/hooks/useUserPreferences'

function Dashboard() {
const { preferences, updatePreferences } = useUserPreferences()

// Auto-refresh based on user preference
useAutoRefresh(() => refreshData())

Expand Down Expand Up @@ -615,4 +615,3 @@ interface ThemeToggleProps {
---

**Built with ❤️ for FluxLens AI v1.0.2**

1 change: 1 addition & 0 deletions src/components/dashboard/filter-pills.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export function FilterPills({ options, selected, onToggle, onClear, className }:
<motion.button
key={option.id}
onClick={() => onToggle(option.id)}
aria-pressed={isSelected}
transition={{ duration: 0.15 }}
className={cn(
'inline-flex items-center gap-2 rounded-full px-3 py-1.5 text-xs font-medium transition-all',
Expand Down
1 change: 0 additions & 1 deletion src/components/empty/loading-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,3 @@ export function LoadingSection() {
</Surface>
)
}

1 change: 0 additions & 1 deletion src/components/overlay/modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,3 @@ export function Modal({
</AnimatePresence>
)
}

2 changes: 1 addition & 1 deletion src/lib/integrations/adapters/resend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const resendAdapter: WebhookAdapter = {
return match[1]
}

// 2. Fallback: If sent to "fluxlensai@gmail.com" or generic "inbound@",
// 2. Fallback: If sent to "fluxlensai@gmail.com" or generic "inbound@",
// we assign it to the default/demo org or a specific Admin Org.
if (process.env.NEXT_PUBLIC_DEFAULT_ORG_ID) {
return process.env.NEXT_PUBLIC_DEFAULT_ORG_ID
Expand Down
2 changes: 1 addition & 1 deletion src/lib/reports/pdfGenerator.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Enhanced PDF Report Generator for FluxLens v1.0.2
*
*
* Generates professional PDF reports with:
* - Executive summary with key metrics
* - Department health breakdown with visual indicators
Expand Down
Loading