question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Questions RE commentIcon

See original GitHub issue

Couple of questions about commentIcon:

  • Why is it private whereas other icons on the block are public, eg: warning, mutator, etc.
  • Why was it changed from comment to commentIcon_?

I didn’t know where to post this. @BeksOmega

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
samelhusseinicommented, May 6, 2020

Thanks again @BeksOmega

1reaction
samelhusseinicommented, May 6, 2020

Ah ok that makes sense! I would agree that an icon registry is probably the best option. If you have to override getIcons to add your icon, and then another plugin has to override getIcons to add /its/ icon. Well you could only have one plugin-icon at a time, and that would suck.

Yeah exactly, not ideal for sure.

Can you do this with a block extension that adds an image field at the beginning of the block, regardless of the rest of the contents?

In that case you still wouldn’t be able to have your field render before other icons like the comment icon, etc. (Course without some significant muddling with blockly internals)

Read more comments on GitHub >

github_iconTop Results From Across the Web

235 Comment Question Icons - Free in SVG, PNG, ICO
These royalty-free high-quality Comment Question Vector Icons are available in SVG, PNG, EPS, ICO, ICNS, AI, or PDF and are available as individual...
Read more >
Comment Question Regular Icon | Font Awesome
Comment Question icon in the Regular style. Smooth out your design with easygoing, readable icons. Available now in Font Awesome 6 Pro.
Read more >
Flag and Comment on Questions - Docketwise Help Center
Collaborate with clients by flagging and commenting on questions. ... To comment on a question, click the comment icon in the top right...
Read more >
Commenting | IcePanel Docs
Questions are added to the reccomendations tab to be resolved by your teammates. ... Click the comment icon top left in an IcePanel...
Read more >
Re: Speedgrader Comment icon not shown? - Instructure Community
We are giving the Canvas Admins area a little bit of love (especially questions that are really, really old) and just want to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found