-
Notifications
You must be signed in to change notification settings - Fork 621
[Dashboard] Deploy config updates #6159
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6159 +/- ##
=======================================
Coverage 56.81% 56.81%
=======================================
Files 1163 1163
Lines 64342 64342
Branches 5213 5213
=======================================
Hits 36556 36556
Misses 27057 27057
Partials 729 729
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
apps/dashboard/src/components/contract-components/contract-deploy-form/custom-contract.tsx
Outdated
Show resolved
Hide resolved
Merge activity
|
TOOL-3389
<!--
## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"
If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):
## Notes for the reviewer
Anything important to call out? Be sure to also clarify these in your comments.
## How to test
Unit tests, playground, etc.
-->
<!-- start pr-codex -->
---
## PR-Codex overview
This PR introduces a default fee configuration for contract deployments, updates the handling of platform fees, and improves the UI components related to fee management, ensuring that default values are used consistently throughout the application.
### Detailed summary
- Added `DEFAULT_FEE_RECIPIENT` and `DEFAULT_FEE_BPS` to `addresses.ts`.
- Introduced `hasDefaultFeeConfig` in `ContractSettingsPage`.
- Filtered out specific functions related to platform fees in `contract-function.tsx`.
- Integrated platform fee logic in `CustomContractForm`.
- Updated `PlatformFeeFieldset` to reflect marketplace conditions.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
bd2eede to
0c1bb6c
Compare
TOOL-3389
PR-Codex overview
This PR introduces a default fee configuration for contracts, modifies contract settings to accommodate this new fee structure, and enhances the user interface to reflect changes in platform fees.
Detailed summary
DEFAULT_FEE_RECIPIENTandDEFAULT_FEE_BPSinaddresses.ts.ContractSettingsPageto includehasDefaultFeeConfig.contract-function.tsxto exclude certain functions.getPlatformFeeInfoto determine fee configuration.CustomContractFormto use default fee values.PlatformFeeFieldsetto display fee information based on marketplace status.