lila icon indicating copy to clipboard operation
lila copied to clipboard

Added a link to accuracy description

Open tleadon opened this issue 2 years ago • 2 comments

Closes #11567

Added a link to the page the issue mentioned in a ? next to accuracy in case the user wonders what accuracy is.

tleadon avatar Sep 22 '22 00:09 tleadon

Hmm. I'll fix that.

tleadon avatar Sep 22 '22 00:09 tleadon

The question mark probably should be after the "accuracy" text 🤔

Also, for UI changes, it's very helpful if you could add a screenshot of how it looks.

And the linter doesn't like your formatting. You can run Prettier to auto-format all the code with yarn run format at the root of the repo or just install Prettier in your editor.

benediktwerner avatar Sep 22 '22 02:09 benediktwerner

Just my 2 cents, but what if you use this info circle instead of a question mark.

image image

Rickkwa avatar Sep 25 '22 01:09 Rickkwa

Hi tleadon! You can drag and drop public/font/lichess.woff onto https://fontdrop.info to see many symbols available to UI contributors (including the one Rickkwa is recommending). Just set the data-icon attribute to the code point shown by fontdrop's mouseover on the glyph.

schlawg avatar Sep 25 '22 03:09 schlawg

Or just go to https://lichess.org/assets/oops/font.html and select+copy+paste the right icon. If you install the Lichess font locally and set it as a fall-back font in your editor you can even see the icons in the code.

And yeah, I guess the info icon might be nicer.

benediktwerner avatar Sep 25 '22 10:09 benediktwerner