nash1111 / nash1111-tech-blog

0 stars 0 forks source link

feat: add post #105

Closed nash1111 closed 3 months ago

nash1111 commented 3 months ago

User description

Why

Closes #97

What

add blog post deleted unused md file


PR Type

Enhancement, Documentation, Other


Description


Changes walkthrough 📝

Relevant files
Enhancement
posts.ts
Add new blog posts to posts array                                               

app/lib/posts.ts
  • Added imports for new blog posts about RSS and shadcn/ui.
  • Updated posts array to include new blog posts.
  • +4/-0     
    Miscellaneous
    lastUpdated.ts
    Update lastUpdated timestamp                                                         

    public/lastUpdated.ts - Updated the `lastUpdated` timestamp.
    +1/-1     
    currentIssues.json
    Update current issues list                                                             

    public/currentIssues.json - Updated the list of current issues.
    +1/-1     
    Bug fix
    commit-feeds.yaml
    Fix workflow script for RSS generation                                     

    .github/workflows/commit-feeds.yaml
  • Fixed workflow script to run generateRSS.ts instead of generate-task.
  • +1/-1     
    Documentation
    ADD_SHADCNUI.md
    Remove unused markdown file                                                           

    ADD_SHADCNUI.md - Deleted unused markdown file.
    +0/-7     
    ADD_SHADCN_AFTER_TW.md
    Remove unused markdown file                                                           

    ADD_SHADCN_AFTER_TW.md - Deleted unused markdown file.
    +0/-15   
    blog.addedrss.mdx
    Add blog post about adding RSS                                                     

    app/routes/blog.addedrss.mdx - Added a new blog post about adding RSS to the blog.
    +26/-0   
    blog.addshadcnonremix.mdx
    Add blog post about shadcn/ui integration                               

    app/routes/blog.addshadcnonremix.mdx - Added a new blog post about integrating shadcn/ui with Remix.
    +39/-0   

    💡 PR-Agent usage: Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

    cloudflare-workers-and-pages[bot] commented 3 months ago

    Deploying nash1111-tech-blog with  Cloudflare Pages  Cloudflare Pages

    Latest commit: a2137e1
    Status:⚡️  Build in progress...

    View logs

    github-actions[bot] commented 3 months ago

    PR Reviewer Guide 🔍

    ⏱️ Estimated effort to review [1-5] 2
    🧪 Relevant tests No
    🔒 Security concerns No
    ⚡ Key issues to review Possible Bug:
    The PR includes changes to the workflow script to run generateRSS.ts instead of generate-task. Ensure that the new script is tested and integrates well with existing CI/CD pipelines.
    Code Organization:
    The deletion of markdown files (ADD_SHADCNUI.md and ADD_SHADCN_AFTER_TW.md) should be verified to ensure that no references to these files remain in the codebase that could lead to broken links or missing documentation.
    github-actions[bot] commented 3 months ago

    PR Code Suggestions ✨

    CategorySuggestion                                                                                                                                    Score
    Best practice
    Ensure consistent date and time formatting, possibly including time zone ___ **Ensure the date and time format is consistent across your application. If the time zone is
    relevant, consider including it explicitly in the timestamp.** [public/lastUpdated.ts [1]](https://github.com/nash1111/nash1111-tech-blog/pull/105/files#diff-035b4dbf3d5271011cd9df19126b1f50c6b572d572ead51d3a7056b85bec0decR1-R1) ```diff -export const lastUpdated = "2024-06-29T10:26:31"; +export const lastUpdated = "2024-06-29T10:26:31Z"; # Assuming UTC time zone ```
    Suggestion importance[1-10]: 8 Why: Including the time zone in the timestamp ensures consistency and clarity, especially if the application is used across different time zones.
    8
    Maintainability
    Add a newline after imports for better code separation ___ **Consider adding a newline after the import statements for better readability and
    separation of imports from other code blocks.** [app/lib/posts.ts [9]](https://github.com/nash1111/nash1111-tech-blog/pull/105/files#diff-e0d130593a72d881fed8ab93b4c88c4d41b875a9c0ee6133bfb307522d3ca794R9-R9) ```diff +import * as postAddShadcn from "~/routes/blog.addshadcnonremix.mdx"; - ```
    Suggestion importance[1-10]: 7 Why: Adding a newline after the import statements improves readability and maintains a clean separation between imports and other code blocks.
    7