r/ProCSS • • May 12 '17
Discussion What if CSS stayed and Reddit just added had the option of changing the layout of their sub on mobile?
That way subreddits on mobile will be displayed correctly while also being unique, but desktop users saw a version with CSS?
212
Upvotes
75
u/Lord_Norjam /r/DataWithoutGreenland May 12 '17
That would really be the best option.
39
u/TheJoshider10 May 12 '17
There is never anything wrong with options. Just let people customize their own experience and utilize it the way they want.
I don't really understand the issue anyway. Maybe it's because on phones I use reddit is fun, but i'm fine with that being plain as it is but I want my sub individuality when i'm on the computer. If it changes, I may end up off reddit because it'll lose a lot of the appeal.
3
u/Jelman21 May 13 '17
They've just announced something close to this
5
u/creesch May 12 '17
Subreddits can already to some degree change the layout on mobile. It is fairly limited in that you can change the header, logo and few other things. Also I assume you are talking about custom css. Because the mobile website still uses css, just not css that can be changed by mods.
I do think you are misunderstanding why they are doing this though. Which is okay because the admins did a terrible job of explaining it.
Custom CSS locks reddit into unsustainable development processes, so they are phasing it out.
Why they didn't state that more clearly in the announcement is unclear to me, but fact of the matter is that all the different css styles mean that every change they make to the html structure of the website potentially will break the styling of a subreddit. As a matter of fact, every time they make even relatively small changes this happens.
Considering that one reason they are redoing the entire frontend is to be able to iterate faster (the current codebase really is not easily maintainable) it would be an simply not feasible to keep supporting custom css.
I also know that one of the technical choices they made in their foundation is to use a method that generates the classes and ids automatically instead of devs doing that manually. This makes a lot of sense since it frees up precious development time since devs don't have to worry about that aspect as much anymore. This also means that if they still would allow custom css the earlier explained problem would be even bigger. Every time they update the website things can and will break and you have to a) figure out what in the structure they changed b) manually have to match all the classes etc to your css again.
As an example, look how long it took for people to fix the css issues with the beta icon or with the new modmail icon (I still see it being weirdly placed in tons of subreddits) and basically any structural change they made to the website.
They want to be able to make bigger changes faster and they can't do that when subreddits rely on css for their styling.
So again, from a technical point of view from reddits side it makes absolute sense to do away with subreddit css.
Which I also agree with does absolutely suck because we have gotten used to having this freedom and it is extensively used.
What I am trying to say is that in the end it isn't as simple as many people make it out to be. The admins do have valid reasons for removing CSS just as many subs have fairly valid reasons for wanting it to stay.
1
u/LordAjo May 12 '17
And please let it happen for BaconReader too!
1
u/Alaazork May 12 '17
I'm totally down for it , but .... Its not that easy , they'll have to rebuild the app from scratch , currently (i guess) the app is working as a website viewer, they built the mobile website and then integrated it to the app , think of it as a custom optimized browser just for reddit. If they want to add the option you mentioned, they are ( as i'm aware of ) 2 possible solutions :
1 - Building an app from scratch that is not working as a custom browser.
2 - Building a whole new website and sync it with the current reddit with the option you mentioned ( m.reddit.com per example )
Forgive my knowledge, i just said what i'm currently aware of.
EDIT : I'm totally open for corrections.
0
u/ZadocPaet CSS 4 /r/all May 12 '17
It's literally what we have now.
It would be even better for us to have widgets that worked on both in addition to custom CSS for the subs that need it.