mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
695 B
695 B
Constant Refactoring Decisions
2026-02-16
-
5000 ms used for UI toast duration:
- Chosen canonical constant:
SHORT_TIMEOUT_MS(fromjs/constants.js) - Location:
js/ui/videoModalController.js - Reason:
SHORT_TIMEOUT_MSis already 5000 and semantically fits "short timeout" for auto-hiding status.
- Chosen canonical constant:
-
5000 as MAX_BLOCKLIST_ENTRIES:
- Chosen canonical constant:
MAX_BLOCKLIST_ENTRIES - Location:
js/constants.js - Reason:
MAX_BLOCKLIST_ENTRIESwas defined locally injs/userBlocks.js. Extracted tojs/constants.jsto centralize limits.
- Chosen canonical constant:
2026-02-16 - deps-security-agent
- jsdom: Upgraded to
28.1.0(Safe patch/minor upgrade verified by tests).