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

[Refactor] Admin Panel: Agency Provisioning #1624

Open
mxosman opened this issue Dec 23, 2024 · 0 comments
Open

[Refactor] Admin Panel: Agency Provisioning #1624

mxosman opened this issue Dec 23, 2024 · 0 comments
Assignees

Comments

@mxosman
Copy link
Contributor

mxosman commented Dec 23, 2024

The Agency Provisioning component has grown significantly in size and complexity, making it increasingly difficult to manage and extend as we plan for upcoming features. To ensure the system remains flexible and maintainable, we propose breaking down the component into smaller, more modular pieces. This refactor will make it easier to add new functionality, reduce technical debt, and improve overall code quality as we continue to scale.

This PR focuses on the following key goals:

Modularization: Begin the process of splitting the Agency Provisioning component into smaller, more manageable modules. See starting point in screenshot below.

Test Coverage: Before breaking down the component, we should increase our coverage by writing tests to ensure the existing functionality remains intact and behaves as expected and continues to behave as expected when we refactor.

Image

This is just a starting point suggestion - please feel free to come up with your own abstraction. We can begin by breaking the tabs into separate components (purple highlight), and each orange highlighted section can be broken up into its own individual components - one for the general agency information that is simple and unlikely to change, one for the superagency/child agency selection, and one for the copy metric settings feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants