-
Notifications
You must be signed in to change notification settings - Fork 172
Add Polkadot Solidity tab [WIP] #650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Reviewer's GuideThis PR integrates a new Polkadot tab into the existing Solidity wizard by parameterizing and overriding key UI features, routing logic, and deployment buttons. It layers in an Overrides API to omit unsupported features and tabs, adapts the remix integration for Polkadot Remix URLs, and injects Polkadot-specific assets (HTML, CSS, icons) while keeping the original Solidity code paths largely intact. Class diagram for removeUnsupportedFeatures utilityclassDiagram
class removeUnsupportedFeatures {
+removeUnsupportedFeatures(opts: GenericOptions): GenericOptions
}
class GenericOptions {
kind: string
permit: boolean
votes: boolean
crossChainBridging: string | boolean
}
removeUnsupportedFeatures --> GenericOptions
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing Touches🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
Adds a Polkadot tab based on Solidity, with the following differences:
Remaining to do:
Summary by Sourcery
Add a Polkadot tab to the Contracts Wizard by reusing the Solidity flow with custom overrides that disable unsupported features and adjust UI components, and update navigation, theming, and app initialization to support the new Polkadot context
New Features:
Enhancements:
Chores: