Skip to content

Dashboard 2.7.0: responsive task, reminder and project dialogs - #795

Open
dwertheimer wants to merge 25 commits into
mainfrom
dashboard-ip-dialog-redesign
Open

dwertheimer wants to merge 25 commits into
mainfrom
dashboard-ip-dialog-redesign

Conversation

@dwertheimer

@dwertheimer dwertheimer commented Dec 3, 2026 •

Copy link
Copy Markdown
Collaborator

Why

The task actions / Interactive Processing dialog was built for a wide macOS window, and it struggled everywhere else:

  • Long task text was cut off. On macOS the item sat in a one-line box, so you couldn't read the whole task you were deciding about.
  • Phones were cramped. The week/month/quarter reschedule buttons ran off the edge, and the targets were small.
  • The keyboard got in the way. On iPhone/iPad the dialog opened with the keyboard already up, covering most of the actions.
  • No sense of urgency or progress. Nothing showed how overdue an item was, and in Interactive Processing you couldn't tell how far through the list you were.
  • The item text was raw markdown. Links showed as [text](https://…) and block IDs as ^abc123, which made the task hard to read when you're deciding what to do with it.
  • Editing the text ended the item. Return and Update both saved and closed (or moved on in Interactive Processing), so you couldn't fix the wording and then reschedule the same item.
  • There were too many buttons visible at a time. It was overwhelming trying to figure out which button you wanted to press -- decided to reduce the buttons to the most frequently used ones and hide the rest under a dropdown
  • The most common action wasn't the obvious one. 'Complete' looked like every other button, and 'Complete then' didn't say which date it would use.

What it looks like now (links and block IDs etc are formatted)

CleanShot 2026-12-02 at 21 34 40@2x

Task edit mode (after clicking in the text)

macOS

Task dialog on macOS

iPhone

Task dialog on iPhone

What changed

  • The item text wraps and grows on macOS too.
  • Phones get a full-width sheet near the top: one column, bigger buttons. Week/month/quarter reschedule options move into a Later menu so nothing runs off the edge.
  • On iPhone/iPad the dialog no longer opens with the keyboard up. While you type with the on-screen keyboard showing, it shrinks to the editor plus Complete, the first two date buttons and a hide-keyboard button.
  • The date picker shows two months on phones too, with arrows on the month line. Its day cells no longer pick up the dialog's button borders.
  • The Line Type and Later menus open upward when there isn't room below.
  • Formatted item text. The text shows as it does on Dashboard rows: links, tags, priorities and times styled; markdown link syntax and block IDs hidden. Click the text to edit the raw markdown, with the cursor placed where you clicked. A pencil/eye button in the footer switches too. Each new Interactive Processing item starts formatted.
  • The editor footer shows when the item is due or how overdue it is ("140 days overdue · scheduled Jul 15"), using the due date (!date) when there is one.
  • Update and Revert appear only once you change the text. Undoing your edits by hand hides them again.
  • Update keeps the dialog open. It saves the text and returns to the formatted view, so you can go on to reschedule the item, change its type, etc. Return saves and closes (or moves to the next item in Interactive Processing); the footer hint says which ("↩ save & next" / "↩ save & close"). Revert goes back to the formatted view.
  • Picking a date from the calendar no longer loses a text edit you hadn't saved.
  • Pressing priority up/down more than once in the dialog now works. Before, the second press failed with "Unable to find para".
  • Complete is now the primary button, and 'Complete then' shows the date it will use (e.g. 'Done Jul 15').
  • Interactive Processing shows 'N of M' with a progress bar.
  • Swipe left to skip (iPhone/iPad): in Interactive Processing, swipe the dialog left to skip to the next item instead of reaching for the ⏩ button at the top.
  • Animates between Interactive Processing items: the dialog stays mounted from item to item, so the 'Show interactive processing transitions?' setting used to animate only the first item, and it wasn't obvious anything had changed. Now each new item slides in (a plain fade with Reduce Motion on); a swipe carries the old one off to the left first. The setting's description and the README are updated to match.
  • Opening the date picker keeps the top of the dialog where it is and only extends it downward. Before, the taller dialog was re-centred on the original click, so its top jumped up.
  • A new Add row: 'Add item' and 'Add text note'.
    • Add item (was 'New Task') uses the Dashboard's own Add dialog instead of the Quick Capture command sheet. The task dialog slides out and the Add dialog slides in at the same spot, preset to the item's note for regular notes or today for calendar notes (an Overdue item's old daily note is rarely where a new task belongs). On a checklist it opens with Checklist selected. It moves up only as far as it needs to stay fully on screen. When you add or cancel, the task dialog slides back on the same item, so Interactive Processing carries on where you were.
    • Add text note opens a box in the dialog. ⌘↩ inserts the text under the item, after any children it already has, indented one level deeper.
  • The reminder dialog has the same look. Reminders in Interactive Processing (or opened from a row) used the old layout. They now use the same layout as tasks:
    • Title, notes and time are in one edit box, with when it's due underneath.
    • A Schedule row: today/+1d/+1b/+2d/+3d, Pick date, and Unschedule when the reminder has a date.
    • An Actions row: Complete as the main button, then To task and Delete, then Open in Reminders.
    • An Add row with Add item, which opens the same Add dialog with Reminder selected, then returns to this reminder.
    • 'N of M' with the progress bar, and the slide between items.
    • The same phone layout.
    • As for tasks, Update saves and stays open, and Return saves and moves on.
  • The project dialog has the same look too: a Review row (Start, Finish Review, Skip 1w/2w/1m/1q, Skip to Date), a Project row (Complete as the main button, Cancel, Toggle Pause, New Interval) and a Progress row (Add, with the latest progress line beside it).
  • Fix: a task added from the Add dialog now shows in Today (or whichever section was refreshed) without waiting for a full refresh. The refresh was reading the note before the new line's heading was reliable, so a perspective that shows only one calendar heading (such as Home) left the task out.

Notes for review

  • Version: 2.6.0 was released on 2026-11-07. This is a minor release, 2.7.0, with a new 2.7.0 CHANGELOG section and an updated plugin.lastUpdateInfo. The 2.7.0 entry also notes that more than three leading !s are no longer a priority, to match NotePlan.
  • New code: DialogMenuButton.jsx (the Later/Type menus), dialogTransitions.js (the shared slide/fade animations) and taskDialogHelpers.js (due/overdue wording, dirty-state checks, the swipe test, where the dialog's top goes when it grows, and mapping a click in the formatted text to a position in the raw text). interactiveProcessingHelpers.js gains withUpdatedItemContent(). Unit tests for all of these.
  • Add dialog: requestOpenAddDialog now returns whether it opened, and takes optional onDone, anchor (open at a given top-left spot, shifted up to stay on screen) and itemKind (start on Task, Checklist or Reminder). Existing callers are unchanged. The task and reminder dialogs both hand over to it through setHiddenForAdd in Dialog.jsx, which keeps them mounted but hidden. MessageDataObject gains an optional useEditorWherePossible, for adding to the note that is open in the Editor.
  • Saving text without closing: the plugin finds the line by its text, so after an Update that stays open, every later action from the dialog sends the new text. The open dialog's item and the IP list's copy are updated as well, so going back to the item shows the new text too.
  • Priority fix: the open dialog now takes its line's new text from the Dashboard data after any action that leaves it open, such as priority up/down. It matches the line by filename and line number, not item ID, because IDs are positional and can be reused after a refresh (findLatestLineContent(), with tests; 42 passing).
  • Reminder dialog: DialogForReminderItems.jsx now also has the .taskControlDialog class and uses the task dialog's structure, so the two share their CSS. The old reminder-only grid CSS is gone, and only a few reminder rules remain (notes field, time field, three outcome tiles on phones). After an Update that stays open, later actions send the saved title, notes and time in item.reminder, because the plugin compares against those. A notes-only or time-only Update leaves out updatedContent, so the title isn't replaced with an empty string. Swipe-to-skip and the cut-down keyboard view aren't carried over to reminders yet.
  • Project dialog: DialogForProjectItems.jsx uses the same .taskControlDialog structure and labelled rows. DashboardDialog.css has been reorganized around the shared dialog styles.
  • Formatted text reuses makeParaContentToLookLikeNPDisplayInReact() and applyDashboardSettingsToDisplayedItemHtml() from the row rendering; there is no new rendering code.
  • Shared helper: helpers/react/EditableInput.jsx has a small additive change; other plugins that use it keep working as before.
  • The branch includes a merge of the latest main (up to 2.6.2). The only conflicts were the version and changelog, resolved by keeping both: 2.7.0 sits above 2.6.2.
  • The screenshots sit next to the earlier task-dialog-IP-mode-*.png files, so the README can use them.

🤖 Generated with Claude Code

dwertheimer and others added 5 commits November 19, 2026 12:46
- Wrap and grow the item text on every platform (macOS used a one-line
  <input> that truncated long tasks).
- Phones: full-width sheet pinned near the top, single column, labels
  above controls, bigger targets. Week/month/quarter reschedule buttons
  move into a 'Later' menu so the row never overflows.
- Touch devices: tapping into the editor collapses the dialog to the
  editor plus a quick strip (Complete, first two date buttons, More),
  leaving room for the keyboard.
- Editor footer shows due/overdue status (deadline-aware, v2.6.0
  due dates win over scheduled dates), a quiet Update that turns solid
  when edited, and Revert.
- Complete is the primary button; 'then' names its date ('Done Jul 15').
- IP shows 'N of M' with a progress bar.
- New DialogMenuButton (used by 'Later' and 'Type'); pure helpers in
  taskDialogHelpers.js with tests. EditableInput gains onFocus/onBlur.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…enus

- Rewrite the task dialog CSS around shared size tokens (control height,
  gap, radius, font) so every button, segment and menu trigger matches;
  title bar keeps 'From:' next to the note chip.
- Phones: outcome tiles and edit buttons fill equal grid columns instead
  of shrinking to content; nothing runs off the edge.
- Touch: don't autofocus the editor (it raised the keyboard over the
  dialog). Editing mode now follows real state: editor focused and the
  visual viewport shrunk for a keyboard (falls back to focus alone until
  the viewport has been seen to change, e.g. hardware keyboards).
- Calendar: two months on phones, arrows on the caption line, and day
  cells no longer inherit the dialog's button chrome.
- DialogMenuButton opens upward when the window or a clipping dialog
  leaves no room below (fixes Type menu cut off on phones).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Drop the !important pad-left/pad-right utilities from icons in this
  dialog (buttons space icon and label with gap); CalendarPicker gains an
  iconClassName prop so the dialog can do the same for its trigger.
- Trim button labels to cap height + baseline so letters, not font
  metrics, centre against icons; small optical nudge for side-by-side
  icons. Stacked phone tiles keep normal line boxes (no clipped
  descenders).
- Menu triggers: equal space before the label and after the chevron.
- Outline border strong enough that outlined and filled buttons read the
  same size (all measured equal: 28px desktop, 40/56px phone).
- Update/Revert/Return hint only shown when the text differs from the
  original; hint centred between status and buttons. Fix Update being
  invisible (transparent footer rule outranked it).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…k dialog redesign

2.6.0 was released on 2026-11-07, so the dialog notes move out of the
2.6.0 section into a new 2.6.1 entry, with lastUpdateInfo to match.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dwertheimer and others added 2 commits December 2, 2026 18:13
…between IP items

- Opening the date picker no longer re-centres the taller dialog on the
  original click; the top stays put and it only lifts if the bottom would
  run off-screen.
- On iPhone/iPad, swipe left in Interactive Processing to skip to the next
  item (no swipe right: NotePlan uses that edge gesture for its sidebar).
- Each new IP item slides in (fade with Reduce Motion). The dialog stays
  mounted across items, so the 'transitions' setting previously only
  animated the first one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…f the task dialog

New Task slides the task / IP dialog out and opens the Add dialog at the same
top-left spot (preset to the item's note for regular notes, today for calendar
notes). When the Add dialog closes, the task dialog slides back on the same item.
Slide transitions move to a shared dialogTransitions.js. Version bumped to 2.7.0
(minor release rather than bugfix).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dwertheimer dwertheimer changed the title Dashboard 2.6.1: responsive task / Interactive Processing dialog Dashboard 2.7.0: responsive task / Interactive Processing dialog Dec 3, 2026
dwertheimer and others added 2 commits December 2, 2026 21:11
… that keeps the dialog open

- Item text shows formatted, as on Dashboard rows (no markdown link syntax or
  block IDs). Click it to edit the raw text, with the caret placed where you
  clicked (mapRenderedOffsetToRaw); a pencil/eye button toggles too.
- Update saves the text and keeps the dialog open so you can still reschedule,
  change type, etc. Return saves and closes (or moves to the next IP item), and
  the hint says which. Later actions send the new text so the plugin can find
  the line, and React's copies of the item (dialog + IP list) pick it up
  (withUpdatedItemContent).
- Picking a date from the calendar no longer loses an unsaved text edit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rity changes

Pressing priority up/down twice failed on the second press ('Unable to find
para'): the plugin finds the line by its text, but the open dialog kept the text
it opened with. The dialog now picks up its line's new text from the Dashboard
data (matched by filename + line number, as item IDs are positional) and passes
it to the IP list too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dwertheimer

Copy link
Copy Markdown
Collaborator Author

@jgclark There was more to clean up in the priorities code, somewhat important now with the !>date changes. So I had Claude make more extensive checks, tests and create a PR for you to look at and test.

dwertheimer and others added 14 commits December 3, 2026 14:32
…edesign

# Conflicts:
#	jgclark.Dashboard/CHANGELOG.md
#	jgclark.Dashboard/plugin.json
The reminder dialog (Interactive Processing and the row edit icon) now shares the
task dialog's .taskControlDialog layout and styles:
- Title, notes and time in one editor box, with the due status in its footer;
  Revert/Update appear only once something changes.
- Update saves and keeps the dialog open; Return saves and moves on.
- Reschedule row (day segment + calendar) and Actions row (Complete as primary,
  To task, Delete; then Unsched and Open in Reminders).
- 'N of M' count, progress bar, and slide transition between IP items.
- Phone layout from the task dialog; three outcome tiles.
Old reminder-only grid CSS removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add 'useEditorWherePossible' optional field to MessageDataObject, to help when adding a new item to the currently-open note.
Tweaks to horizontal positioning of Project item chlid NA and Progress rows.
Open the shared Add dialog from those rows, starting on Checklist or Reminder when that is the open item, and shift it up only far enough to stay fully on screen.

Co-authored-by: Cursor <cursoragent@cursor.com>
@dwertheimer dwertheimer changed the title Dashboard 2.7.0: responsive task / Interactive Processing dialog Dashboard 2.7.0: responsive task, reminder and project dialogs Dec 5, 2026
jgclark and others added 2 commits December 6, 2026 06:24
Perspectives no longer need to list that folder to keep template tasks out of those sections.

Co-authored-by: Cursor <cursoragent@cursor.com>
The button was renamed to addtextnote, but the dialog still attached the text only for the old control name, so the note was saved empty.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants