Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughWalkthroughIntroduces a new "deposit-addresses" ENS best practice with 8 acceptance tests, a ChangesENS Awards deposit-addresses best practice rollout
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Greptile SummaryThis PR introduces a shared
Confidence Score: 5/5Safe to merge; the change is a mechanical refactor with no logic mutations — builder output is structurally equivalent to the hand-written JSX it replaces for all single-proof entries, and the only observable difference is a vertical vs. horizontal multi-image layout for worldapp-wallet's AT1 screenshots. All 11 migrated app files were checked: builder selections match the recorded pass/fail/N-A results, slug renames are applied consistently across technicalDetails.tsx, every app file, and all 21 stub files. The one visual delta (worldapp-wallet's two side-by-side screenshots becoming stacked) is aesthetic and does not affect benchmark data or site functionality. ensawards.org/data/apps/worldapp-wallet/benchmarks/resolution/deposit-addresses/index.tsx — its AT1 previously used a bespoke side-by-side image layout that the generic builder does not replicate. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[App benchmark index.tsx] --> B{notes.tsx exists?}
B -- Yes --> C[Import builder from notes.tsx]
B -- No --> D[Hand-write JSX inline]
C --> E{Result type}
E -- Pass --> F["buildPassNoteForAT1–8({ method, proof })"]
E -- Fail --> G["buildFailNoteForAT1–8({ method, proof, extra? })"]
E -- ENS not supported --> H["buildEnsNotSupportedNote({ method, proof })"]
E -- Non-EVM chain --> I["buildNotApplicableForNonEvmChain({ chain, proof })"]
E -- Prerequisite failed --> J["buildNotApplicableForFailedTest({ testNumber, scope? })"]
E -- Custom / unusual --> K["buildBenchmarkNote({ children, proof })"]
F & G & H & I & J & K --> L[buildBenchmarkNote renders container]
L --> M{proof count}
M -- 0 --> N[prose only]
M -- 1 --> O[prose + direct img sibling]
M -- 2+ --> P[prose + flex-col wrapper with stacked imgs]
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
flowchart TD
A[App benchmark index.tsx] --> B{notes.tsx exists?}
B -- Yes --> C[Import builder from notes.tsx]
B -- No --> D[Hand-write JSX inline]
C --> E{Result type}
E -- Pass --> F["buildPassNoteForAT1–8({ method, proof })"]
E -- Fail --> G["buildFailNoteForAT1–8({ method, proof, extra? })"]
E -- ENS not supported --> H["buildEnsNotSupportedNote({ method, proof })"]
E -- Non-EVM chain --> I["buildNotApplicableForNonEvmChain({ chain, proof })"]
E -- Prerequisite failed --> J["buildNotApplicableForFailedTest({ testNumber, scope? })"]
E -- Custom / unusual --> K["buildBenchmarkNote({ children, proof })"]
F & G & H & I & J & K --> L[buildBenchmarkNote renders container]
L --> M{proof count}
M -- 0 --> N[prose only]
M -- 1 --> O[prose + direct img sibling]
M -- 2+ --> P[prose + flex-col wrapper with stacked imgs]
Reviews (3): Last reviewed commit: "apply greptile feedback" | Re-trigger Greptile |
|
@greptile review |
* dev: Add `deposit-address` best practice (#233) * Action Item 1 * Action Item 2 * Apply 06/18/26 GitHub review feedback & AI agents' suggestions, pt.1 * Apply AI agents' suggestions, pt.2 * feat: etherscan acceptance test (#234) * Action Item 1 * Action Item 2 * Apply 06/18/26 GitHub review feedback & AI agents' suggestions, pt.1 * Add etherscan acceptance test for deposit address * revert mockedExampleBenchmark * delete file * oops * add not-applicable --------- Co-authored-by: y3drk <ziebura.jedrzej@gmail.com> * feat: ATs for blockscout and 1inch (#235) * add skill to rearrange app benchmark * rearrange blockscout-explorer to new structure * add blockscout-explorer case * p lint * rearrange 1inch-defi benchmark to new structure * update skill to use values from technicalDetails * generate benchmark for 1inch * p lint * update benchmark of blockscout and etherscan accordingly * apply fixes for AI review * feat: Benchmark wallets on `deposit-addresses` best practice (#236) * Action Item 1 * Action Item 2 * Apply 06/18/26 GitHub review feedback & AI agents' suggestions, pt.1 * Add benchmarks for ambire + example pass for AT1 and example fail for AT4 * Add benchmarks for binance wallet + example fail for AT1 * Add benchmarks for coinbase wallet * Add benchmarks for readyx * Add benchmarks for world app wallet * Add benchmarks for robinhood wallet * Adjust benchmarked apps to the newly established structure * Add benchmarks for zerion * Add benchmarks for walletchan * unify code with my PR * p lint * add more images or at-2 in zerion --------- Co-authored-by: sevenzing <lymarenko.lev@gmail.com> * feat: add builders for notes to decrease boilerplate (#237) * rename ATs and use notes.tsx to remove boilerplate * rename images * add indexed key * apply greptile feedback * feat: rearrange benchmarks folders for all apps (#238) * rearrange to new structure * remove useless skill * p lint * feat: add benchmarks for aave, uniswap and lido (#239) * add aave and uniswap * fix uniswap case * add lido * yeah i forgot at7 and 8 * just rename deposit-address -> deposit-addresses * feat: Benchmark wallets on `deposit-addresses` best practice, batch 2 (#241) * Add benchmarks for okx wallet & crypto.com wallet + add bitcoin benchmark for coinbase wallet + add example passes for ATs 5-8 * Add benchmarks for phantom & rabby + add example pass for AT2 and example fails for ATs 3 & 5 * Update method context notes for AT5 pass/fail template * Add benchmarks for safe{wallet} + add extra explanations for failed benchmarks + add example pass for AT3 * Add benchmarks for gemini wallet & metamask + update CONTRIBUTING.md + add example fails for ATs 2 & 8 * Apply AI agents' suggestions, pt.1 * feat: add benchmarks for `binance`, `bybit` and `okx` (#240) * benchmark binance,bybit,okx * add ensv2 for bybit * reexport icon for bybit * add benchmarks for raibow-wallet,status-wallet,trust-wallet (#243) * add benchmarks for raibow-wallet,status-wallet,trust-wallet * rename to deposit-addresses * Add benchmarks for exchanges: coinbase, crypto.com and robinhood + add example fails for ATs 6 & 7 (#242) * add explain why AT8 is failed in example (#245) * small fix --------- Co-authored-by: Jędrzej Ziebura <ziebura.jedrzej@gmail.com>
Summary
Adds a shared
notes.tsxbuilder library for thedeposit-addressesbest practice and migrates the 11 benchmarked apps to it — hand-written note JSX becomes typedbuildPassNoteForAT*/buildFailNoteForAT*/buildNotApplicableFor*calls. Also renames the 8 acceptance tests to a short, orderedat0N-…slug scheme.Why it matters: even though this adds a ~400-line builder module, the diff is net −400 lines (1345 insertions / 1767 deletions across 41 files). And we still have 21 apps with unbenchmarked
deposit-addressesstubs — each one now goes from ~180 lines of repeated markup to a handful of builder calls, so the boilerplate savings compound as we benchmark the rest.