-
Notifications
You must be signed in to change notification settings - Fork 449
ADR: PrimeVue Fork Decision #5230
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
Adds ADR-0003 documenting the decision to fork PrimeVue as a monorepo workspace package. Key rationale includes transform coordinate system conflicts and virtual canvas scroll interference that require component-level modifications.
🎭 Playwright Test Results✅ Tests completed successfully! ⏰ Completed at: 09/13/2025, 05:50:23 AM UTC 📊 Test Reports by Browser
🎉 Click on the links above to view detailed test results for each browser configuration. |
1bfc976 to
fa13516
Compare
| 1. Add PrimeVue fork to `packages/@comfyui/primevue/` using git subtree | ||
| 2. Use `--squash` flag to avoid polluting contributor graph with upstream history | ||
| 3. Link via pnpm workspace: `"@comfyui/primevue": "workspace:*"` | ||
| 4. Mark vendored directory in `.gitattributes` with `linguist-vendored` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, point 4 doesn't really make sense since we will be making adjustments to the vendored library over time.
|
Discussed elsewhere: We might be able to use Nx import to do the setup. |
|
Worried that using |
- Change status from Proposed to Rejected - Document rationale: implementation complexity with dual monorepos, maintenance burden, alternative solutions available - Add specific code citations and repository links - Include alternative approach using shadcn/ui for selective replacement
- Rename 0003-fork-primevue-ui-library.md to 0004-fork-primevue-ui-library.md - Update ADR number in document header from 3 to 4 - Update README.md index to include both CRDT ADR-0003 and PrimeVue ADR-0004 - Maintain chronological order and avoid numbering conflicts
|
|
||
| ## Status | ||
|
|
||
| Rejected |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update to reflect final decision ("Rejected").
* ADR: Add PrimeVue fork decision record Adds ADR-0003 documenting the decision to fork PrimeVue as a monorepo workspace package. Key rationale includes transform coordinate system conflicts and virtual canvas scroll interference that require component-level modifications. * ADR: Reject PrimeVue fork decision - Change status from Proposed to Rejected - Document rationale: implementation complexity with dual monorepos, maintenance burden, alternative solutions available - Add specific code citations and repository links - Include alternative approach using shadcn/ui for selective replacement
Summary
Adds ADR-0003 documenting the architectural decision to fork PrimeVue as a monorepo workspace package. This ADR provides technical justification for why PrimeVue needs to be forked rather than used as an external dependency. Following from #5199.
Key Technical Issues Documented
getBoundingClientRect()+pageX/pageYcalculations that break in CSS transform coordinate spacesscrollIntoViewbehavior disrupts LiteGraph's semantic scroll coordinate systemReview Focus
The ADR follows the established format from previous ADRs and includes specific technical details with file references and line numbers for verification.
┆Issue is synchronized with this Notion page by Unito