Skip to content

Conversation

gortavoher
Copy link
Collaborator

  • implement method to convert tags to hashtags with capitalization and prefix
  • enhance Draft struct to utilize hashtags in post processing

✅ test(draft): add unit tests for new hashtag functionality

  • test hashtag conversion logic in taxonomies
  • ensure draft processing correctly applies hashtags
  • verify file creation in write_posts and cleanup operations

- implement method to convert tags to hashtags with capitalization and prefix
- enhance Draft struct to utilize hashtags in post processing

✅ test(draft): add unit tests for new hashtag functionality

- test hashtag conversion logic in taxonomies
- ensure draft processing correctly applies hashtags
- verify file creation in write_posts and cleanup operations
@gortavoher gortavoher requested a review from jerusdp as a code owner July 16, 2025 06:36
@gortavoher gortavoher self-assigned this Jul 16, 2025
Copy link

codecov bot commented Jul 16, 2025

Codecov Report

Attention: Patch coverage is 99.15254% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
.../cli/bsky/commands/cmd_draft/draft/front_matter.rs 98.30% 1 Missing ⚠️
Files with missing lines Coverage Δ
src/cli/bsky/commands/cmd_draft/draft.rs 86.48% <100.00%> (+86.48%) ⬆️
.../cli/bsky/commands/cmd_draft/draft/front_matter.rs 99.13% <98.30%> (-0.87%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

- relocate std::fs and std::path::Path imports to the test module for better organization

♻️ refactor(draft): improve struct initialization

- use struct update syntax to initialize Draft in test cases

♻️ refactor(front_matter): simplify hashtag formatting

- remove redundant format! braces for a cleaner code structure
Copy link

@jerusdp jerusdp enabled auto-merge July 16, 2025 08:53
@jerusdp jerusdp merged commit b0f5bb0 into main Jul 16, 2025
2 checks passed
@jerusdp jerusdp deleted the add-hashtag-formatting-to-taxonomies branch July 16, 2025 08:54
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.

3 participants