Skip to content

Make media notes respect note type editorChips configuration#25

Merged
disnet merged 1 commit intomainfrom
disnet/note-type-props-display
Jan 16, 2026
Merged

Make media notes respect note type editorChips configuration#25
disnet merged 1 commit intomainfrom
disnet/note-type-props-display

Conversation

@disnet
Copy link
Owner

@disnet disnet commented Jan 16, 2026

Summary

Media notes (EPUB, PDF, Webpage) now respect the note type's editorChips configuration instead of using hardcoded property displays. This allows users to customize which properties are shown by configuring their note types.

Changes

  • Extended EditorChips component to support computed values and additional property definitions
  • Created MediaChips wrapper component for media viewers
  • Updated EPUB, PDF, and Webpage viewers to use MediaChips
  • Added media-properties registry with default configurations

Test Plan

  • Open an existing EPUB, PDF, or Webpage note and verify chips display correctly
  • Assign a media note to a custom note type with editorChips configured
  • Verify the configured chips are displayed instead of defaults
  • Click expand button to verify all available fields are shown

🤖 Generated with Claude Code

Media notes (EPUB, PDF, Webpage) now use EditorChips component and respect the note type's editorChips configuration, instead of displaying a hardcoded set of properties. This allows users to customize which media-specific properties are displayed by configuring their note types.

Changes:
- Extend EditorChips to support computed values and additional property definitions
- Create MediaChips wrapper component for media viewers
- Update EPUB, PDF, and Webpage viewers to use MediaChips
- Add media-properties registry with property definitions and defaults

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link

Deploying flint-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 65b3e2d
Status: ✅  Deploy successful!
Preview URL: https://1260c0e0.flint-website.pages.dev
Branch Preview URL: https://disnet-note-type-props-displ.flint-website.pages.dev

View logs

@disnet disnet merged commit 2380143 into main Jan 16, 2026
4 checks passed
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.

1 participant