BetterSEQTA / BetterSEQTA-Plus

BetterSEQTA+ - A continuation of development of the BetterSEQTA chrome extension.
https://chromewebstore.google.com/detail/betterseqta+/afdgaoaclhkhemfkkkonemoapeinchel
MIT License
21 stars 7 forks source link

Use of Unicode icons within CSS creates undefined behaviour and general weirdness #57

Open Crazypersonalph opened 11 months ago

Crazypersonalph commented 11 months ago

Good afternoon everyone, In my testing of BetterSEQTA+ and in my bugfixing, I have found that the use of unicode icons within the project creates undefined behaviour, that appears sometimes, but disappears other times.

Sometimes, said unicode icons such as the delete icon disappear and are replaced with the unicode icon not found placeholder.

I have found that its occurrence fluctuates, and because of this, I couldn't take a screenshot of it.

I believe the best course of action would be to replace the unicode icons with SVG images, as they have proven to be much more stable

Kind Regards

Crazypersonalph commented 11 months ago

Found examples: image

image

image

SethBurkart123 commented 11 months ago

Absolutely, your suggestion about using SVG images instead of unicode icons in BetterSEQTA+ makes a lot of sense. Originally, I opted for font-based icons primarily for their simplicity in CSS integration. However, this approach does have its drawbacks, particularly when it comes to color customization, which can get quite complex. Although it was a practical solution at the time, I'm open to exploring SVG images, given their stability and consistency.

SethBurkart123 commented 11 months ago

I am currently using a closed source icon library, I can add all of the svg's to the project if you'd like. You can play around with a bit of an implementation.

Crazypersonalph commented 11 months ago

I am currently using a closed source icon library, I can add all of the svg's to the project if you'd like. You can play around with a bit of an implementation.

Is it FontAwesome?

SethBurkart123 commented 11 months ago

I am currently using a closed source icon library, I can add all of the svg's to the project if you'd like. You can play around with a bit of an implementation.

Is it FontAwesome?

No, it is https://www.untitledui.com/icons I have the full version along with all of the icons in SVG format.

SethBurkart123 commented 9 months ago

But the question is @Crazypersonalph,

Is it worth replacing with javascript? Or do we want to be limited by using a background-image. Before now it wasn't reasonable, but I modified dark mode to instead place a class .dark on the main html element, so it might be feasible as long as we aren't doing anything too crazy with the text colours?

The main reason for going with an icon font originally was pretty much so that the icons would follow the currentColor of the elements without requiring any javascript.

ar-cyber commented 5 months ago

Has this been patched? I cannot recreate it.

SethBurkart123 commented 5 months ago

It's still there, but only occasionally shows up- that's what makes it quite difficult.

ar-cyber commented 2 months ago

I think this is stale and should be closed as not planned because of the inactivity.

Crazypersonalph commented 2 months ago

Will probably keep open since it is still relevant and will probably on the to-do in the future.