jared and Claude Opus 4.8
230ef8ed7c
test: markdown parser subsystem (58) + custom-emoji readers (32)
...
Via subagents, probe-verified against real output, no bugs:
- markdown: internal/utils (11), inline/runner (7), inline/parser (21 — bold/
italic/underline/strike/code/spoiler/link, nesting, precedence, URL lookbehind),
block/parser (19 — headings/code-fences/quotes/lists/<br>/escapes). Closes the
biggest coverage hole (core message rendering).
- custom-emoji: PackMetaReader (6), PackImageReader (7), PackImagesReader (4),
utils equality+makeImagePacks (5), recent-emoji promote/increment/100-cap (10).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-30 14:52:48 -04:00
jared and Claude Opus 4.8
6e59395fb8
test: lotus decorations, call caps, crypto, featureCheck, typing, markdown (+34)
...
Subagent batch (no bugs found) + markdown:
- lotus/avatarDecorations (8): decorationUrl, CDN shape, ALL_DECORATIONS
flattening, data invariants (unique category ids + slugs, slug charset).
- plugins/call/utils (7): getCallCapabilities — static caps + room/user/device
scoped state-keys.
- utils/matrix-crypto (3): verifiedDevice via a stubbed CryptoApi.
- utils/featureCheck (3): checkIndexedDBSupport success/error/throw paths.
- state/typingMembers (8): add/dedup-by-latest-ts/per-room-scope/delete reducer
via a jotai store (enableMapSet, mirroring app startup).
- plugins/markdown/utils (5): inline + block escape/unescape round-trips.
Full suite now 231 tests, all passing.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-30 14:32:53 -04:00
Lotus Bot
61a1f008d0
chore: upgrade i18next 26, prettier 3, fontsource-variable, domhandler 6, lint-staged 17
...
- i18next 23->26 + react-i18next 15->17
- prettier 2->3, reformat all files
- replace @fontsource/inter with @fontsource-variable/inter 5, update import path
- domhandler 5->6 (aligns with transitive deps)
- lint-staged 16->17
2026-05-21 23:30:50 -04:00
Ajay Bura
7d8c2c5937
feat: allow codeblock plaintext inside codeblock and nested lists markdown ( #2930 )
...
* fix crash when editing message with empty trailing heading
* remove unused imports
* allow codeblock plaintext inside codeblock by extending fence count
* allow nested list in markdown
2026-05-14 15:02:54 +10:00
Ajay Bura
e65a898074
fix: prevent codeblock filename drop on edit ( #2780 )
...
prevent codeblock filename drop on edit
2026-03-15 15:37:14 +11:00
Jan Jurzitza
7549ce1bec
feat: allow using filenames in codeblocks ( #2455 )
...
Allow using filenames in codeblocks
- If there is a dot in the language name, we instead treat the first line after ``` as the filename and everything after the last dot as the language
- we use a custom "data-label" attribute on the code block to specify the name of the file (so only compatible with cinny from this point onwards)
2026-03-14 18:54:03 +11:00
Ajay Bura
697182519e
fix backslash inserted in links upon edit ( #2246 )
...
* fix backslash appear in url with inline markdown sequences
* fix markdown chars not escaping on edit
2025-03-04 17:32:13 +11:00
Ajay Bura
b8b58bcf5d
Escape markdown sequences ( #2208 )
...
* escape inline markdown character
* fix typo
* improve document around custom markdown plugin and add escape sequence utils
* recover inline escape sequences on edit
* remove escape sequences from plain text body
* use `s` for strike-through instead of del
* escape block markdown sequences
* fix remove escape sequence was not removing all slashes from plain text
* recover block sequences on edit
2025-02-21 19:19:24 +11:00