mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
- 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]>
591 B
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.