-
Notifications
You must be signed in to change notification settings - Fork 69
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
Please Document the Insights Tracker #3005
Comments
Hi @mgifford, thanks for raising this issue around Paragon's "Usage Insights"! The tool is available on the public Paragon documentation website under the "Tools" section in the menu navigation. Here is a direct link: https://paragon-openedx.netlify.app/insights The documentation that does exist for the "Usage Insights" today lives here: https://github.com/openedx/paragon/tree/master/dependent-usage-analyzer tl;dr; (Note, the automation of the "Usage Insights" tool is currently disabled as it's currently erroring when the associated GitHub Action runs. Hopefully that will be resolved sooner or later to ensure the tool is always showing the most up-to-date information.)
This is an interesting proposition. I would agree it could likely be abstracted out of Paragon into its own standalone library for serving other design systems, assuming the dependent projects (repositories) are known. I don't think it's solely relevant to design systems, either; it might apply to any JavaScript library that seeks to understand how its consumers (at least known dependent projects) use the library. In the Open edX ecosystem, a similar approach could theoretically apply to
The technical documentation is a bit lacking in detail, yes. However, the primary audience / consumer of the tool today has been for product delivery teams that consume Paragon, which primarily rely on the documentation website vs. reading/understanding the Paragon code (using the tool in the browser on the documentation website should become fairly evident how it's used and what it covers. That said, I think both aspects of documentation could still be improved as it related to Paragon:
|
Feedback summary
I'm interested in the component "Usage Insights" feature here:
https://github.com/openedx/paragon/tree/master/www/src/components/insights
I think that this could be extended and applied to other design systems.
Improvements
It is missing basic documentation over how it is used and what is being covered.
ChatGPT gave me this when I asked for a summary:
The "Usage Insights" feature in the Open edX Paragon library is designed to provide comprehensive documentation, examples, and analytics regarding the usage of Paragon's UI components, hooks, icons, and utilities within projects. This feature aims to enhance developers' understanding of how different elements of the Paragon library are utilized, promote best practices, and facilitate the integration of Paragon components into their applications. Here's a breakdown of the primary files related to "Usage Insights" and their purposes:
1. ComponentUsage.tsx
2. ComponentUsageExamples.tsx
ComponentUsage.tsx
. This might include code snippets or live examples demonstrating how to use components effectively in various scenarios.3. ComponentsUsage.tsx
ComponentUsage.tsx
, it might provide aggregated insights into the usage of multiple components across projects, highlighting popular components or common patterns.4. HooksUsage.tsx
5. IconsUsage.tsx
6. ProjectUsageExamples.tsx
7. ProjectsUsage.tsx
ProjectUsageExamples.tsx
, but may focus more on analytics and insights into the adoption of Paragon across various projects, highlighting trends in component usage and integration strategies.8. SummaryUsage.tsx
9. SummaryUsageExamples.tsx
SummaryUsage.tsx
by providing concrete examples that illustrate the summarized usage insights, potentially offering a quick reference guide for developers.10. UsagesList.tsx
11. UtilsUsage.tsx
The "Usage Insights" feature serves as a valuable resource for developers working with the Paragon library, offering insights into the practical application of its components and fostering a deeper understanding of how to build effective and engaging user interfaces with Paragon.
The text was updated successfully, but these errors were encountered: