Repository navigation
fix: draw the full update news for a person at a terminal - #1981
Merged
Merged
Conversation
abcd update news --full printed every change of every release as one wall of raw changelog paragraphs. It now draws each release as a summary first: what needs the person, then up to five headline changes (those with a bold lead), then the rest as new or fixed, one line per change with the record it cites. Code spans and strong emphasis are drawn as terminal styling, in the sixteen basic colours, and each line is fitted to the window. Off a terminal the same lines come plain, with no colour, and --json carries them. --change <record-id> prints the whole text of the change citing that record. Every changelog line is masked with termsafe.SanitizeLine before it is read as markdown, so the only escapes drawn are the renderer's own. Code spans are paired through mdrecord.CodeSpanRanges and termsafe.PairCodeSpan. Refs: iss-2612021706041724 Assisted-by: Claude:claude-opus-5-5
Resolves: iss-2612021706041724 Assisted-by: Claude:claude-opus-5-5
The generated CLI reference, the release surface and the update surface page now carry the full news text and the --change flag. A change line in a window too narrow for its record id beside a readable summary drops the id and cuts the summary, so it still fits. Reading strong emphasis searches the stretch and the rest of the line apart, so a line of many ** pairs no longer copies the line at each opener. Refs: iss-2612021706041724 Assisted-by: Claude:claude-opus-5-5
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.
Refs: iss-2612021706041724
Resolves: iss-2612021706041724
Assisted-by: abcd:dev
Assisted-by: Claude:claude-opus-5-5