mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
chore(ai): format sources and fix moderation bugs (agent)
- Format `css/tailwind.source.css` with Prettier. - Add allowlist entry for `VideoCard.js` media query pixel value in `scripts/check-design-tokens.mjs`. - Remove accidental artifact `js/ui/dm/jules_session_4520373547615093905.zip`. - Fix bug in `js/app.js` and `js/services/moderationActionController.js` where blocked users' videos were not correctly hidden in the UI immediately after blocking. - Fix bug in `tests/app/moderation-overrides.test.mjs` where `userBlocks` mocks were insufficient to reflect state changes.
This commit is contained in:
1 parent
59d4116669
commit
f75531d2db
30 files changed
+303
-1393
No files matched your search
@@ -7,19 +7,6 @@ no longer requires hunting through the codebase. It also exposes helpers for
|
||||
building events and for overriding the schema at runtime when you need to
|
||||
experiment.
|
||||
|
||||
## Validation
|
||||
|
||||
To verify that event builders produce spec-compliant events, run the validation script:
|
||||
|
||||
```bash
|
||||
node scripts/agent/validate-events.mjs
|
||||
```
|
||||
|
||||
This script generates example events for all defined builders and checks them against their schemas, ensuring:
|
||||
- Correct kind
|
||||
- Presence of required tags (topic, identifier, etc.)
|
||||
- Correct content format (JSON vs text vs empty)
|
||||
|
||||
## Runtime helpers
|
||||
|
||||
```js
|
||||
|
||||
Reference in new issue
Block a user