mirror of
https://github.com/A6-9V/MQL5-Google-Onedrive.git
synced 2026-04-11 13:20:57 +00:00
- Add 'Copy' buttons to Fly.io App ID and Telegram Bot ID in system status section - Implement accessible feedback (icon change + aria-label) - Refactor to use event listeners and prevent race conditions - Update both index.html and dashboard/index.html
9 lines
865 B
Markdown
9 lines
865 B
Markdown
## PALETTE'S JOURNAL - CRITICAL LEARNINGS ONLY
|
|
|
|
## 2026-02-13 - [Brand Color Contrast Failure]
|
|
**Learning:** The brand color `#667eea` fails WCAG AA contrast (3.4:1) against white backgrounds, affecting accessibility for text headers and primary buttons.
|
|
**Action:** Replace `#667eea` with `#4f46e5` (Indigo 600) which passes WCAG AA (5.5:1) while maintaining brand identity. Update all instances including `manifest.json`.
|
|
|
|
## 2026-02-23 - [Copy Button State Management]
|
|
**Learning:** Rapid clicking on "Copy" buttons caused a race condition where the feedback state (Checkmark/Green) was captured as the "original" state, leaving the button permanently stuck in the "Success" state.
|
|
**Action:** Implement a guard clause (e.g., `if (btn.dataset.copying) return;`) and use `dataset` flags to prevent re-triggering the action while the feedback animation is active.
|