camicroscope / caMicroscope

Digital pathology image viewer with support for human/machine generated annotations and markups.
BSD 3-Clause "New" or "Revised" License
257 stars 295 forks source link

Optimization and Centralization of Website Codebase for Improved Performance and Maintainability #839

Open barchakuz opened 8 months ago

barchakuz commented 8 months ago

Description

The current state of the website's code exhibits inefficiencies, notably the presence of both inline CSS and external CSS, which undermines its optimization and maintainability. This blend of coding practices results in a lack of centralized control over styling, leading to longer loading times and potential compatibility issues across various browsers and devices. Furthermore, the absence of a structured codebase poses challenges for future developers and maintainers, hindering seamless updates and enhancements to the website.

To Reproduce

Steps to reproduce the behavior:

Expected behavior

An optimal solution entails the consolidation of all CSS styles into centralized, external files, promoting a standardized and easily maintainable codebase. By implementing a structured approach to coding, modifications and updates can be efficiently applied across all pages of the website without the need for individual configuration. This streamlined process not only enhances loading times and user experience but also facilitates future developments and maintenance efforts. Screenshots If applicable, add screenshots to help explain your problem.

Desktop Accer Predator G3 Laptop:

Screenshot ##Screenshot

code Picture showing inline CSS with code: which is not professional practice code2 picture showng mutliple css link: In professional practice it will create alot of issues during future maintenance

Drawbacks of Not Solving the Issue:

Benefits of Solving the Issue:

Additional context

The identified issues in the codebase reflect broader concerns regarding website performance, user experience, and long-term sustainability. Addressing these concerns through strategic restructuring and optimization is imperative for achieving optimal functionality, ensuring compatibility across various platforms, and positioning the website favorably in search engine rankings.

github-actions[bot] commented 5 days ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.