DashAI icon indicating copy to clipboard operation
DashAI copied to clipboard

Refactoring/experiments module

Open manuel-arriagada opened this issue 1 year ago • 1 comments

Summary

This pull request addresses the refactoring of the experiments module in the DashAI software. The key adjustment involves a comprehensive reorganization of the folder structure, adopting a clean architecture paradigm. Modules are now consolidated within the 'pages' folder, containing the entry page, components, hooks, and constants tailored to each module. The aim of this modification is to notably enhance code readability and maintainability by adopting a more structured and modular approach.

Type of change

  • Refactoring.

Changes

Elements were decoupled to diminish dependencies, and the core logic underwent reorganization into React hooks, enabling the efficient reuse of stateful logic across components. New components were introduced to achieve a more modular and visually focused design, following a defined naming convention. Additionally, all the constant values were brought together in one place, making it easier to maintain and manage.

How to Test

It has to work the same as the 'develop' branch.

Notes

This is how it looks:

folder-structure

manuel-arriagada avatar Jan 31 '24 23:01 manuel-arriagada