Repository navigation
Dashboard 2.7.0: responsive task, reminder and project dialogs - #795
Open
dwertheimer wants to merge 25 commits into
Open
dwertheimer wants to merge 25 commits into
dwertheimer wants to merge 25 commits into
Conversation
- 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>
…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>
… 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>
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. |
This was referenced Dec 3, 2026
…edesign # Conflicts: # jgclark.Dashboard/CHANGELOG.md # jgclark.Dashboard/plugin.json
…ePlan/plugins into dashboard-ip-dialog-redesign
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>
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The task actions / Interactive Processing dialog was built for a wide macOS window, and it struggled everywhere else:
[text](https://…)and block IDs as^abc123, which made the task hard to read when you're deciding what to do with it.What it looks like now (links and block IDs etc are formatted)
Task edit mode (after clicking in the text)
macOS
iPhone
What changed
!date) when there is one.Notes for review
plugin.lastUpdateInfo. The 2.7.0 entry also notes that more than three leading!s are no longer a priority, to match NotePlan.DialogMenuButton.jsx(the Later/Type menus),dialogTransitions.js(the shared slide/fade animations) andtaskDialogHelpers.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.jsgainswithUpdatedItemContent(). Unit tests for all of these.requestOpenAddDialognow returns whether it opened, and takes optionalonDone,anchor(open at a given top-left spot, shifted up to stay on screen) anditemKind(start on Task, Checklist or Reminder). Existing callers are unchanged. The task and reminder dialogs both hand over to it throughsetHiddenForAddinDialog.jsx, which keeps them mounted but hidden.MessageDataObjectgains an optionaluseEditorWherePossible, for adding to the note that is open in the Editor.findLatestLineContent(), with tests; 42 passing).DialogForReminderItems.jsxnow also has the.taskControlDialogclass 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 initem.reminder, because the plugin compares against those. A notes-only or time-only Update leaves outupdatedContent, 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.DialogForProjectItems.jsxuses the same.taskControlDialogstructure and labelled rows.DashboardDialog.csshas been reorganized around the shared dialog styles.makeParaContentToLookLikeNPDisplayInReact()andapplyDashboardSettingsToDisplayedItemHtml()from the row rendering; there is no new rendering code.helpers/react/EditableInput.jsxhas a small additive change; other plugins that use it keep working as before.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.task-dialog-IP-mode-*.pngfiles, so the README can use them.🤖 Generated with Claude Code