Skip to content

Conversation

@tomymaritano
Copy link
Owner

Summary

  • Extract @readied/wikilinks package with pure domain logic
  • Extract @readied/tasks package for task parsing
  • Extract @readied/commands package for markdown toolbar commands
  • Extract @readied/embeds package for embed syntax support
  • Add links database table for wikilink tracking
  • Fix editor cursor positioning bugs

Changes

  • New packages: packages/wikilinks/, packages/tasks/, packages/commands/, packages/embeds/
  • Pure domain logic separated from UI/Electron code
  • Each package has tests and proper TypeScript setup
  • Desktop app now imports from workspace packages

Test plan

  • pnpm test passes
  • pnpm typecheck passes
  • CI checks pass
  • Manual testing of wikilinks, tasks, commands, embeds in desktop app

🤖 Generated with Claude Code

tomymaritano and others added 4 commits January 3, 2026 16:28
- Extract wikilinks into dedicated workspace package
- Add core/adapters separation (pure domain vs integrations)
- Add links table with SQLite migration (007_links)
- Add BacklinksPanel component for note connections
- Fix DOM nesting warning in preview (mdast format)
- 17 new tests for wikilink parsing

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Create @readied/tasks package with pure task parsing logic
  - countMarkdownTasks() function for progress tracking
  - 11 tests covering all task parsing scenarios
  - Moved from apps/desktop/src/renderer/utils/markdown.ts

- Fix editor cursor jump bugs
  - Preserve selection in content update effect
  - Add guard + selection preservation to setCurrentNoteId effect
  - Export currentNoteIdField from @readied/wikilinks

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Extract toolbar-commands.ts to standalone package
- 15 markdown editing commands (toggleBold, insertLink, etc.)
- Pure functions, no UI dependencies
- CodeMirror as peerDependency

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Embed syntax ![[filename]] for images, videos, audio, PDFs
- Core parsing: extractEmbeds(), getEmbedType()
- Remark plugin for preview rendering
- 18 tests covering all parsing scenarios
- CSS styles for embed elements
- Integrated in MarkdownPreview.tsx

Note: File resolution (IPC handlers) will be added in future sprint.
Currently shows placeholder for unresolved embeds.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

tomymaritano and others added 2 commits January 3, 2026 23:16
- Remove unnecessary escape characters in regex character classes
- Add passWithNoTests to commands vitest config

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@tomymaritano tomymaritano merged commit b3785e0 into main Jan 4, 2026
3 checks passed
@tomymaritano tomymaritano deleted the feat/extract-packages branch January 4, 2026 02:20
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.

2 participants