Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorganizing models, utils and reusable components #233

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

SepidehShahbazi
Copy link
Contributor

@SepidehShahbazi SepidehShahbazi commented Feb 25, 2025

The issues #211, #212 and #213 have been completed.

Implemented:

  1. Created domain-based component folders as per the proposed structure.
  2. Split models.ts and utils.ts into domain-specific files.
  3. Identified and documented new models and utils used across the application and added them to the appropriate files.
  4. Provided index.ts for models, utils and reusable components.
  5. Updated all imports throughout the project to reflect the new directory structure.
  6. Tested new changes to ensure no import or rendering issues occur.
  7. Transited config folder into the shared folder and added new fileIcons.ts into the config folder for icons which were in the models.ts.
  8. Removed reusable pageLoader.tsx. Because it was as the same as LoadingSpinner.tsx.
  9. Fixed minor UI bugs.

Minor UI changes:

Before:

1- The color of the LAST ACTIVITY (due to initial data)
ContactsPage_table_title

2- The height of each row in the Visitor table on the document details page is different from that of other tables.
InfoTable_visitor2

3-
DocumentPage_table

After:

1-
ContactsPage_table_title

2-
InfoTable_visitor

3-
DocumentPage_table

@SepidehShahbazi SepidehShahbazi self-assigned this Feb 25, 2025
@SepidehShahbazi SepidehShahbazi added Cleanup Tasks for removing clutter and improving project structure. Refactor Code Improvement UX/UI Change Highlights changes affecting user experience or interface design labels Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cleanup Tasks for removing clutter and improving project structure. Refactor Code Improvement UX/UI Change Highlights changes affecting user experience or interface design
Projects
None yet
1 participant