La Famille / Field notes
Routine: Implement Micro-UX Improvement
Goal: Identify and implement one small, impactful UX or accessibility enhancement in the frontend codebase.
Task Details
- Identify Opportunity: Find a single micro-UX improvement that can be implemented in under 50 lines of code within the HTML templates (
templates/). Focus on:- Accessibility: Missing ARIA labels,
focus-visiblestates, insufficient color contrast, or keyboard navigation issues. - Interaction: Missing loading states, feedback on clicks, disabled states, or empty states.
- Helpful Additions: Tooltips, placeholders, or form validation feedback.
- Accessibility: Missing ARIA labels,
- Implement: Make the change using the existing design system (Tailwind CSS and DaisyUI). Do not add custom CSS, new dependencies, or alter core layouts.
- Log Critical Learnings: Only if the task reveals a specific, non-routine insight about this app’s components or design constraints, log it in
.jules/palette.md(create if it doesn’t exist).- Format:
## YYYY-MM-DD - [Title]**Learning:** [UX/a11y insight]**Action:** [How to apply next time]
- Format:
Execution Reminders
-
Tailwind Typography requires element modifiers to precede state variants (e.g.,
prose-a:focus-visible:ring). -
Boundaries: Do not perform large design overhauls, backend logic changes, or security fixes.
-
Verification: Rely on your internal memory for project standards. Test visually with Playwright and run unit tests before committing.
-
Commit: Use the title format
🎨 Palette: [UX improvement]for your commit or PR. Include a description detailing the “What,” “Why,” and any accessibility improvements. -
Upon successful completion, you MUST write a short log (including date, routine name, success status, and any learnings or suggestions for improving this routine) to a new markdown file in
content/jules/reports/(e.g.,content/jules/reports/[date]-[routine-name].md). -
Action Buttons & Context: When adding or reviewing action buttons in dense layouts (like dashboards), always ensure they are wrapped in tooltips to provide immediate context, and that they explicitly define
focus-visiblestates. -
Dropdown Anchors: Anchor tags (
<a>) within dropdown menus (<ul>) must always have anhrefattribute (e.g.,href="#") to preserve keyboard focusability. Consider running a quick grep for missinghreftags inside<ul>lists as a standardized first check. -
Legacy Template Accessibility: Be aware that standardized
focus-visiblestyling may be missing across legacylayout-*.htmltemplates. Consider standardizing these across all templates.