Repository navigation
feat: add collection mentions and upgrade Vite+ - #140
Conversation
|
No actionable comments were generated in the recent review. WalkthroughThe changes add collection mentions to BlockNote search, Markdown restoration, and public-content rendering. They add API queries for public collection mentions and prepare collection metadata for collection and About page content. The Vite catalog version also changes. ChangesCollection Mentions
Vite Catalog Version
Estimated code review effort: 3 (Moderate) | ~30 minutes Sequence Diagram(s)sequenceDiagram
actor User
participant MentionSuggestions
participant CollectionRouter as collectionRouter.mentions
participant SearchQuery as searchPublicCollectionMentions
participant Database
User->>MentionSuggestions: Enter a mention query
MentionSuggestions->>CollectionRouter: Request collection results
CollectionRouter->>SearchQuery: Pass query text
SearchQuery->>Database: Search public collections
Database-->>SearchQuery: Return matching collections
SearchQuery-->>CollectionRouter: Return collection mentions
CollectionRouter-->>MentionSuggestions: Return collection results
User->>MentionSuggestions: Select a collection
MentionSuggestions-->>User: Insert collection mention
Possibly related PRs
Merge Risk:
|
|
React Doctor found no new issues. 🎉 Reviewed by React Doctor for commit |
Markdown editors can now mention public collections alongside projects through the
@picker and slash menu. Collection links round-trip into editable badges and render publicly with hover previews showing the description, collection kind, and project count.The picker groups projects and collections, preserves results when one search fails, and excludes unavailable collections using the existing public visibility policy. About and collection pages now prepare mention metadata for SSR, and collection edits/deletions invalidate cached previews.
This branch also upgrades Vite+ and its Vite alias from 1.4.0 to 1.5.0 via
vp upgradeandvp migrate, with the Bun lockfile refreshed.Validation:
vp checkpassed on all 28 changed TypeScript/TSX files with no warnings or errors.vp run --filter web buildpassed, including SSR. Chunk-size and dynamic-import warnings remain.The full test suite was not run.
Summary by CodeRabbit