Closed pkmnbumba closed 4 years ago
Noting that we opted to keep the css_class for old reddit support. Doing this allowed us to keep everything the same for applying for flair.
I think people wanted to keep it for other reasons as well, but just to make a quick note in case there were any misunderstandings, a CSS class is not necessary for old Reddit support. Old Reddit will include emoji, and they can be manipulated via CSS there, but only if a CSS class is not present. (My original implementation was going to remove CSS classes, but it does make things noticeably more complicated as a function for decoding the emoji codes is also needed in that case.)
Edit: Also I just noticed this code doesn't support emoji for /r/SVExchange?
I pushed some commits to fix some bugs:
Outstanding bugs:
I don't consider either of the above to be blockers for deploying just so that we can reopen the sub, but we should get them fixed eventually. I think we should split the SVEx stuff into a separate PR so we can get this going for now.
Going to separate out some of the things from here and open a new PR.
646
Noting that we opted to keep the css_class for old reddit support. Doing this allowed us to keep everything the same for applying for flair.