-
-
Couldn't load subscription status.
- Fork 0
1.0.4 #7
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
Merged
Merged
1.0.4 #7
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Added .gitattributes for text normalization, .github funding and issue templates, and a LICENSE file with the MIT license. Updated .gitignore to exclude additional files and directories.
Introduces a new projects.json data file and updates index.html to display a dynamic open source projects showcase. The page now fetches project data, renders project cards with links, and includes improved styling and error handling.
Replaced the example project with multiple real project entries, each including name, description, GitHub URL, and hostname where applicable. This update provides a more comprehensive and accurate showcase of available projects.
Update the project version from 0.0.0 to 1.0.0 to indicate a major release or stable version.
Added PNG and WEBP versions of the icon to the images directory and a WEBP favicon to the public/images directory for use in the application.
Added a comprehensive README.md with project details and usage instructions. Replaced .webp favicon and icon images with .ico and .png formats, updated the favicon link in index.html, and removed unused .webp files for better browser compatibility.
Replaced the placeholder logo image URL with a local image (images/icon.png) in the README for improved branding and offline accessibility.
Incremented the package version from 1.0.0 to 1.0.1 to reflect recent changes.
Added a GitHub Actions workflow and a Node.js script to fetch repository metadata from the GitHub API and update public/data/projects.json. Refactored projects.json structure to group projects by provider and account, and updated frontend code to handle the new format.
Update package version for new release or patch.
Added node-fetch to package.json and updated package-lock.json to include node-fetch and its related packages. This enables HTTP request functionality in the project.
Refactored fetch initialization to use global.fetch if available, falling back to dynamic import of node-fetch. This improves compatibility with environments that provide a global fetch implementation.
Added 'contents: write' permissions to the fetch-repo-metadata GitHub Actions workflow to enable actions that require write access to repository contents.
Deleted the public/data/projects.json file, which contained metadata and project listings for various repositories. This change may be part of a data cleanup or a shift to a new data source.
Updated the project version from 1.0.2-1 to 1.0.2 in package.json and package-lock.json for consistency.
Introduces a new projects.json file in the public/data directory to store project-related data.
Update package.json and package-lock.json to version 1.0.3 for release or deployment.
Introduces two GitHub Actions workflows: one for cleaning up all workflow runs and another for cleaning up only failed runs. These workflows use external Python scripts to automate the cleanup process and require write permissions for actions.
Moved JavaScript logic to a separate index.js file for better maintainability and modularity. Replaced inline CSS with a minified external stylesheet for performance. Enhanced index.html with SEO and social meta tags, improved accessibility, and updated markup structure.
Updated project fetching and rendering logic to handle metadata fields as arrays, ensuring all displayed fields are properly formatted as strings or numbers. Improved project card UI to show topics, stargazers, forks, and homepage links, and removed legacy hostname handling. Extra metadata fields are now displayed dynamically if present.
Project topics are now displayed as styled chips in a flex row instead of a list. Added new CSS for improved layout and appearance, including styles for topic chips and project cards.
Introduces public/index.min.js containing async functions to fetch, render, and display project data from /data/projects.json. Includes error handling and dynamic creation of project cards with metadata and links.
Reformatted index.html for improved readability and consistency. Changed script reference from index.js to index.min.js to use the minified JavaScript file.
Added 'open-source-projects' and replaced 'cloudflare-smart-tools' with 'cloudflare-smart-cache' in LoveDoLove's project entries.
Update package.json and package-lock.json to reflect new version 1.0.4.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This pull request refactors the project showcase to improve maintainability, accessibility, and user experience. The main changes include modularizing the frontend logic into a dedicated
index.jsfile, enhancing the project metadata display, improving accessibility and semantic structure in the HTML, and moving styles to separate CSS files for better performance and maintainability.Frontend Refactor and Feature Enhancements
public/index.htmlto a new modularpublic/index.jsfile, improving maintainability and separation of concerns. The new logic ensures robust handling of project metadata and displays additional fields such as topics, stars, and forks.Accessibility and Semantic Improvements
public/index.htmlto use more semantic HTML elements (e.g.,<main>,<header>,<section>,<article>) and added ARIA attributes for improved accessibility. Also replaced the inline script with a deferred reference to the newindex.min.js.Performance and Maintainability
public/index.htmlto separate files:public/style.css(readable) andpublic/style.min.css(minified for production), and updated the HTML to preload and link the minified stylesheet for faster page loads. [1] [2]public/index.htmlfor better SEO and social sharing previews.Data and Version Updates
LoveDoLoveindata/projects.json, adding the newopen-source-projectsrepo and correcting a project name.package.jsonfrom1.0.3to1.0.4.