In this PR, I've refactored the entire JavsScript codebase. I made everything object-oriented and just made everything make more sense. We also have global contexts now.
This should give you guys a good headstart for adding new features
I still believe that the CSS and HTML codebases are really messed up, and I might fix them later in another PR.
There is also an inconsistency in naming conventions, among function names, variables, and also element Id/Class names.
This PR does not include ManorSailor's preview image button, since I forked the main branch, so I suggest you guys just merge this into a new branch and add the preview button manually, adhering to the new template of cards and image preview window.
In this PR, I've refactored the entire JavsScript codebase. I made everything object-oriented and just made everything make more sense. We also have global contexts now. This should give you guys a good headstart for adding new features
I still believe that the CSS and HTML codebases are really messed up, and I might fix them later in another PR. There is also an inconsistency in naming conventions, among function names, variables, and also element Id/Class names.
This PR does not include ManorSailor's preview image button, since I forked the main branch, so I suggest you guys just merge this into a new branch and add the preview button manually, adhering to the new template of cards and image preview window.
Have fun!