Day 1 of refactoring rDrama's frontend shit

I wanted to post something but I didn't know what to post so I figured I would show off the fact that I'm:

  • Removing Bootstrap CSS (branch called "debootstrap")

    • rDrama is so far out from Bootstrap that we really don't need it anymore.
  • Removing Popper.js (Needed by Bootstrap)

  • Removing jQuery (Needed by Popper.js and bootstrap)

A lot of the rewrite involves removing all the ugly p-5, flexbox, text-align-center, flexbox-grow-1, p-1, a-b-e-4-6-center-margin-text-align-distribute looking bullshit our HTML, which means Theming rDrama should be easier and less hacky

Quite a bigger change than it seems so will take a few days or maybe weeks

Will involve hole CSS modifications and User profile CSS modifications once it gets merged into production, sorry

31
Jump in the discussion.

No email address required.

God bless the dramneurodivergent code monkeys

:#derpthumbsup:

Jump in the discussion.

No email address required.

:#marseylove::#!marseyneko:

Jump in the discussion.

No email address required.

did u move this to slackernews or did i misclick

Jump in the discussion.

No email address required.

I moved it. You'll probably get more engagement here tbh.

Jump in the discussion.

No email address required.

good job, bootstrap and jquery is sooo 2012

Jump in the discussion.

No email address required.

Bootstrap sucks. JQuery is good though :marseyagree:

Jump in the discussion.

No email address required.

JQuery is okay but we don't use it anywhere. And actually, nah its not very useful nowadays. Modern web apis provide enough

Jump in the discussion.

No email address required.

:#marseypentagram:

Jump in the discussion.

No email address required.

plz don't just remove bootstrap, remove all CSS

frick CSS

HTML only

Jump in the discussion.

No email address required.

What are you replacing bootstrap with? god I hate bootstrap, it has to use Jquery and shit to work, thats why i moved onto tailwind/daisyui and react

Jump in the discussion.

No email address required.

Nothing... pure CSS

We take a bit of a conservative approach to rDrama honestly. Pure JS and stuff, no extra shit like Sass, react, vue, angular.

We could benefit from minimization and webpack, but it doesnt really matter much + i fricking hate modern webshit so much

Jump in the discussion.

No email address required.

lol, I've been a backend dev all my life, I absolutely detest css (I can't properly do it) and refuse to cater time to learning it when I can hire someone else to do it. Whenever I have to do it, for my personal site etc I have to resort to these frameworks to start off quickly and finish it

Jump in the discussion.

No email address required.

frameworks are usually more complex imo

Jump in the discussion.

No email address required.

I can't really say tbh, I had to learn Angular and React because they are used at work and sometimes I need to guide juniors on what to do. I got accustomed to react well, and the number of ui libraries makes it easy to build up a good starting off app with little effort and time

Jump in the discussion.

No email address required.

I hate css and JavaScript. They are Jewish

Jump in the discussion.

No email address required.

are you indian :marseytunaktunak: (not not judging).

Good work on the codeshit, they dont deserve it though.

Jump in the discussion.

No email address required.

:#marseycop3:

Snapshots:

Jump in the discussion.

No email address required.

Link copied to clipboard
Action successful!
Error, please refresh the page and try again.