I've also changed the markup to preserve new lines.
First priority tomorrow is an an ajax call in the subreddit select for new posts. Currently the page load time is like 2 seconds, because every subreddit name is being loaded from the backend. I'll load this off to the frontend to load asynchronously, because by the time a user would want to select a sub, it will have been loaded, and to use this functionality you need javascript enabled anyway.
After that, we're back at it. I've set aside at least this entire week to work exclusively on this site, so a lot should be achieved. We've made a MASSIVE amount of progress in only a couple of days.
Please don't use ajax to pull subreddit names. If you have to send all the subreddit names to that pulldown then it is bound to fail once there are 1000s of them, so just get rid of the pulldown and instead let the person type in the sub name, or (this makes more sense and is what reddit does), post to the sub that they are currently viewing. It is ok if (like reddit) the site has some convenient javascript effects,but it's bad if it becomes unusable with JS turned off.
When you visit a sub, the request object is modified with a 'SUB' value. If you visit create post from a sub, the subname will autofill.
The javascript "select from dropdown" functionality is just extra, it works perfectly fine without. Manually typing in subs will always work, people were becoming aggravated that they had to manually type subnames if they wanted to post to a different sub than what they came from, or if they visited the create_post page directly without first visiting a sub.
I've also changed the markup to preserve new lines.
First priority tomorrow is an an ajax call in the subreddit select for new posts. Currently the page load time is like 2 seconds, because every subreddit name is being loaded from the backend. I'll load this off to the frontend to load asynchronously, because by the time a user would want to select a sub, it will have been loaded, and to use this functionality you need javascript enabled anyway.
After that, we're back at it. I've set aside at least this entire week to work exclusively on this site, so a lot should be achieved. We've made a MASSIVE amount of progress in only a couple of days.