The current implementation includes hardcoded default customizations for Avatars, such as the name and variant. To improve maintainability and consistency, these default customizations should be extracted into a shared constant and reused across the project.
Requirements
Identify all instances where Avatar default customizations (e.g., name, variant) are hardcoded.
Extract these default values into a shared constant file.
Refactor the relevant components to use these shared constants instead of hardcoding the values.
Additional Information
This refactor will help maintain consistency across the application and make future updates to the default customizations easier to manage.
Ensure that the shared constants are well-documented and accessible to all relevant parts of the codebase.
Create a shared constants file that includes the default Avatar customizations, such as name and variant. Update all instances in the code where these values are currently hardcoded to reference the new constants.
Refactor Request
Description
The current implementation includes hardcoded default customizations for Avatars, such as the name and variant. To improve maintainability and consistency, these default customizations should be extracted into a shared constant and reused across the project.
Requirements
Additional Information
This refactor will help maintain consistency across the application and make future updates to the default customizations easier to manage.
Ensure that the shared constants are well-documented and accessible to all relevant parts of the codebase.
https://github.com/blockful-io/external-resolver-dapp/pull/152:
Possible Solution
Create a shared constants file that includes the default Avatar customizations, such as name and variant. Update all instances in the code where these values are currently hardcoded to reference the new constants.