Quotes that hold more than a sentence, and one list of marks
A quote may hold whole blocks, and they now have room: the rule that gives the writing its rhythm reaches only the editor's own children, so inside a quote a heading, a list and a closing line stood jammed together. Leaving as Markdown they were written on consecutive lines, which every other reader folds into one — the sentence after a quoted list became more of the last bullet. They are divided by a quoted blank line now, the same rule the top level has had since 11 August. The marks were two copies of one list, in two dialogs, and only one of them had ever been extended. One list, one grid, twice as many marks, divided under headings — and anything else can be typed into the search box, which on a phone is where the emoji keyboard lives. The changelog is a third of its length: one entry per day rather than one per image, since a round that repaired what an earlier round the same day broke reads as noise afterwards. Every digest is still listed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c0523f3ba4
commit
c86c63922a
14 files changed
+742
-887
No files matched your search
+35
-1
@@ -629,12 +629,25 @@ try {
|
||||
await p.waitForTimeout(600);
|
||||
await p.getByText("Edit", { exact: true }).click();
|
||||
await p.waitForTimeout(700);
|
||||
/* The whole set, as the chapter dialog offers it — kept to compare against
|
||||
the note dialog further down. The two grids were once two lists, and marks
|
||||
added to one did not exist in the other. */
|
||||
const allMarks = (page) =>
|
||||
page.evaluate(() => [...document.querySelectorAll("[data-icon-option]")].map((el) => el.dataset.iconOption));
|
||||
const marksInChapterDialog = await allMarks(p);
|
||||
const headings = await p.locator("[data-icon-group]").count();
|
||||
check(headings >= 3, "the marks are divided under headings", `${headings} groups`);
|
||||
|
||||
await p.getByLabel("Search icons").fill("invoice");
|
||||
await p.waitForTimeout(400);
|
||||
// One extra: "no icon" sits in the grid, because taking a mark off is the
|
||||
// same kind of choice as putting one on.
|
||||
const offered = await p.locator("[data-icon-option]").count();
|
||||
check(offered > 1 && offered < 20, "icons are searched by what they are for", `${offered} shown`);
|
||||
check(
|
||||
(await p.locator("[data-icon-group]").count()) < headings,
|
||||
"and a heading with nothing under it is not shown"
|
||||
);
|
||||
await p.locator("[data-icon-option]").nth(1).click();
|
||||
await p.locator("[data-chapter-save]").click();
|
||||
await p.waitForTimeout(2200);
|
||||
@@ -650,9 +663,30 @@ try {
|
||||
await p.waitForTimeout(1200);
|
||||
await p.locator("[data-note-icon]").click();
|
||||
await p.waitForTimeout(700);
|
||||
check(
|
||||
JSON.stringify(await allMarks(p)) === JSON.stringify(marksInChapterDialog),
|
||||
"a note is offered exactly the marks a chapter is",
|
||||
`${marksInChapterDialog.length} marks`
|
||||
);
|
||||
/* A mark nobody thought of: the search box is a text field, which on a phone
|
||||
is where the emoji keyboard lives, so anything typed into it is offered. */
|
||||
await p.getByLabel("Search icons").fill("🦖");
|
||||
await p.waitForTimeout(400);
|
||||
check(
|
||||
(await p.locator('[data-icon-option="🦖"]').count()) === 1,
|
||||
"an emoji typed into the search box is offered as a mark"
|
||||
);
|
||||
await p.getByLabel("Search icons").fill("plainly not a mark");
|
||||
await p.waitForTimeout(400);
|
||||
check(
|
||||
(await p.locator("[data-icon-option]").count()) === 1,
|
||||
"while words that match nothing offer only the empty mark"
|
||||
);
|
||||
|
||||
await p.getByLabel("Search icons").fill("house");
|
||||
await p.waitForTimeout(400);
|
||||
await p.locator("[data-icon-option]").first().click();
|
||||
// Both dialogs show the same grid, and in it "no icon" is the first tile.
|
||||
await p.locator("[data-icon-option]").nth(1).click();
|
||||
await p.locator('[data-icon-colour="#2da44e"]').click();
|
||||
await p.locator("[data-icon-save]").click();
|
||||
await p.waitForTimeout(2500);
|
||||
|
||||
Reference in new issue
Block a user