mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-29 18:50:07 +00:00
* feat(planner): add Repeat button to schedule dialog
Surface recurrence directly from the schedule dialog via a "Repeat"
button that opens the existing repeat-config dialog, so setting a task
to recur no longer requires the separate detail-panel row.
- Button mirrors the repeat dialog's own start-date button styling and
shows the live recurrence label ("Daily", "Mon–Fri", ...) or
"Does not repeat", with an edit/chevron affordance.
- Gated to top-level, non-issue tasks (matching the panel's Repeat row)
and hidden in isSelectDueOnly mode to avoid a circular picker.
- Recurrence start is seeded from the date currently selected in the
dialog, falling back to the task's due day / creation date.
- Label reads the repeat cfg via the store selector (not the service)
to keep the dialog's dependency surface minimal.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0176AgeeX2Tzv3KjmwZ7zWXC
* feat(tasks): merge recurring into the schedule item in task detail panel
Fold the standalone "Repeat" row into the schedule/due item so a task's
timing lives in one place. The schedule item now also shows the
recurrence label (e.g. "Daily") beside the due date, and recurrence is
edited via the Repeat button now hosted in the schedule dialog.
- Remove the separate Repeat row and the now-unused editTaskRepeatCfg()
opener; recurrence editing goes through the schedule dialog.
- Show a repeat chip in the schedule item's value when repeatCfgId is
set, and treat repeatCfgId as "has a value" for the add/edit icon.
- showScheduleIcon() falls back to 'repeat' for a recurring task with no
due date instead of the misleading 'alarm'.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0176AgeeX2Tzv3KjmwZ7zWXC
* style(datetime-picker): tighten spacing in the schedule picker
The date/time picker left noticeable dead space between the calendar and
the time input, and between the stacked time and reminder inputs.
- Shrink the fixed calendar height 400px -> 360px. A 6-row month (the
structural max) needs ~353px, so the old value left ~47px of empty
space below the grid; 360px fits every month with no clipping.
- Drop the calendar-to-inputs top margin and the reserved Material
form-field subscript row (these fields never show hints and always
carry a valid value), so the time and reminder inputs sit closer.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0176AgeeX2Tzv3KjmwZ7zWXC
* style(tasks): stack recurrence under the due date in the schedule item
When a task was both planned and recurring, the schedule item crammed
the date ("Today") and the recurrence ("Every day") side by side in the
narrow value column, squeezing both and truncating the recurrence label.
Present them as a hierarchy instead: the due date is the primary value
and the recurrence is a muted secondary line stacked beneath it. Reads
clearly, avoids truncation, and gives the row label room to breathe.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0176AgeeX2Tzv3KjmwZ7zWXC
* style(datetime-picker): unify vertical spacing below the inputs
The form-ctrl-wrapper carried a bottom margin on top of each field's own
~16px trailing space, so whatever followed the inputs sat 32px away —
twice the gap between the stacked fields themselves. In the schedule
dialog this left the Repeat button visibly detached; the deadline dialog
had the same doubled gap before its actions.
Drop the redundant bottom margin so the inputs, the Repeat button, and
the dialog actions all share one consistent 16px rhythm.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0176AgeeX2Tzv3KjmwZ7zWXC
* fix(planner): harden schedule-dialog recurrence + polish merged item
Review follow-ups across the recurring/planned consolidation:
- Fix a duplicate-cfg bug: openRepeatDialog seeded the repeat dialog from
the frozen MAT_DIALOG_DATA snapshot, so re-opening after a repeat was
just created routed to "create" again and orphaned the first cfg. Seed
from the live store task instead, so the second open edits.
- Drop the ineffective "seed recurrence start from the selected date"
logic and its misleading comment: the repeat dialog derives the start
from the task's due date; targetDate only drives the skip-instance UI.
Behaviour now matches task.component's opener exactly.
- Break the schedule-dialog <-> repeat-dialog module cycle with a lazy
import, matching task.component / add-task-bar.
- Panel: give the recurrence line a screen-reader "Repeat:" prefix
(cdk-visually-hidden) and let long labels ellipsis within the flex row.
- Align terminology: ADDITIONAL_INFO.REPEAT "Recur" -> "Repeat" (the
add-task-bar and schedule dialog already say "Repeat").
- Use --bar-height token instead of a raw 48px in .repeat-btn.
- Add coverage: canRepeat gating (incl. isSelectDueOnly), the live-task
seeding regression, and showScheduleIcon's new 'repeat' branch.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0176AgeeX2Tzv3KjmwZ7zWXC
* test(recurring): follow schedule dialog repeat flow
Update shared Playwright helpers and direct callers after the standalone Repeat row moved into the schedule dialog.
* style(planner): remove one-off Material overrides
Use stock button presentation and the supported dynamic subscript API instead of local Material internals.
* style(planner): distinguish configured repeat values
Emphasize active recurrence while keeping the non-repeating state visibly muted.
* fix(recurring): avoid warning for newly added config
Require removal confirmation only when recurrence already existed before the enclosing schedule dialog opened.
* fix(recurring): preserve schedule context in repeat dialog
Seed new repeat configs from the current Schedule selection and suppress removal confirmation only for the exact config created in that dialog session.
Update the repeating-task guide and add regression coverage for date and config provenance.
* test(recurring): target combined schedule value
---------
Co-authored-by: Claude <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| long-term-plans | ||
| plans | ||
| promotion | ||
| research | ||
| screens | ||
| sync-and-op-log | ||
| wiki | ||
| add-new-integration.md | ||
| android-edge-to-edge-keyboard.md | ||
| apple-release-automation.md | ||
| build-and-publish-notes.md | ||
| documentation-guide.md | ||
| ENV_SETUP.md | ||
| github-access-token-instructions.md | ||
| gitlab-access-token-instructions.md | ||
| handover.md | ||
| how-to-rate.md | ||
| howto-refresh-snap-credentials.md | ||
| i18n-script-usage.md | ||
| legacy-webview-analysis.md | ||
| mac-app-store-code-signing-guide.md | ||
| non-sync-code-simplification-audit.md | ||
| performance-project-tag-report.md | ||
| plainspace-api-extension-plan.md | ||
| plainspace-integration-plan.md | ||
| plugin-development.md | ||
| styling-guide.md | ||
| theming-contract.md | ||
| TRANSLATING.md | ||
| unused-translations-analysis.md | ||
| update-android-app.md | ||
| update-mac-certificates.md | ||