openedx / openedx/paragon

Please Document the Insights Tracker

Open
#3,005 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
140
Forks
100
Avg merge
1h 3m
Merged PRs (30d)
30

Description

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
  • This file likely documents how individual components are used within projects. It may include usage statistics, example implementations, and best practices for integrating components into applications.
2. ComponentUsageExamples.tsx
  • Contains example implementations of components documented in ComponentUsage.tsx. This might include code snippets or live examples demonstrating how to use components effectively in various scenarios.
3. ComponentsUsage.tsx
  • Similar to ComponentUsage.tsx, it might provide aggregated insights into the usage of multiple components across projects, highlighting popular components or common patterns.
4. HooksUsage.tsx
  • Documents the usage of React hooks provided by the Paragon library. This could include insights into the most frequently used hooks, examples of hooks in action, and best practices for managing state and side effects in applications using Paragon.
5. IconsUsage.tsx
  • Offers documentation and examples related to the use of icons within the Paragon library. This file might detail how to integrate icons into components, customize icon properties, and leverage icons to enhance UI design.
6. ProjectUsageExamples.tsx
  • Provides examples of how the Paragon library is utilized within entire projects. This could showcase case studies or sample projects that effectively use Paragon components, hooks, and utilities.
7. ProjectsUsage.tsx
  • Similar to 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
  • Presents a high-level overview of the usage of the Paragon library's features, summarizing the key insights from the detailed documentation and examples provided in the other files.
9. SummaryUsageExamples.tsx
  • Complements SummaryUsage.tsx by providing concrete examples that illustrate the summarized usage insights, potentially offering a quick reference guide for developers.
10. UsagesList.tsx
  • Likely a component that lists all the documented usages, examples, and insights, providing an easy navigation interface for developers exploring the "Usage Insights" feature.
11. UtilsUsage.tsx
  • Focuses on the utilization of utility functions and helpers provided by the Paragon library. This file might include documentation on how to leverage these utilities to simplify development, improve performance, or enhance the user experience.

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in www/src/components/insights and verify the Usage Insights files listed in the issue, including ComponentUsage.tsx, HooksUsage.tsx, IconsUsage.tsx, ProjectsUsage.tsx, SummaryUsage.tsx, UsagesList.tsx, and UtilsUsage.tsx. Read the existing implementation to determine how the feature is used and what it covers. Done means the Usage Insights feature has basic documentation describing its scope and usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
documentation, frontend
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.