mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-05 20:32:27 +00:00
feat(ui): replace alert() with showError() in UploadModal and update design system guidelines
Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
7b11c705ff
commit
ca84cfb1ef
3 files changed
+35
-10
No files matched your search
@@ -0,0 +1,19 @@
|
||||
# Weekly Agent Task Log: 2025-02-21 (Jules)
|
||||
|
||||
**Agent:** ui-ux-marketing-expert
|
||||
**Status:** Completed
|
||||
|
||||
## Execution Summary
|
||||
|
||||
1. **Scheduler Setup:**
|
||||
* Skipped `nostr-lock.mjs` as the script was missing from the environment.
|
||||
* Created log directory.
|
||||
|
||||
2. **UI/UX Expert Task:**
|
||||
* **Audit:** Audited `js/ui/profileModalController.js` and `views/` for hardcoded styles. No significant violations found (clean use of utility classes).
|
||||
* **Remediation:** Identified `alert()` calls in `js/ui/components/UploadModal.js` as a UX violation (blocking UI). Replaced all instances with `this.showError()` or `this.showSuccess()` to align with the design system.
|
||||
* **Documentation:** Updated `docs/design-system.md` to explicitly forbid `alert()`/`confirm()` and recommend non-blocking alternatives.
|
||||
|
||||
3. **Verification:**
|
||||
* Ran `tests/ui/uploadModal-integration.test.mjs`: Passed.
|
||||
* Ran `npm run lint`: Passed.
|
||||
Reference in new issue
Block a user