docs: clean up widget pages and document widget-react#642
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
All contributors have signed the CLA ✍️ ✅ |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughDocumentation updates across the CoW Widget integration overview page and widget tutorial: reworded widget description, switched width/height to pixel strings, added React integration guidance and example, fixed typos, corrected appCode placeholders, fixed customTokens type, and rewrote the widget-updating example. ChangesWidget Documentation Refresh
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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 |
Description
The widget overview page (Integrate section) had drifted out of sync with the widget tutorial, and some tutorial examples were broken when copy-pasted. The React wrapper was not documented at all.
Changes
integrate/widget.mdxto match the other integrate pages and removed duplicated examplescreateCowSwapWidgetreturn value usage, missingcontainerdeclarations)@cowprotocol/widget-reactSummary by CodeRabbit