Repository navigation
feat(cc-dazzle): sync prismantis 0.31.0 and cc-stretch 0.5.1, fixes and features - #79
Merged
Merged
Conversation
…retch 0.5.1 From prismantis 0.24.0 to 0.31.0: hover copy buttons cover only their own cells (#170), terminal escape sequences and 8-bit control characters are stripped before drawing (#98, #188), code off the terminal goes through the app's own Code element (#176), Lua is highlighted (#216), and each xychart series gets its own color and its name in the legend (#225). The vendor builds of Prism and beautiful-mermaid are upstream's. From cc-stretch 0.3.3 to 0.5.1: CJK and Thai lines break and grow where those languages break, code spans and fences are read across lines, emoji count as two cells, the composition marks move to noncharacters so Nerd Font icons draw and a stretch over several lines no longer hangs, the guide asks Claude to stretch list items instead of whole lists, and a reply's flushes are filtered in order. parse.ts, grow.ts and guide.ts are upstream's; layout.ts takes the fixes by hand. Each fix comes with its upstream test. Features left out are listed in docs/upstreams.md. synced from NahumLitvin/prismantis@354e11d (0.31.0) synced from pro-vi/cc-stretch@9aa56da (0.5.1) Claude-Session: https://claude.ai/code/session_01MTsuaQeLRCeYVhKYXLCfhi
A pie draws as a round circle with a legend, each slice in its own diagram hue, and falls back to one bar per slice past seven slices or in a narrow terminal. A gantt draws sections and tasks as bars on a shared time axis, with after, until, durations and milestones. hooks/charts.ts is upstream's. ported from NahumLitvin/prismantis #177, #221 Claude-Session: https://claude.ai/code/session_01MTsuaQeLRCeYVhKYXLCfhi
…h paragraphs In the fullscreen terminal, alt+down or ctrl+down puts a red letter on each closed stretch in the last three replies on screen, and typing it opens that stretch in place; alt+up or ctrl+up does the same for the closers. The reply's dot is the Button those chords press. In a paragraph that holds a stretch, a drag selects text and a double-click picks the word, path or URL under it; either goes to the clipboard. Markdown links to http, https and file targets, and bare URLs, are drawn as real links in the link blue. ported from pro-vi/cc-stretch 0.4.0 to 0.5.1 (#13, #16), each with its upstream test Claude-Session: https://claude.ai/code/session_01MTsuaQeLRCeYVhKYXLCfhi
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.
Brings cc-dazzle up to date with both upstreams, fixes and features. cc-dazzle 1.6.0 → 1.7.0.
New features:
«. The reply's●is the button those chords press.Fixes from prismantis 0.24.0 → 0.31.0:
consoleblocks there take the app's colors.Fixes from cc-stretch 0.3.3 → 0.5.1:
Left out: the cc-stretch style toolbar (cc-dazzle's look is fixed), and parts cc-dazzle does not have (images, RTL, setup pane). The full list is in
docs/upstreams.md.Tests: 222 pass with
mise run test:dazzle, andmise run verifyis clean. Letters and selection are tested in the test engine only, not yet in a live session.https://claude.ai/code/session_01MTsuaQeLRCeYVhKYXLCfhi