UTDNebula / survival-guide

UTD Survival Guide is a guide to being a college student and making the most of your time at UT Dallas and after graduation.
https://guide.utdnebula.com
MIT License
10 stars 0 forks source link

[Internal] Hierarchical Directories for Components #54

Open AvengingPrime opened 1 year ago

AvengingPrime commented 1 year ago

Overview of Proposed Changes

We should add hierarchical directories for the components to remove any issues that arise from identical naming and also to prevent all components being dumped in the same folder. This will allow for a better organisation structure that will be easier to maintain in the future.

Details

Highest Level Folders in the Components directory should refer to different pages, and subsequent component hierarchy should be represented in sub-folders as needed.

WillieCubed commented 1 year ago

Could you provide an example of a file tree with your proposed changes?

AvengingPrime commented 1 year ago

Could you provide an example of a file tree with your proposed changes?

image

Something like this. For sub-directories for issues, it would be upto whoever is working on the issue to devise if sub-directories are needed. So for the Content Viewer, I might add a Header Directory as it might make sense to further group components inside the Content Viewer.

AvengingPrime commented 1 year ago

It might also make sense to include a matching hierarchical structure in the Style folder for the style sheets, since the same naming and organisational issue would arise there.