Commit Graph

525 Commits

Author SHA1 Message Date
b1e549dbfa feat: weekday task layout matches AnyDay — stacked icon column
Priority icon (top) + project icon (bottom) now rendered in a fixed
leading column before the checkbox, matching the AnyDay area layout.
Provider/sync icon always inline at end (removed absolute fallback).

v1.111.0
2026-05-11 15:07:01 +02:00
cf504846da feat: merge visibility+appearance flyout, slim history, nav stays open
- Eye icon now opens a combined vis-display flyout (visibility toggles
  + appearance settings in one panel, with divider)
- History flyout reduced to undo+redo only; Refresh moved back to
  standalone rail icon
- Navigation flyout stays open when clicking prev/next day/week
  (removed setFlyoutSection(null) from all nav button handlers,
  both desktop and mobile)
- Mobile rail mirrors desktop flyout structure (vis-display, history,
  nav, refresh standalone)

v1.110.7
2026-05-11 14:43:16 +02:00
75bb3301f9 fix(rail): collapse left rail icons to fit screens < 960px height
- Nav arrows (5 icons) → single ArrowLeftRight flyout with prev/next week/day + today
- Undo/Redo/Refresh/Print (4 icons) → single Undo2 history flyout
- Removed duplicate standalone dark mode toggle (already in Appearance flyout)
- Same flyout sections added to mobile icon rail
- Nav flyout also added to mobile rail

v1.110.6
2026-05-11 14:33:23 +02:00
73a657ebff style: remove inline min-height: 24px from task-list-slot divs
v1.110.5
2026-05-11 14:10:53 +02:00
438cd71a08 style: remove min-height from .task-list-slot
v1.110.4
2026-05-11 14:09:01 +02:00
27756e5bf5 fix: :15/:30/:45 toggle now works in left rail flyout and all sidebar panels
Was calling setShowSubHourSlots (local state) + saveSetting, but effectiveShowSubHourSlots
reads from profile via getEffective — so the toggle had no visible effect. Fixed all 5
occurrences to use saveViewSetting("showSubHourSlots", ..., true) matching the Settings
sidebar behavior.

v1.110.3
2026-05-11 14:06:51 +02:00
ab8d96a810 fix(mobile): header icon toggles icon rail; remove redundant nav arrows from rail
- PanelLeftOpen in header now toggles the icon rail open/close
- Close button in rail uses same PanelLeftOpen icon for visual consistency
- Removed nav arrows (prev/next day/week, today) from rail — available in Quick Settings
- Removed Printer from rail (rarely used on mobile)
- Added SlidersHorizontal (Quick Settings) to bottom of rail

v1.110.2
2026-05-11 13:41:41 +02:00
671c91c3d7 fix(mobile): top-left button opens Quick Settings; icon rail mirrors desktop
- PanelLeftOpen in mobile header now opens Quick Settings (left panel)
- Added "Icon Rail" link at bottom of Quick Settings to open the icon sidebar
- Mobile icon sidebar now matches collapsed desktop left rail: View, Columns,
  Slot, Plus, Repeat, Goal, Visibility, Appearance flyouts (tap-to-toggle),
  Undo, Redo, Refresh, Print, dark mode, Settings, Sign out

v1.110.1
2026-05-11 13:32:33 +02:00
81f3a42620 feat: task edit alignment + settings tabs + mobile sidebar
- Someday task edit: add icon/checkbox column spacers before the
  textarea so the edit field aligns exactly with the task text column
- Settings tabs: remove outer padding, use space-around + nowrap so all
  9 icons fit in a single row without wrapping
- Mobile: left sidebar rail (PanelLeftOpen button) — slides in from
  left with nav controls (prev/next day/week, today), actions (search,
  calendar jump, projects, focus, quick settings), and bottom controls
  (dark mode, settings, sign out). CSS class .mobile-left-sidebar and
  .mobile-rail-btn added for easy customization.

v1.110.0
2026-05-11 12:51:17 +02:00
94098fdac2 style: active tab uses box-shadow instead of border-tab effect
Removed border-bottom from tabs bar and border/margin-bottom trick from
active tab. Active tab now indicated with a subtle box-shadow.

