Closed seveibar closed 6 days ago
Needed to fix this issue easily in tests: https://github.com/tscircuit/tscircuit/issues/330#issuecomment-2338382505
This might be a duplicate of: Option to render trace_error
(e.g. option showErrors: true
).
Here are some pull requests that might be helpful reference for this task:
This might have already been done via: updated to circuit-json and added pcb_trace_id to via.
/bounty $40
A pcb error should be shown as a dotted red line with text indicating the error. The PCB Viewer has an example of this being here: https://pcb-viewer.vercel.app/?path=/story/traceerror--trace-error-circuit-4
However in circuit-to-svg the red text should always be visible, not just on hover
## 💎 $40 bounty • tscircuit
### Steps to solve:
1. Start working: Comment
/attempt #52
with your implementation plan2. Submit work: Create a pull request including
/claim #52
in the PR body to claim the bounty3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts
Thank you for contributing to tscircuit/circuit-to-svg!
Add a bounty • Share on socials
Attempt | Started (GMT+0) | Solution |
---|---|---|
🟢 @ShiboSoftwareDev | Nov 9, 2024, 5:50:48 AM | #114 |
/attempt #52 now need to make this optional
@seveibar an error should only be shown when the pcb_trace_error has an array of two ports in pcb_port_ids so that it has two points to connect am I right?
Algora profile | Completed bounties | Tech | Active attempts | Options |
---|---|---|---|---|
@ShiboSoftwareDev | 2 tscircuit bounties | TypeScript, JavaScript, HTML |
Cancel attempt |
💡 @ShiboSoftwareDev submitted a pull request that claims the bounty. You can visit your bounty board to reward.
🎉🎈 @ShiboSoftwareDev has been awarded $40! 🎈🎊
closed in #114
tscircuit/soup zod export for trace_error