Declare ui.markdown and plugin API 20 props - #34
Closed
gegnep wants to merge 1 commit into
Closed
Conversation
Matches noctalia PR #3327: the ui.markdown node, input submitOnEnter, and scroll stickToBottom / onScroll / scrollToBottomRev, all gated plugin_api >= 20. Assisted-by: Fable 5 (main session), claude-code v2.1.217
20 tasks
Contributor
|
already updated |
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.
Companion to noctalia-dev/noctalia#3327 (plugin API 20). Requested in
that PR's review:
noctalia.d.luaudid not declareui.markdown.Adds
markdownto thedeclare uitable and documents the newAPI-20-gated props with the file's existing comment conventions:
ui.markdown: renders thetextprop (headings, lists, codeblocks, tables) as a read-only block. The host re-parses only when
the text or the surface scale changes, so streaming re-renders with
unchanged text are cheap.
ui.inputsubmitOnEnter: chat-style submit for multiline inputs.Enter fires
onSubmit, Shift+Enter inserts the newline, Ctrl+Enterstill submits. Default off, existing behavior unchanged.
ui.scrollstickToBottom/onScroll/scrollToBottomRev:follow-scroll while content grows, an
(offset, maxOffset)scrollcallback, and a deferred jump-to-bottom trigger.
Tested live by a chat panel plugin (streaming markdown, follow-scroll,
Enter-to-send composer) against a shell carrying the #3327 patches.