v1.109.2
2026-05-11 12:41:19 +02:00
74268edb85 fix: align Add task input with task text column
SomedayAddTask now accepts showProjectIcons and showTaskCheckboxes props.
The bottom add-task row renders as a flex layout with matching spacers
for the icon column (18px) and checkbox column (16px), so the input
field left-edge exactly aligns with the task name column. Right-padding
keeps the input from extending into the provider icon column.

v1.109.1
2026-05-11 12:40:23 +02:00
b53eff9fd1 feat: sort completed tasks to bottom + align Add task input
- Completed tasks in someday lists now always render below all active
  tasks. Slot system builds from incomplete tasks only; done tasks get
  their own section at the bottom outside the droppable slots.
- "Add task..." input right margin increased to 24px so its right edge
  stops before the provider icon (G) column, matching task row layout.

v1.109.0
2026-05-11 12:29:01 +02:00
6325e07912 fix: align ANY DAY toggle with tab buttons in tab bar
The ANY DAY label/icon div sits at the flex-end of the tab bar but
appeared misaligned with the tab buttons. margin-bottom: 6px brings
it to the correct visual baseline.

v1.108.4
2026-05-11 12:25:52 +02:00
aa322dfac3 fix: list style popover no longer clipped by card overflow:hidden
ListVisualsPopover used position:absolute which was clipped by the
weekly-someday-list card's overflow:hidden. Now uses position:fixed
anchored to the card's bounding rect. IconPicker sub-panel also
updated to position:fixed. Stabilized mousedown listener (onCloseRef
pattern, empty deps).

v1.108.3
2026-05-11 12:19:55 +02:00
c3099d37c2 fix: remove border under active someday tab
margin-bottom was -1px but the tab bar border-bottom is 2px thick, so
the active tab only covered half the border. Changed to -2px so the
active tab fully overlaps the bar border. Also cleaned up redundant
CSS properties in the active state rule.

v1.108.2
2026-05-11 12:17:49 +02:00
5d55beeb55 fix: unify someday task icon column — all icons before checkbox
The ⚡ priority and delegation icons were still rendering inside the
text span (after the checkbox). Now ALL task icons (project, priority,
delegation) are consolidated into the single fixed-width 18px column
before the checkbox for someday tasks. Tasks with no icon get an empty
placeholder so checkboxes and task names stay column-aligned.

v1.108.1
2026-05-11 12:05:34 +02:00
55ef3614d1 feat: fix tab edit popover + align someday task items
- Fix tab double-click popover not showing: tab bar overflow-x:auto was
  clipping the position:absolute popover. Now uses position:fixed anchored
  to the button's bounding rect, captured on dblclick. Also stabilizes
  the outside-click listener (onCloseRef pattern, empty deps).
- Restructure someday task item order to: [project icon column] [checkbox]
  [task name]. Fixed-width 18px icon column (placeholder when no project)
  keeps all checkboxes and task names vertically aligned.

