Repository navigation
Conversation
Contributor
Author
|
🤖 Review follow-up
|
tellaho
force-pushed
the
tho/pr-3887-merge
branch
from
November 20, 2026 22:40
a8dd4e3 to
54307ec
Compare
Show the base prompt in a browsable list and put text editing and section actions together. Preserve source when the rich editor cannot round-trip it, and keep the last committed choices visible while a save is pending. Co-authored-by: Rizz <302abe414ca6e3134763d2539bfcf145aea2a63fe5f8455204ed602fd40cf381@feedback.communities.buzz.xyz> Co-authored-by: Carl <acda9e433d19dcd0e6b6840f7f4b98f3a56f1fab98049d444c087019e6d36560@feedback.communities.buzz.xyz> Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
Use the editor schema mark set for recursive formatting. Compact fields can then fall back to the exact source when the rich representation normalizes redundant marks. Co-authored-by: Rizz <302abe414ca6e3134763d2539bfcf145aea2a63fe5f8455204ed602fd40cf381@feedback.communities.buzz.xyz> Co-authored-by: Carl <acda9e433d19dcd0e6b6840f7f4b98f3a56f1fab98049d444c087019e6d36560@feedback.communities.buzz.xyz> Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
tellaho
force-pushed
the
tho/pr-3887-merge
branch
from
November 23, 2026 18:39
54307ec to
1812c2a
Compare
This branch has not been deployed
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.
Category improvement
User Impact You can browse the instructions Buzz gives agents, edit a section in place, or restore its built-in text.
Problem Reading a default and editing it are separate steps in Settings. Saving changes across the full form makes it harder to tell which section is being updated.
Solution Show the base prompt in prompt order using the shared popout accordion from #4125. Each editable section has a bounded editor, its own Save and Cancel actions, and an Options menu for Enable, Disable, and Set to default instruction. Reuse the shared Markdown editor and show source when formatting would change the original text.
This follows #3887, which added default text previews.
File changes
docs/buzz-help.md
Describe reading, editing, and restoring a section from Agent setup.
src/app/AgentSettings.test.tsx
Exercise the Base instructions disclosure from Agent setup.
src/features/agents/BaseInstructions.module.css
Style the preview fade, section label transition, and bounded reading area.
src/features/agents/BaseInstructions.test.tsx
Cover draft handling, source fidelity, section choices, and reopening Settings during a save.
src/features/agents/BaseInstructions.tsx
Render the base prompt in order and keep each section’s editing and persistence actions together.
src/features/agents/prompt-sections.test.ts
Verify that a synchronous storage failure clears the pending write.
src/features/agents/prompt-sections.ts
Ensure a synchronous storage failure follows the existing write cleanup path.
src/features/messages/DocumentEditor.module.css
Give the shared editor a bounded field presentation for Settings forms.
src/features/messages/DocumentEditor.tsx
Reuse the editor’s Markdown and draft handling in a compact, labelled field.
src/features/messages/document-editor-markdown.ts
Load nested inline formatting without duplicating editor marks.
src/features/messages/document-editor-markdown.test.ts
Exercise recursive bold, italic, and strikethrough through the shared parser.
tests/browser/settings-layout.spec.mjs
Exercise the shared popout, editor, keyboard focus, formatting, and scroll behavior in Settings.
Try it
Preview
demo.mp4