feat: refactor Secret Manager Overview page #3009
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Create a new directory for PageOverview component
Update all imports to reflect the new structure
Description 📣
This PR refactors the structure of the Secret Manager Overview page by moving the
ProductOverviewPage
component to its own directory. The component was previously being used in a very large component, which made the code harder to maintain and follow. It was more logical and cleaner to place it in a dedicated file. Hence, a new directory was created for this component to better organize the structure. All imports have been updated to reflect the new directory structure, ensuring that the application works seamlessly after the refactor.Type ✨
Tests 🛠️
The changes have been tested by running the application and confirming that the Secret Manager Overview page loads correctly. The component is now correctly imported and used in the updated file structure.
# To test, simply run the application locally and navigate to the Secret Manager Overview page. npm run dev