feat(app): open notes in textarea overlay with ctrl+e editor escalation#443
Merged
feat(app): open notes in textarea overlay with ctrl+e editor escalation#443
Conversation
…nd vendors Add a Docs drilldown column to maintenance items, quotes, and vendors following the same pattern used by projects, appliances, incidents, and service logs. Each entity gets a column enum entry, column spec, doc count in its row builder, handler Load integration with CountDocumentsByEntity, inline edit fallthrough, a detailDef, and routing. Introduces a formKind discriminator on detailRoute so nested detail views (e.g. appliance → maintenance → docs) route to the correct document def instead of the parent tab's document def. Scoped variants (applianceMaintenanceRows, vendorQuoteRows, projectQuoteRows) and their handlers are also updated. closes #427 Co-Authored-By: Claude Opus 4.6 <[email protected]>
Replace single-line status bar input for notes fields with a proper huh.NewText() textarea overlay. Add ctrl+e to launch $EDITOR/$VISUAL for extended editing; on save, the textarea reopens with updated text for review before committing the change. Three call sites updated: service log notes, document notes, and vendor jobs notes (via delegation to inlineEditServiceLog). closes #423 Co-Authored-By: Claude Opus 4.6 <[email protected]>
4c91efa to
901c153
Compare
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.
Summary
huh.NewText()textarea overlay, giving proper multi-line editingctrl+eto launch$EDITOR/$VISUALfrom the textarea; on save, the textarea reopens with updated text for review before committing the changeEnteron notes column) unchangedSteps to reproduce
eto edit -- should open a textarea overlay (not a status bar input)ctrl+sto savectrl+e-- should open$EDITORwith the note textctrl+sto commit the changecloses #423