v1.108.0
2026-05-11 11:43:40 +02:00
6ccf61f09a feat: AnyDay tab edit via double-click; remove pencil icons; fix active tab style
CSS:
- Active tab no longer shows accent underline; instead border-bottom matches
  the someday area bg (#f9f9f9 / #1a1a1b dark), creating a raised browser-tab
  look where the active tab visually merges with the content below
- margin-bottom: -1px to cover the tab bar border-bottom on active tab

JSX:
- Double-click on any tab now opens TabVisualsPopover (edit tab)
- Pencil icon and dissolve-X button removed from tab wrappers
- TabVisualsPopover extended with: rename input, dissolve button
  (dissolve removes the tab grouping; lists are kept)
- onRename and onDissolve props added to TabVisualsPopover

v1.107.3
2026-05-11 10:49:43 +02:00
85912beb4b style: AnyDay tabs — white background on all tabs, rounded-top browser-tab style
Inactive: white bg, subtle border, rounded top corners (6px 6px 0 0)
Active: same white bg + 3px accent-colored bottom border
Tab bar: align-items flex-end + 1px border-bottom so tabs sit flush

v1.107.2
2026-05-11 10:26:10 +02:00
50aa310a2d feat(design): AnyDay area polish — tabs, cards, flyout menu
CSS:
- .weekly-someday padding: 0 (no left/right border bleed)
- .someday-tabs-bar: removed border-bottom + bg, padding 0 12px
- Tabs: underline-style (border-bottom: 3px accent on active), transparent
  bg — active tab visually merges with someday area
- Active count badge: accent-tinted instead of white-on-blue
- .weekly-someday-list: 300px wide (restored from 240px)
- .task-list-slot: min-height instead of fixed height + top/bottom padding
  so two-line tasks expand properly instead of being clipped

JSX:
- Combined provider icon + tab-assign + edit-style + delete into a single
  flyout menu per card header (trigger = provider icon if synced, else pencil)
- Flyout: "Open in Google/Apple/…", "Assign to tab", "Edit style", "Delete"
- Added menuOpenListId state to track open flyout

v1.107.1
2026-05-11 10:16:21 +02:00
f0df18c853 feat(design): redesign AnyDay/Someday area — pill tabs + card layout
Tabs:
- Pill-shaped tabs (border-radius: 20px) with proper background on inactive
- Inactive tabs now use readable dark text (--weekly-text) instead of
  barely-visible --weekly-text-light
- Active tab: accent color + white text + glow shadow (box-shadow)
- Count badges: larger, higher contrast, 700 font-weight
- Tab bar: taller padding (8px), thicker bottom border (2px)

Cards:
- Rounded corners (10px), border + subtle drop shadow
- Cards now 240px wide (was 300px) for better density
- Grid padding changed from padding-bottom only to full 12px padding
- List header has subtle tinted background + reduced height (48px)
- Title font tweaked to 0.85rem/700 (was 1.15rem/800) to match card size
- Add-task button padding aligned to card edges (12px horizontal)
- Removed p-2 Tailwind class that was double-padding the card

v1.107.0
2026-05-11 09:45:16 +02:00
16e51be26d fix: restore hover-fade on left header toolbar when in top-menu mode
Left section was missing opacity-0 group-hover:opacity-100 Tailwind classes
after the useLeftRail display:none change. Restored fade-in-on-hover
conditionally when top-toolbar mode is active.

v1.106.6
2026-05-11 09:36:11 +02:00
1bfbe4582f style: use FolderOpen icon for Projects in left rail and settings tab
v1.106.5
2026-05-11 09:33:24 +02:00
2f29355bb9 fix: header readability, icon consistency, settings menu position toggle, account tab
- Remove hover blur/opacity on header center section when left rail is active
  (group-hover:opacity-20 blur only applies in top-toolbar mode)
- Add min-height to desktop header so it doesn't collapse when both left/right
  sections are hidden in left-rail mode
- User icon in left rail now opens Settings on the Account tab directly
- Add Menu Position toggle (Left/Top) to Settings > General tab so users
  can find and change toolbar layout from the settings menu
- Replace FolderPlus with Briefcase icon for Projects in left rail to match
  the Settings sidebar's Projects tab icon

v1.106.4
2026-05-11 09:22:43 +02:00
9ef2b9fe5f fix: hide full header toolbar when left rail is active; fix user menu in left rail
- Right header section now also gets display:none when useLeftRail is true,
  so neither the left nor right header controls are visible in left-rail mode
- Replaced UserMenu (which positions from the right edge) with an inline
  dropdown in the left rail that opens to the right of the rail at left:52px,
  correctly positioned and functional
- Added LogOut icon to lucide imports

v1.106.3
2026-05-11 09:10:26 +02:00
9104625353 fix: true mutual exclusion for left rail vs header toolbar; fix rail bottom icons
1. Header left-section (view switcher, days, slot) is now display:none when
   in left-rail mode — previously it was opacity-0 on hover so both were
   visible simultaneously.

2. Left rail bottom now has two distinct buttons:
   - ⚙ Settings (cogwheel) → opens full SettingsSidebar
   - 👤 User → opens UserMenu (same as header avatar, with profile/sign-out)
   Previously a single User icon opened the settings instead.

v1.106.2
2026-05-11 08:56:31 +02:00
0e09711432 feat: menu position setting — left rail or top toolbar, not both
Add a "Menüposition / Menu position" segmented toggle (Left / Top) in
the expanded left-rail preferences panel and in the top-mode overlay.

- "Left" (default): persistent left rail; header toolbar controls are
  de-emphasised (fade in on hover only since they are duplicated).
- "Top": left rail hidden entirely; header controls always visible;
  PanelLeftOpen button in header opens the full settings overlay.

Persisted via saveSetting("menuPosition", …) so the choice survives
page reloads.

v1.106.1
2026-05-11 08:44:44 +02:00
c3dd70a438 feat(design): collapsible left rail toolbar with flyout menus
Replace the overlay quick-settings panel with a persistent fixed-left
toolbar on desktop. Collapsed (44 px) shows icon-only buttons; expanded
(240 px) shows the full labelled panel. Hovering a settings icon in
collapsed mode opens a flyout panel (view, columns, slot, visibility,
appearance). Mobile overlay behaviour is unchanged.

v1.106.0
2026-05-11 08:37:09 +02:00
754fa6ad25 feat(design): left rail (quick settings panel)
Switch panel background to --paper, all dividers to --line, section
labels to --ink-3, active view/days/slot buttons to --accent/--ink.
Soften panel shadow to 4% opacity. No logic, structure, or API changes.

v1.105.2
2026-05-10 14:10:18 +02:00
6f610ac669 feat(design): app shell + header + corner buttons
Trim desktop header height (py-2 → py-1.5) and switch border to --line
token. Update .weekly-header CSS class to use --line. Add baseline
letter-spacing: -0.005em to body. No logic, structure, or API changes.

v1.105.1
2026-05-10 14:08:26 +02:00
f54dde3689 feat(design): add v2 design tokens
Add --ink-*, --accent, --line, --bg, --paper, --tasks-bg, calendar-source
event palette, and all-day chip palette as CSS custom properties. Tokens
alias existing --weekly-* vars where a match exists so no existing styles
are affected. Also adds docs/design/ to .gitignore.

v1.105.0
2026-05-10 14:06:15 +02:00
ac19e13714 style: AnyDay "Add task..." reads as a real input field
Give the bottom-of-list "Add task..." input a framed background (white
with a subtle border in light mode, slate-800 with a darker border in
night mode) plus a small radius and padding, so it visually matches user
expectations of an input. The inline slot-editor that appears when you
click on an empty slot keeps the transparent look so it blends with the
surrounding task rows.

v1.104.1

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-03 22:58:48 +02:00
8958df03ce feat: focus-triggered MS To-Do delta sync for near-instant change reflection
Pull-sync now runs on visibilitychange + window focus (in addition to mount
and the slow 15-min safety-net interval), throttled to one call per 5s. The
moment the user returns to the tab the app reconciles, so an Outlook-side
checkbox/star/title change shows up within a second of refocusing the tab
instead of after a 15-minute wait.

To keep this cheap, the Microsoft Graph delta endpoint
(/me/todo/lists/{id}/tasks/delta) is used when we have a stored deltaToken
for a synced list — typically a few hundred bytes per call when nothing
changed. Tokens are persisted on SomedayList.syncDeltaToken (new column,
migration applied) and refreshed each call. On 410 Gone (token expired
>30 days) we fall back to a full fetch and prime a new chain. Delta also
brings remote deletions (@removed) so they propagate locally without
needing a full list scan.

v1.104.0

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-03 21:58:00 +02:00
f61f5ddb7a fix: pull-sync now reconciles per-field so Outlook star reflects locally
The previous timestamp gate (`if (remoteUpdated <= localUpdated) continue`)
hid genuine remote-side changes because every prior no-op pull bumped
lastSyncedAt to "now", making it newer than the Outlook lastModifiedDateTime
of a subsequent star toggle. Now the pull does a per-field comparison and
only writes lastSyncedAt when at least one field actually changed. Same fix
applied to the Google Tasks pull branch for consistency.

Also run a pull-sync once on mount instead of waiting up to 15 min, so
remote-side changes show up immediately on next page load.

v1.103.2

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-03 21:27:22 +02:00
bf2819ce67 fix: clear all cached series rows on recurring delete + render star for any important task
- deleteCachedEvent now removes every cached row that belongs to the same
  recurring series (master id + all "<masterId>::*" instances + rows whose
  recurringEventId matches the master), so deleting "all occurrences" no
  longer leaves orphan rows that resurface on the next read.
- getPriorityBadge: surface the yellow star whenever a task is marked
  important (e.g. a starred Outlook To-Do task pulled in via sync), even
  when the active priority style is Eisenhower / ABCDE / Ivy Lee.

v1.103.1

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-03 20:08:59 +02:00
42905641cd feat: bidirectional Outlook/MS To-Do sync, busyStatus + star, list-delete dialog
- Outlook recurring delete: also delete the specific instance after the master
  to clean up orphaned first occurrences.
- CachedCalendarEvent gains busyStatus column (migration applied) so showAs
  changes from Outlook flow back into the weekly view.
- Outlook create/update now round-trip the full event (busyStatus, visibility,
  attendees, reminders, recurrence link) via a shared response mapper.
- MS To-Do importance ('high' star) ⇄ local importance flag in pull-sync,
  push-sync, initial import, and local-task POST/PATCH; dueDateTime ⇄
  scheduledDate added to pull-sync.
- Local task PATCH now fires a best-effort push to Outlook/Google/Synology so
  any field change keeps both sides aligned.
- AnyDay list delete dialog now offers Cancel / hide locally / delete on both
  sides; new deleteMsTodoList + deleteGoogleTaskList helpers.

v1.103.0

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-03 19:53:09 +02:00
55cc066707 merge: dev into main with synced lockfile for v1.102.0 2026-05-02 09:54:46 +02:00
8c247e9115 chore: sync package-lock.json with v1.102.0
v1.102.0
2026-05-02 09:54:43 +02:00
6847e59701 merge: dev into main for v1.102.0 release 2026-05-02 09:50:28 +02:00
9ce9f4484a feat: priority icons toggle, projects sidebar overhaul, intro hints
- Add Show/Hide Priority Icons toggle in left settings panel under Project Icons
- Projects sidebar: move Add Project form to the top, add per-project
  filter button (filters tasks across all views), expand/collapse to show
  tasks underneath each project name, active-filter banner with clear
- Intro hints on first load: briefly reveal hidden header controls then
  fade out, and bounce-scroll the main grid to reveal off-screen tasks

v1.102.0
2026-05-02 09:50:26 +02:00
a040ba128b Merge branch 'main' into dev
# Conflicts:
#	package.json
#	tsconfig.tsbuildinfo
2026-05-02 01:01:44 +02:00
8c0f7acfd8 fix: searchable timezone, flag dropdown for language
- Bring back the dropdown UX for the language picker (the v1.99 button
  grid was nicer at first but lost the at-a-glance affordance the user
  preferred). New SearchableDropdown component renders a real dropdown
  trigger + list, with each option carrying its inline-SVG flag.
- Timezone picker is now searchable. Match against IANA name, code
  (CET, ET…), city/country label, and offset in multiple notations
  ("UTC+1", "+01:00", "GMT+01:00"). Used both for the user's primary
  timezone and the additional-timezones add picker.

v1.101.1

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-02 00:53:59 +02:00
d3a40e32a0 fix: localise auth emails, repair verify link, recover from expired
Wave-3 user feedback (points 1–3):
- Email templates: extract de/en/fr/es/it copy into emailTemplates.ts
  and pick the user's language. Signup forwards navigator.language and
  the API also respects Accept-Language; resend/reset reuse user.language.
- Verify link: the email button now points at the client page instead of
  the API GET handler, so corporate inbox scanners (M365 Safe Links etc.)
  can no longer pre-fetch and silently consume the one-shot token. The
  client page requires a real click before calling PATCH /api/auth/
  verify-email. The legacy GET handler now just redirects to the client
  page so old in-flight emails keep working.
- Code expired UX: when users land via an expired-link redirect we no
  longer leave them with a blank email field — the page exposes an email
  input so the resend button has something to act on. The verify-email
  redirect also forwards the email param.

Misc: tsconfig migrated to moduleResolution=bundler and dropped
downlevelIteration to clear the TS 7.0 deprecation errors.

v1.101.0

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-01 20:09:33 +02:00
ffe2f46c64 feat: flag icons, real timezone picker, multi-timezone display
Wave-2 user feedback (points 4–6):
- Language picker: replace emoji flags (which don't render reliably on
  Windows) with inline-SVG flag components for GB/DE/FR/ES/IT. Used
  in both the Settings localisation tab and the onboarding wizard.
- Timezone: replace the read-only Intl.DateTimeFormat display with a
  real <select> over a curated list of major IANA zones. Each option
  shows "(UTC±hh:mm) CODE — Region" and the list is sorted by current
  offset, then code, then IANA name.
- Multi-timezone: new ExtraTimezonesEditor in the localisation tab lets
  users pin additional zones (stored in user.viewSettings.extraTimezones
  to avoid a migration). The time-grid axis now renders the equivalent
  hour for each pinned zone next to the local label, helpful for
  scheduling across regions.

v1.100.0

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-01 20:00:53 +02:00
ab70733c24 fix: render priority badge in calendar/grid view
GridTaskBlock received showPriorityIcons + priorityStyle props but
never rendered the badge. Export getPriorityBadge from WeeklyView and
inject it before the project icon in the grid task title. Tasks
prioritised in the Eisenhower/ABCDE/Ivy Lee/Pareto picker now show
their indicator in the time-grid layout too.

v1.99.2

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-01 19:53:52 +02:00
291ff23859 icons for priority and colors for someday lists 2026-05-01 14:49:54 +02:00
d3fedc4d0d fix: someday list color tints background + apply pending migration
- color now renders as a tinted background (alpha 0x1f) plus a 4px
  accent border, matching the user's "background colorcoded" request.
- Migration 20260501 was unapplied locally; mark prior failed
  20260403_add_task_url as applied and deploy 20260501. Without it
  the API silently dropped color/icon and the SSE refetch wiped the
  optimistic update, so visuals never appeared.

v1.99.1

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-01 14:34:23 +02:00
52d160ccea feat: projects tab, priority icons, list/tab visuals
Wave-1 user feedback (points 7–10):
- Settings: new Projects tab with full CRUD (name, color, icon picker)
- Priority Icons render in simple/calendar/list views with style-specific
  visuals (Eisenhower icons, ABCDE letters, Ivy Lee 1–6, Pareto star).
  Toggle + style selector in Settings; Ivy Lee ranks now persist to
  task.priority so cross-view badges stay consistent.
- Someday Lists gain optional icon (left of title) and color (left
  border tint), edited via a pencil-popup with IconPicker + color picker.
- Tabs gain optional icon and color, stored in user.viewSettings JSON
  and edited via the same popup pattern.

Schema: SomedayList.color/icon, User.showPriorityIcons/priorityStyle.

v1.99.0

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-01 14:23:56 +02:00
3e19ebe85a fix: security hardening, Prisma singleton, tsconfig cleanup
- tsconfig: remove deprecated downlevelIteration (es2017 has native iterators),
  change moduleResolution from node to bundler
- auth: set allowDangerousEmailAccountLinking=false on all OAuth providers,
  restrict debug mode to development only
- prisma: replace new PrismaClient() with singleton import in 10 API routes
  to prevent connection pool exhaustion
- goal API: validate user-supplied quote URLs to block SSRF (private IPs,
  non-http(s) schemes)
- email: guard DEV verification/reset link console.logs behind NODE_ENV check

v1.98.0
2026-04-20 19:52:47 +02:00
aa4c6a085d fix: show rolling icon in simple and calendar views
Add persistent inline rolling indicator to GridTaskBlock so rolling tasks
are visually marked in simple and calendar (time-grid) views, matching
the badge already shown in list view.

v1.97.4
2026-04-20 19:39:14 +02:00