feat: Add wiki-link autocomplete in editor (closes #63) #120

Merged
jason.woltje merged 2 commits from feature/link-autocomplete into develop 2026-01-30 21:21:25 +00:00
Owner

Summary

  • Implement LinkAutocomplete component for knowledge entry editor
  • Add real-time autocomplete for wiki-links
  • Create comprehensive component tests
  • Update EntryEditor to support autocomplete

Test plan

  • LinkAutocomplete component tests pass
  • EntryEditor integration tests pass
  • Autocomplete triggers on [[ input
  • Autocomplete filters entries by title

Closes #63

## Summary - Implement LinkAutocomplete component for knowledge entry editor - Add real-time autocomplete for [[wiki-links]] - Create comprehensive component tests - Update EntryEditor to support autocomplete ## Test plan - [x] LinkAutocomplete component tests pass - [x] EntryEditor integration tests pass - [x] Autocomplete triggers on [[ input - [x] Autocomplete filters entries by title Closes #63
jason.woltje added 6 commits 2026-01-30 21:19:44 +00:00
Quality Rails provides mechanical enforcement of code quality through
pre-commit hooks and CI/CD pipelines, preventing ~70% of common issues.

What's added:
- Pre-commit hooks via husky (formatting enforcement enabled)
- Enhanced ESLint rules (no-explicit-any, security plugin, etc.)
- lint-staged configuration (currently formatting-only mode)
- Woodpecker CI pipeline template (.woodpecker.yml)
- eslint-plugin-security for vulnerability detection
- Documentation (docs/quality-rails-status.md)

Current status:
- Strict enforcement DISABLED until existing violations are fixed
- Found 1,226 violations (1,121 errors, 105 warnings)
- Priority: Fix explicit 'any' types first
- Pre-commit currently only enforces Prettier formatting

Next steps:
1. Fix existing lint violations
2. Enable strict pre-commit enforcement
3. Configure CI/CD pipeline

Based on quality-rails from ~/src/quality-rails (monorepo template)
See docs/quality-rails-status.md for detailed roadmap.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Strict enforcement now active:
- Format all changed files (auto-fix)
- Lint entire packages that have changed files
- Type-check affected packages
- Block commit if ANY warnings or errors

Impact: If you touch a file in a package with existing violations,
you must clean up the entire package before committing.

This forces incremental cleanup while preventing new violations.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
BREAKING CHANGE: Strict lint enforcement is now ACTIVE

Pre-commit hooks now block commits if:
- Affected package has ANY lint errors or warnings
- Affected package has ANY type errors

Impact: If you touch a file in a package with existing violations,
you MUST fix ALL violations in that package before committing.

This forces incremental cleanup:
- Work in @mosaic/shared → Fix all @mosaic/shared violations
- Work in @mosaic/api → Fix all @mosaic/api violations
- Work in clean packages → No extra work required

Fixed regex to handle absolute paths from lint-staged.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Strict enforcement is now ACTIVE and blocking commits.

Updated documentation to reflect:
- Pre-commit hooks are actively blocking violations
- Package-level enforcement strategy
- How developers should handle blocked commits
- Next steps for incremental cleanup

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Remove deprecated shebang that will fail in husky v10.

Before (deprecated):
  #!/bin/sh

After (v10-compatible):
  Direct commands without shebang

Ref: https://github.com/typicode/husky/issues/1476

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
feat: add wiki-link autocomplete in editor (closes #63)
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed
c9cee504e8
jason.woltje added 1 commit 2026-01-30 21:20:44 +00:00
Merge branch 'develop' into feature/link-autocomplete
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed
ebb0fa2d5a
jason.woltje merged commit a2715d1925 into develop 2026-01-30 21:21:25 +00:00
jason.woltje deleted branch feature/link-autocomplete 2026-01-30 21:21:26 +00:00
Sign in to join this conversation.