Files
ausboss-ComfyUI-AusBoss/tests/fixtures/callout_released_notes.json
ausboss 4609d7df86 Callout: small print under a line
A Callout's text is fitted as large as the note allows, so a note with a
headline and its details ended up with all of it at one middling size. A
line can now be small print: it is drawn small under the line above it, the
first line stays big enough to read from far out, and the note holds more.

In the editor the new Small button marks the caret's line, or every line of
a selection, and takes the mark off again. In the text it is a line that
starts with six hashes and a space.

Why six hashes: every release so far already drops one to six leading
hashes from a line, so a note with small print opened on an older version
of the pack shows the same words with every line at one size, and no note
written before changes its look unless it used that exact mark. A dash was
the first idea, but a dash line is an ordinary line today and dash lists
would have shrunk.

The editor's bar was already squeezed on a narrow note. With one more
button it now drops its label and its hint under 345 px, and goes onto two
rows when the note is tall enough, so the buttons keep their size.

tests/fixtures/callout_released_notes.json holds what release 2.10.1 made
of 14 notes (dash lists, every heading mark, the example notes); the new
parser has to give the same. Help page and CHANGELOG entry included.
2026-10-11 17:10:24 -05:00

357 lines
4.9 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[
{
"text": "Steps:\n- load the picture\n- press run",
"blocks": [
[
[
{
"text": "Steps:",
"bold": false
}
],
[
{
"text": "- load the picture",
"bold": false
}
],
[
{
"text": "- press run",
"bold": false
}
]
]
]
},
{
"text": "– a line with a long dash\nand the next line",
"blocks": [
[
[
{
"text": "– a line with a long dash",
"bold": false
}
],
[
{
"text": "and the next line",
"bold": false
}
]
]
]
},
{
"text": "# One\n## Two\n### Three\n#### Four\n##### Five",
"blocks": [
[
[
{
"text": "One",
"bold": false
}
],
[
{
"text": "Two",
"bold": false
}
],
[
{
"text": "Three",
"bold": false
}
],
[
{
"text": "Four",
"bold": false
}
],
[
{
"text": "Five",
"bold": false
}
]
]
]
},
{
"text": "####### seven hashes stay as typed",
"blocks": [
[
[
{
"text": "####### seven hashes stay as typed",
"bold": false
}
]
]
]
},
{
"text": "######no space after the hashes",
"blocks": [
[
[
{
"text": "######no space after the hashes",
"bold": false
}
]
]
]
},
{
"text": "-# a line some chat apps draw small",
"blocks": [
[
[
{
"text": "-# a line some chat apps draw small",
"bold": false
}
]
]
]
},
{
"text": " an indented line\n\tand one after a tab",
"blocks": [
[
[
{
"text": "an indented line",
"bold": false
}
],
[
{
"text": "and one after a tab",
"bold": false
}
]
]
]
},
{
"text": "a **big** idea ⬆️#12 -> there\r\nsecond line\r\n\r\nthird <- back",
"blocks": [
[
[
{
"text": "a ",
"bold": false
},
{
"text": "big",
"bold": true
},
{
"text": " idea ",
"bold": false
},
{
"arrow": "up",
"bold": false,
"link": "12"
},
{
"text": " ",
"bold": false
},
{
"arrow": "right",
"bold": false
},
{
"text": " there",
"bold": false
}
],
[
{
"text": "second line",
"bold": false
}
]
],
[
[
{
"text": "third ",
"bold": false
},
{
"arrow": "left",
"bold": false
},
{
"text": " back",
"bold": false
}
]
]
]
},
{
"text": "###### \nonly the mark above, then text",
"blocks": [
[
[
{
"text": "only the mark above, then text",
"bold": false
}
]
]
]
},
{
"text": "**Resize is on.** The picture is made smaller first.\n\nTurn it off to keep the size.",
"blocks": [
[
[
{
"text": "Resize is on.",
"bold": true
},
{
"text": " The picture is made smaller first.",
"bold": false
}
]
],
[
[
{
"text": "Turn it off to keep the size.",
"bold": false
}
]
]
]
},
{
"text": "1. first\n2. second\n\n* a star\n+ a plus\n> a quote",
"blocks": [
[
[
{
"text": "1. first",
"bold": false
}
],
[
{
"text": "2. second",
"bold": false
}
]
],
[
[
{
"text": "* a star",
"bold": false
}
],
[
{
"text": "+ a plus",
"bold": false
}
],
[
{
"text": "> a quote",
"bold": false
}
]
]
]
},
{
"text": "⬅️#7 Switch a result off to skip it.",
"blocks": [
[
[
{
"arrow": "left",
"bold": false,
"link": "7"
},
{
"text": " Switch a result off to skip it.",
"bold": false
}
]
]
]
},
{
"text": "⬇️#3 Load your picture here.",
"blocks": [
[
[
{
"arrow": "down",
"bold": false,
"link": "3"
},
{
"text": " Load your picture here.",
"bold": false
}
]
]
]
},
{
"text": "⬇️#6 Move over the picture: things light up and say their name. **Click** one to pick it.\n\nWrong thing? The **‹ ›** arrows under the picture swap it.",
"blocks": [
[
[
{
"arrow": "down",
"bold": false,
"link": "6"
},
{
"text": " Move over the picture: things light up and say their name. ",
"bold": false
},
{
"text": "Click",
"bold": true
},
{
"text": " one to pick it.",
"bold": false
}
]
],
[
[
{
"text": "Wrong thing? The ",
"bold": false
},
{
"text": "‹ ›",
"bold": true
},
{
"text": " arrows under the picture swap it.",
"bold": false
}
]
]
]
}
]