fix: Mobile responsiveness for Focus Tools & AI chat improvements
continuous-integration/drone/push Build is passing

Mobile Responsiveness:
- Fix headers on all Focus Tools pages (responsive text sizes, proper spacing)
- Fix BodyDoublingLobby form grid (stacks on mobile)
- Add shrink-0 and min-w-0 to prevent flex overflow issues

AI Chat Improvements:
- Add labelName parameter to createTask tool for easier label assignment
- Auto-match or create labels when labelName is provided
- Improve system prompt to act immediately without confirmation
- Clearer instructions about using tools and handling labels
- Better support for Ollama models with function calling
This commit is contained in:
Paul Nothaft
2026-01-16 15:58:00 +01:00
parent 7ce4f7efdc
commit f165ae52e6
12 changed files with 3682 additions and 2219 deletions
@@ -134,13 +134,13 @@ export function BodyDoublingLobby() {
return (
<div className="space-y-6">
{/* Header */}
<div className="flex items-center justify-between">
<div className="flex flex-col sm:flex-row sm:items-center justify-between gap-4">
<div>
<h2 className="text-2xl font-bold flex items-center gap-2">
<Users className="h-6 w-6 text-primary" />
<h2 className="text-xl sm:text-2xl font-bold flex items-center gap-2">
<Users className="h-5 w-5 sm:h-6 sm:w-6 text-primary" />
{t('adhd.bodyDoubling.title')}
</h2>
<p className="text-muted-foreground">
<p className="text-sm sm:text-base text-muted-foreground">
{t('adhd.bodyDoubling.description')}
</p>
</div>
@@ -190,7 +190,7 @@ export function BodyDoublingLobby() {
</Select>
</div>
<div className="grid grid-cols-2 gap-4">
<div className="grid grid-cols-1 sm:grid-cols-2 gap-4">
<div>
<Label htmlFor="startsAt">{t('adhd.bodyDoubling.startTime')}</Label>
<Input