Repository navigation
Commit 3891b4f
authored
Release v0.2.33 (#3086)
Release v0.2.33
Changelog fragments consumed (8):
- #3050 pending-retry-busy
- #3062 share-one-at-a-time
- #3064 release-section-date
- #3071 mixed-approve-reason
- #3073 i18n-helper-returns
- #3075 batch-failure-card
- #3077 i18n-indexed-read
- #3080 approval-dock-hidden-tab
## Release notes
### Changed
- `scripts/i18n-usage.mjs` sees copy a helper hands back: a `return` of
a sentence — or of a `?:` / `||` expression built from sentences — is
reported by `--missing` instead of staying invisible to both i18n
checks, as long as the helper is drawn (called at a copy position, or
rendered as an `h(Component, …)`). A helper whose value is data — a
status id the file compares, a React key, a class name, a URL or a
`location.href` template — is not reported. Product measured five such
sites in `plugins/social/client.js`; the missing-entry baseline grows by
34 pins of English a reader can still see untranslated, and the
bare-draw and template-draw counts are unchanged.
- `scripts/i18n-usage.mjs` now closes the `]` it opens: an indexed read
like `list[0]` no longer leaves the scan inside a bracket it can never
close, so a literal beside it (`return list[0] || 'None yet'`) is
reported by `--missing` instead of being swallowed along with the rest
of the file. The same walk also records the names a `${}` hole
interpolates, so a sentence a helper builds from a local counts as read
rather than as a dead local. The missing-entry baseline grows by one pin
— `Your own Bots stay shared. {} can share it again.`, the other branch
of a sentence already pinned — and the bare-draw and template-draw
counts are unchanged. See
[#3077](#3077).
- The approval dock no longer reads the server while its tab is hidden;
coming back to the tab reads both of its lists at once instead of
waiting for the next five-second poll (#3080).
### Fixed
- In the Bot Social dock, the **Retry** on a failed send listed from
another chat no longer looks clickable while a different hold is being
decided: the whole list's Retry goes disabled with the decision that is
in flight, because the click there was already being dropped
([#3050](#3050)).
- Sharing a Bot with a friend is one share at a time: while a row is
sending, no other row is clickable, so a second click no longer takes
the sending row's "Sharing…" over and posts a second grant at the same
moment ([#3062](#3062)).
- A release section is dated by the Asia/Shanghai calendar day of the
release moment instead of the UTC day, so a release after 16:00Z no
longer lands under the previous date (`changelog.mjs release` defaults
to it; `--date` still overrides) (#3064).
- "Approve all" no longer loses the reason when a batch is mixed: a hold
that fails keeps its own sentence and the card it belongs to ("Eve: the
hold is stale") while the holds that did send leave as before, and the
receipt still names only the people reached (#3071).
- `plugins/social/client.js`: a Bot Social hold whose send failed now
keeps a **Not sent** card, with the reason and **Retry**, until it
leaves the queue — the dock remembers the failure itself instead of only
the one error line the next click clears, so the 5 s poll that still
lists the hold as pending can no longer draw it back as waiting. Its
**Retry** sends the same approval again (`approve`), once per card that
actually went out, and a second click on a card that already went out
sends nothing. A local failed hold keeps the host's own retry, which can
be tried again while the host keeps answering with a failure.
Written-by: Release1 parent b0ffd54 commit 3891b4f
12 files changed
Lines changed: 24 additions & 15 deletions
File tree
- changelog.d
- core
- patches/ds-bot
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
9 | 25 | | |
10 | 26 | | |
11 | 27 | | |
| |||
1489 | 1505 | | |
1490 | 1506 | | |
1491 | 1507 | | |
1492 | | - | |
| 1508 | + | |
| 1509 | + | |
1493 | 1510 | | |
1494 | 1511 | | |
1495 | 1512 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments