Skip to content
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

feat(blog): update posts #555

Merged
merged 1 commit into from
Nov 12, 2024
Merged

feat(blog): update posts #555

merged 1 commit into from
Nov 12, 2024

Conversation

duyet
Copy link
Owner

@duyet duyet commented Nov 12, 2024

Summary by Sourcery

Enhance blog posts by adding 'series' metadata for better categorization and update titles for improved clarity. Clean up HTML formatting by removing unnecessary elements. Add new redirects for improved URL management.

Enhancements:

  • Add 'series' metadata to blog posts to categorize them under 'Rust Design Patterns'.
  • Update blog post titles for clarity and conciseness.

Chores:

  • Remove unused or redundant HTML elements from blog posts for cleaner formatting.

Copy link
Contributor

sourcery-ai bot commented Nov 12, 2024

Reviewer's Guide by Sourcery

This PR updates several blog posts by modernizing their formatting, improving titles, adding metadata, and cleaning up redirects. The changes focus on making the content more maintainable and SEO-friendly while preserving the original content.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Modernized blog post formatting by converting HTML to Markdown
  • Replaced HTML div and anchor tags with Markdown syntax
  • Simplified table of contents structure
  • Maintained all original links and content
apps/blog/_posts/2021/12/rust-strategy-design-pattern.md
apps/blog/_posts/2022/02/rust-builder-design-pattern.md
apps/blog/_posts/2022/02/rust-command-design-pattern.md
apps/blog/_posts/2022/02/rust-small-crates-design-pattern.md
Enhanced blog post metadata and organization
  • Added 'series' field to Rust design pattern posts
  • Added 'featured' flag to selected posts
  • Added Twitter comment URLs to recent posts
  • Simplified post titles by removing redundant prefixes
apps/blog/_posts/2020/05/spark-history-server-on-k8s.md
apps/blog/_posts/2020/12/airflow-taskflow-api.md
apps/blog/_posts/2022/08/rust-rayon.md
apps/blog/_posts/2022/09/rust-question-mark-operator.md
apps/blog/_posts/2024/03/clickhouse-monitoring.md
apps/blog/_posts/2024/05/clickhouse-mergetree.md
apps/blog/_posts/2024/06/clickhouse-replacingmergetree.md
apps/blog/_posts/2024/06/clickhouse-replicatedreplacingmergetree.md
apps/blog/_posts/2024/11/clickhouse-rust-udf.md
Updated URL redirects and file organization
  • Added new redirect rules for legacy URLs
  • Renamed files to use simpler, more semantic names
  • Updated corresponding slugs to match new file names
apps/blog/next.redirects.js
apps/blog/_posts/2015/04/bootstrap-gioi-thieu-ve-components.md
apps/blog/_posts/2015/04/bigdata-getting-started-with-spark-in-python.md
apps/blog/_posts/2015/04/database-tim-hieu-ve-csdl-redis.md
Enhanced footer navigation
  • Added new navigation links
  • Simplified link labels
  • Added About page link
packages/components/Footer.tsx

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

vercel bot commented Nov 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 12, 2024 9:56am
cv ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 12, 2024 9:56am
insights ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 12, 2024 9:56am

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @duyet - I've reviewed your changes and they look great!

Here's what I looked at during the review
  • 🟢 General issues: all looks good
  • 🟢 Security: all looks good
  • 🟢 Review instructions: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Documentation: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@duyet duyet merged commit 02fb7c9 into master Nov 12, 2024
8 of 9 checks passed
@duyet duyet deleted the feat/ui-update branch November 12, 2024 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant