Files
bitvid/decisions/DECISIONS_2026-02-18_00-02-50.md
T
google-labs-jules[bot]andPR0M3TH3AN 4312a78159 Content Audit: Verify upload docs and fix hashtag bug
- Audited `content/docs/guides/upload-content.md` against codebase.
- Verified claims regarding file types, size limits, permissions, and CORS.
- Fixed a bug in `js/services/videoNotePayload.js` where user-entered hashtags were dropped.
- Added regression test `tests/unit/services/videoNotePayload.test.mjs`.
- Generated audit artifacts.
- Created completion log.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 00:09:01 +00:00

591 B

Decisions

NIP-71 Hashtag Handling

Issue: Nip71FormManager uses the data-nip71-list attribute as the key for collected data. The Upload Modal uses data-nip71-list="t" for hashtags, matching the NIP-71 tag name. However, the normalizer normalizeNip71Metadata expects hashtags property.

Decision: Update normalizeNip71Metadata in js/services/videoNotePayload.js to check rawMetadata.t if rawMetadata.hashtags is missing. This aligns the backend logic with the existing UI behavior without requiring a change to the HTML structure or Form Manager generic logic.