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

Clean up V2 and refactoring leftover #5927

Open
lucasbordeau opened this issue Jun 18, 2024 · 1 comment
Open

Clean up V2 and refactoring leftover #5927

lucasbordeau opened this issue Jun 18, 2024 · 1 comment
Assignees

Comments

@lucasbordeau
Copy link
Contributor

Scope & Context

In twenty-front modules.

Technical inputs

After months of trying and refactoring many patterns in our React codebase, we want to clean up the leftover : V2, hooks and their variations, etc.

In this issue we'll have to list the involved parts in a TODO and clean them in one or many PR.

Copy link

greptile-apps bot commented Jun 18, 2024

TODO List for Cleanup

  1. Remove V2 References

    • Search for 'V2' in /packages/twenty-front/src/modules and remove any related code.
  2. Refactor Hooks

    • Views Hooks: Review and clean up hooks in /packages/twenty-front/src/modules/views/hooks.
    • Auth Hooks: Review and clean up hooks in /packages/twenty-front/src/modules/auth/hooks.
    • Tasks Hooks: Review and clean up hooks in /packages/twenty-front/src/modules/activities/tasks/hooks.
    • General Hooks: Review and clean up hooks in /packages/twenty-front/src/hooks.
  3. Remove Unused Components

    • Identify and remove any unused components in /packages/twenty-front/src/modules.
  4. Update Imports

    • Ensure all imports are updated to reflect the cleaned-up codebase.
  5. Test and Validate

    • Ensure the application functions correctly after the cleanup.

References

/packages/twenty-front/src/modules/views/hooks
/packages/twenty-front/src/modules/auth
/packages/twenty-front/src/pages/tasks
/packages/twenty-front/src/modules/workspace
/packages/twenty-front/src/modules/activities/tasks/hooks
/packages/twenty-front/src/hooks
/packages/twenty-front/src/modules/activities/tasks
/packages/twenty-front/src/modules

Ask Greptile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant