Repository navigation
Fix bold and italic button placements for text view - #58
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
@amiantos If we want to have the editor accept changes as final with checkmark and back button cancels the changes, then we can move it to the navigation bar. |
In Notes.app the checkmark just closes the keyboard, it's not necessarily a save button, it just collapses the keyboard so you can see the full note content. I'd think we can do that here, too? |
…eedback) Per PR discussion, move the checkmark "Done" button out of each text field/view's input accessory toolbar and into navigationItem.rightBarButtonItem, shown only while the keyboard is up (via keyboardWillShow/Hide), matching Notes.app's context-sensitive placement. The button still just dismisses the keyboard rather than acting as an explicit save/cancel control. Affects Consequence, Decision, Markdown, Metadata, and Rule editors. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@amiantos I made some changes for this. Here is the screenshot of the new checkmark placement. The only thing is it is following the app's primary color convention and it appears grey. It might appear disabled to some users, but let me know if this change is fine. We could also revisit the color palette soon to update the UI for this app. |
amiantos
left a comment
There was a problem hiding this comment.
if this merges cleanly, go for it! I'll see the changes when QAing other PRs




Summary
navigationItem.rightBarButtonItem, shown only while the keyboard is up (matching Notes.app's context-sensitive placement). The button still just dismisses the keyboard — it does not act as an explicit save/cancel control, per @amiantos's note that "the checkmark just closes the keyboard, it's not necessarily a save button."MetadataEditorViewController.doneAction()only ever resignedaboutTextView, so the nav-bar checkmark would fail to dismiss the keyboard if any of the other four fields (title/author/website/license) were focused instead. Now usesview.endEditing(true)to dismiss whichever field is active.Screenshots
Test plan
🤖 Generated with Claude Code