Files
StarPunk/docs/design/v2.14.2/2026-11-10-quotes-cleanup.md
T

32 lines
1.3 KiB
Markdown

# v2.14.2: Quote counts; dead files removed
The two remaining items from the v2.14.0 documentation review.
## Quote counts
Backfeed stored anonymous quote counts (`syndications.quotes_count`: all
Threads quotes, and quotes by people who opted out elsewhere) that nothing
displayed. The counts line (`partials/responses.html` `reactions`) now has a
quote count after replies: named quotes plus those counts. Its card shows
only the anonymous part ("2 on Threads"); named quotes stay listed under
Responses. Quotes have no web action (there is no standard verb).
`webmention_queries.response_counts` adds `quotes`, so lists of notes show
them too.
## Removed
- `static/js/preview.js` (empty since the first commit) and the jsDelivr
`marked` script the editor pages loaded with it.
- `templates/feed.xml` (empty, never rendered) and `static/indielogin-test.html`
(a v1 IndieLogin test page).
- `syndication.get_targets()` read `THREADS_API` from the config, which
`config.py` never loads; the client now always uses the `THREADS_API`
constant.
## Verification
`tests/test_backfeed.py::test_quote_counts_include_anonymous_ones`; backfeed,
syndication, admin, template, public-route, microformats, notification,
webmention and feed tests pass. Rendered the counts line with the quote card
open in headless Chromium.