fix: added help link of Image Annotation#926
Conversation
✅ Deploy Preview for circuitverse ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
WalkthroughA new public property 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@src/simulator/src/modules/ImageAnnotation.js`:
- Around line 249-250: Update the helplink defined on
ImageAnnotation.prototype.helplink to remove the trailing slash and use the
lowercase anchor; replace the current
'https://docs.circuitverse.org/chapter4/chapter4-annotation/#ImageAnnotation'
with
'https://docs.circuitverse.org/chapter4/chapter4-annotation#imageannotation' so
it matches the anchor format used by other annotation modules and the actual
documentation anchor.
🧹 Nitpick comments (1)
src/simulator/src/modules/ImageAnnotation.js (1)
204-242: Pre-existing: duplicatemutablePropertiesassignment — first one is dead code.
mutablePropertiesis assigned at Line 204 and then immediately overwritten at Line 222. The first assignment (lines 204–219) is unreachable dead code. Not introduced by this PR, but worth cleaning up in a follow-up.♻️ Suggested cleanup
-ImageAnnotation.prototype.mutableProperties = { - cols: { - name: 'Columns', - type: 'number', - max: '1000', - min: '5', - func: 'changeColSize', - }, - rows: { - name: 'Rows', - type: 'number', - max: '1000', - min: '5', - func: 'changeRowSize', - }, -} ImageAnnotation.prototype.objectType = 'ImageAnnotation' ImageAnnotation.prototype.rectangleObject = false ImageAnnotation.prototype.mutableProperties = {
|
@Nihal4777 please review :) |
* fix: added help link * fix: help hyperlink typo * fix: add help link to ImageAnnotation module

Fixes #925
Describe the changes you have made in this PR -
Added the help button to ImageAnnotation
Screenshots of the UI changes (If any) -
Code Understanding and AI Usage
Did you use AI assistance (ChatGPT, Claude, Copilot, etc.) to write any part of this code?
If you used AI assistance:
Explain your implementation approach:
Checklist before requesting a review
Note: Please check Allow edits from maintainers if you would like us to assist in the PR.
Summary by CodeRabbit
New Features
Documentation