From 02eefa8f8074d9e8adb8182c1ca09967aae4a11a Mon Sep 17 00:00:00 2001 From: clawbot Date: Fri, 27 Feb 2026 02:14:40 -0800 Subject: [PATCH] fix: resolve all RULES.md divergences - Update RULES.md to document Blockscout as third allowed external service - Remove DEBUG-conditional log threshold (DEBUG now only enables banner + test phrase) - Add   fallback in balanceLine() to prevent layout shift - Show ISO datetime + relative age in all transaction list views - Rename 'mnemonic' to 'recoveryPhrase' in all code identifiers and HTML IDs - Deduplicate isoDate/timeAgo into helpers.js (single source of truth) fixes #1 --- RULES.md | 4 +-- src/popup/index.html | 2 +- src/popup/views/addWallet.js | 23 ++++++++-------- src/popup/views/addressDetail.js | 39 +++------------------------- src/popup/views/addressToken.js | 39 +++------------------------- src/popup/views/helpers.js | 39 +++++++++++++++++++++++++++- src/popup/views/home.js | 39 +++------------------------- src/popup/views/transactionDetail.js | 37 ++------------------------ src/shared/constants.js | 4 +-- src/shared/log.js | 4 +-- src/shared/wallet.js | 22 ++++++++-------- 11 files changed, 78 insertions(+), 174 deletions(-) diff --git a/RULES.md b/RULES.md index 6c4e4a8..b8c6bf3 100644 --- a/RULES.md +++ b/RULES.md @@ -17,8 +17,8 @@ contradicts either, the originals govern. ## External Communication -- [ ] Extension contacts exactly two external services: configured RPC endpoint - and CoinDesk price API +- [ ] Extension contacts exactly three external services: configured RPC + endpoint, CoinDesk price API, and configured Blockscout API - [ ] No analytics, telemetry, or tracking - [ ] No user-specific data sent except to the configured RPC endpoint - [ ] No Infura/Alchemy hard dependency diff --git a/src/popup/index.html b/src/popup/index.html index 6cb7923..c9466fe 100644 --- a/src/popup/index.html +++ b/src/popup/index.html @@ -71,7 +71,7 @@