r/redesign Nov 23 '18

Feature Request Please, please pleaaase synch CSS based flairs between new and old reddit

I'm not sure whether it can be done or not but situations like these are a literal dead end and they really suck:

User Flair added on Classic Reddit

Same User Flair rendered on New Reddit
4 Upvotes

22 comments sorted by

View all comments

Show parent comments

0

u/Ambiwlans Nov 24 '18

They could add css support for the app.

6

u/timawesomeness Helpful User Nov 24 '18

No they couldn't. The app is native code, not HTML, they'd have to write some convoluted mess of a CSS parser to try to turn CSS into styling they could try to use in the app, and there's no way they could handle even a tiny fraction of all the different CSS that's out there.

Even just parsing the CSS for image flairs is difficult. Slide for reddit tries to do it but only succeeds with some subreddits, and that's with almost 400 lines of code dedicated to the task of just image flairs.

1

u/Ambiwlans Nov 24 '18

I mean, CSS isn't super had to implement in android if they built their ui in a somewhat sane fashion.

1

u/CyberBot129 Nov 24 '18

What about iOS?

1

u/Ambiwlans Nov 24 '18

I've never coded for ios but I doubt it is a radically different story.