Skip to content

Fix kanban helper link resolution and add Vitest coverage#113

Merged
chhoumann merged 3 commits intomasterfrom
fix/kanban-helper-vite-tests
Jan 22, 2026
Merged

Fix kanban helper link resolution and add Vitest coverage#113
chhoumann merged 3 commits intomasterfrom
fix/kanban-helper-vite-tests

Conversation

@chhoumann
Copy link
Owner

@chhoumann chhoumann commented Jan 18, 2026

Summary

  • resolve markdown/wikilink targets via metadata cache with normalization + fallbacks
  • refactor Kanban helper link resolution helpers for clarity
  • prevent basename fallback on foldered links to avoid unrelated updates
  • migrate tests to Vitest and add realistic Kanban link scenarios

Testing

  • pnpm test

Closes #44
Fixes #112


Open with Devin

Add vitest-based coverage and obsidian stub for link handling.
Migrate tests from jest to vitest and wire config/scripts.
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 968a4d9f56

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Skip basename resolution when the link includes a path to prevent updating unrelated files.
@chhoumann
Copy link
Owner Author

Addressed the review note about basename fallback: we now only fallback for basename-only links and skip foldered links that can’t be resolved, avoiding updates to unrelated files. Added a regression test to cover this.

Copy link

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 5 additional flags.

Open in Devin Review

@chhoumann chhoumann merged commit e71cd9a into master Jan 22, 2026
@github-actions
Copy link

🎉 This PR is included in version 1.8.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

markdown links are not working Kanban helper function not working

1 participant