Merge pull request #7 from Andre-Diamond:development
Development
Development
- Bumped the version of the mesh-governance package from 0.2.0 to 0.2.1 in both package.json and package-lock.json to reflect the latest changes and improvements.
Development
- Updated CustomTooltip in MeshStatsView to conditionally display 'repositories' or 'downloads' based on the chartId prop, improving clarity in data representation. - Modified the header in MeshStatsView to specify 'Repositories that depend on @meshsdk/core', providing a clearer context for users. - Commented out the console log in the Dashboard component to reduce clutter in the console output during development.
- Introduced a new RepositoryNode component to enhance the display of repository statistics, including contributor count and contributions. - Updated the generateNodes function to simplify node creation and removed the logic for generating edges, setting it to an empty array for clarity. - Adjusted cache duration in DataContext from 3 days to 30 minutes for improved data freshness. - Modified ADA formatting in various components to include a space between the symbol and the amount for better readability.
- Updated ContributorNetwork component to include all unique repositories instead of filtering for 'mesh' repositories, enhancing data representation. - Reduced node spacing in the grid layout from 300 to 200 for improved visual proximity. - Modified MeshStatsView component to replace 'Total File References' with 'Total Contributions', providing a clearer metric of contributor activity.
- Updated the ContributorNetwork component to arrange repository nodes in a grid formation instead of a circular layout, improving visual organization. - Introduced calculations for grid dimensions and spacing to enhance the layout's responsiveness. - Removed the MiniMap component to streamline the interface.
- Introduced @xyflow/react as a new dependency in package.json and package-lock.json for improved functionality. - Added ContributorNetwork component to the Contributors page to display contributor relationships. - Updated styles for better responsiveness of the dashboard logo.
- Removed filtering logic from the MeshStatsView component, now always displaying all package and monthly data. - Updated the component to use a new PageHeader for improved UI consistency in the Contributors page. - Cleaned up unnecessary code related to search functionality in the Projects page, simplifying the project display logic.
- Added new properties to CurrentStats and introduced MonthlyDownload, PackageData, FilteredStats, and MeshStatsViewProps interfaces in types.ts for improved data handling. - Refactored MeshStatsView component to utilize the new types, enhancing type safety and clarity in data representation. - Updated the logic for displaying package downloads to reflect the new core package downloads metric over the last 12 months.
Development
- Updated the Next.js configuration to use remote patterns for loading images from GitHub avatars, enhancing flexibility in image sourcing. - Refreshed package-lock.json to include new dependencies related to the updated configuration and ensure compatibility across different environments.
Development
- Removed unused dependencies and their resolved URLs from package-lock.json to streamline the file and reduce clutter. - Cleaned up entries related to @emnapi and @img packages, as well as various other modules that are no longer needed.
- Modified Next.js configuration to allow images from GitHub avatars. - Added a new 'Contributors' navigation item with an associated icon. - Updated the GitHub usage metric in the dashboard to reflect core usage in repositories instead of package.json. - Removed the Card.module.css file as it is no longer needed.
- Added 'repositories' field to YearlyStats and CurrentStats interfaces in types.ts. - Introduced a new CustomLineChart component to visualize GitHub repositories data over the current year. - Updated MeshStatsView to include the new line chart for repositories and adjusted the display of current stats. - Removed unused search and filter functionality from MeshStatsPage for cleaner code.
- Updated the format of ADA amounts to include a space between the symbol and the number. - Improved the layout and styling of the Catalyst Proposals List for better readability. - Added total votes statistics to the Catalyst Proposals page, displaying the total number of votes across all projects. - Ensured consistent formatting of progress bars and status indicators in the proposals list.
- Introduced new interfaces for DRep delegation data and epoch information in types.ts. - Updated DataContext to fetch and include delegation data in DRepVotingData. - Enhanced DRepVoting component to display total delegated ADA and total delegators. - Modified VotingTableCard to show delegation information alongside voting statistics. - Improved styling for delegation information in Dashboard and Voting components.