I’m working on customizing Strapi version 4.12.5 to enhance the user experience when selecting components in Dynamic Zones. My goal is to add an icon to each card representing a component. When clicked, this icon will open a modal displaying detailed information about that specific component. This will allow users to access a dynamic documentation right from the selection interface, making it easier to understand the purpose and usage of each component.
The file that I need to modify is ComponentCategory.js, located at node_modules/@strapi/admin/admin/src/content-manager/components/DynamicZone/components/ComponentCategory.js.
Currently, the component uses Strapi’s design system to present a list of components within an accordion structure, where each card includes an icon and a title. My plan is to add an info icon or button to each card that, when clicked, triggers a modal containing more details about the component.
This change aims to make it simpler for users to access helpful information about each component during the selection process, improving the usability and efficiency of building content with Dynamic Zones in Strapi.
I’m looking for suggestions or guidance on the best way to implement this customization. Has anyone done something similar or have tips on optimizing this approach?
Hi! I went with a plugin instead. It shows the documentation for each component in a sidebar on the right side of the Strapi page. This way, users can check details about the components while using Dynamic Zones, and it didn’t require changing core files.