Commit Graph

12 Commits

Author SHA1 Message Date
17976065df docs: add implementation plan for notification UI improvements
Detailed plan with bite-sized tasks for:
- Notification message format improvements
- Settings section collapse fix
- Modal filter control repairs

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-26 09:14:07 -04:00
e5d1c76d48 Add design document for notification UI improvements
Documents fixes for three UX issues:
- Unclear notification message format
- Settings section collapsing on toggle
- Broken filter controls in history modal

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-26 09:10:00 -04:00
f847339a91 docs: add implementation plan for settings UI simplification 2025-10-26 08:18:32 -04:00
0112268af9 docs: add settings UI simplification design
Comprehensive design for streamlining the settings UI using progressive
disclosure to reduce visual clutter while preserving all functionality.

Key changes:
- Move Server Status to top for better visibility
- Collapse Authentication and UI Notifications sections by default
- Remove encryption-related messaging
- Remove network security disclosure
- Simplify all descriptive text
- Use native HTML details/summary elements for collapsibility
2025-10-26 08:15:24 -04:00
65c0d47f2a docs: remove outdated coverage implementation plans
- Removed 3 deprecated implementation plan documents from docs/plans directory:
  - 2025-01-20-tools-coverage-implementation.md
  - 2025-01-20-utils-coverage-completion.md
  - 2025-01-20-utils-coverage-implementation.md
- These plans are no longer needed since the coverage work has been completed and merged
2025-10-26 07:50:25 -04:00
1fb4af2e3a docs: add version history explanation for 1.0.0 reset 2025-10-26 07:46:23 -04:00
6edb380234 docs: add implementation plan and manual testing checklist 2025-10-25 22:14:29 -04:00
b31a4abc59 refactor: simplify settings UI, remove CORS toggles, show encryption status
- Remove authentication toggle (auth now always enabled)
- Add description explaining mandatory authentication
- Show encryption status indicator (available/unavailable)
- Always display API key section (no conditional)
- Always include Authorization header in MCP client config
- Add import for isEncryptionAvailable
- Fix variable name collision (apiKeyButtonContainer)
- Add manual testing checklist documentation

Implements Task 5, Steps 2-7 from docs/plans/2025-10-25-simplify-cors-mandatory-auth.md
2025-10-25 22:14:29 -04:00
e3ab2f18f5 docs: add implementation plans for coverage work 2025-10-25 22:14:29 -04:00
3360790149 refactor: update VaultTools to pass adapters to utils
Updated VaultTools to use adapters for all utility method calls:
- SearchUtils.searchWaypoints() now receives vault adapter
- WaypointUtils.isFolderNote() now receives vault adapter
- LinkUtils.validateWikilinks() now receives vault and metadata adapters
- LinkUtils.resolveLink() now receives vault and metadata adapters
- LinkUtils.getBacklinks() now receives vault and metadata adapters

Removed App dependency from VaultTools constructor - now only requires
vault and metadata adapters. Updated factory and all test files accordingly.

All tests passing (336/336).
2025-10-25 22:14:29 -04:00
886730bf95 refactor: migrate VaultTools link methods to use adapters
Update validateWikilinks, resolveWikilink, and getBacklinks methods
to use IVaultAdapter and IMetadataCacheAdapter instead of direct App access.

- Implemented inline link suggestion finding using vault adapter
- Implemented backlinks retrieval using metadata cache adapter
- Added helper methods: findLinkSuggestions, extractSnippet, escapeRegex
- App parameter still required for waypoint methods (not in scope for this task)
2025-10-19 23:45:13 -04:00
b89d0912c2 docs: design document for 100% test coverage via dependency injection
Add comprehensive design for achieving 100% test coverage through
dependency injection refactoring. The design introduces adapter
interfaces to decouple tool classes from Obsidian API dependencies,
enabling cleaner, more maintainable tests.

Key elements:
- IVaultAdapter, IMetadataCacheAdapter, IFileManagerAdapter interfaces
- Factory pattern for production usage
- Phased implementation approach (adapters → VaultTools → NoteTools → integration)
- Mock adapter pattern for simplified test setup
- Coverage strategy organized by feature areas

Goal: Codebase confidence for future refactoring and feature work.
2025-10-19 22:54:08 -04:00