Skip to content

Conversation

@devin-ai-integration
Copy link
Contributor

feat: display calendar event info in metadata chip

Summary

When opening a note that's associated with a calendar event, the metadata chip in the outer header now extracts and displays information from the calendar event data.

Changes:

  • Added useEvent hook to fetch event data from TinyBase store
  • Updated metadata chip trigger to show video icon + truncated event title when session has an associated event
  • Updated metadata popover to display event details: title, location (with map pin icon), meeting link with Join button, and date/time range
  • Falls back to original date-only display when no event is associated

Review & Testing Checklist for Human

  • Visual verification: Open a note with an associated calendar event and verify the metadata chip displays correctly (video icon, truncated title, popover content matches the design in the original screenshot)
  • Join button: Click the "Join" button and verify it opens the meeting link in a new browser tab
  • Fallback behavior: Open a note WITHOUT an associated calendar event and verify it still shows the calendar icon with relative date (Today, Yesterday, etc.)
  • Long titles: Test with a calendar event that has a very long title to verify truncation works properly
  • Participants: Verify participants section still displays correctly below the event info

Recommended test plan:

  1. Create/open a note linked to a calendar event that has location and meeting link
  2. Verify all event details appear in the popover
  3. Click Join button to test meeting link
  4. Open a standalone note (no calendar event) to verify fallback behavior

Notes

  • The useEvent hook returns null when eventId is undefined, using empty string as fallback for useCell calls
  • Both TriggerInner and ContentInner fetch event data independently (could be optimized in future)
  • No local app testing was performed - visual verification recommended

Requested by: [email protected] (@ComputelessComputer)
Link to Devin run: https://app.devin.ai/sessions/6b6b97bc26404ee8bfe5b9725ba647b5

@netlify
Copy link

netlify bot commented Jan 6, 2026

Deploy Preview for hyprnote-storybook canceled.

Name Link
🔨 Latest commit 2908d18
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote-storybook/deploys/695e2b382cddd4000814ca04

@netlify
Copy link

netlify bot commented Jan 6, 2026

Deploy Preview for howto-fix-macos-audio-selection canceled.

Name Link
🔨 Latest commit 2908d18
🔍 Latest deploy log https://app.netlify.com/projects/howto-fix-macos-audio-selection/deploys/695e2b386b83ab0008fe345f

@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR that start with 'DevinAI' or '@devin'.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@netlify
Copy link

netlify bot commented Jan 6, 2026

Deploy Preview for hyprnote canceled.

Name Link
🔨 Latest commit 2908d18
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote/deploys/695e2b38bf36ed00083195a5

devin-ai-integration bot and others added 3 commits January 7, 2026 16:17
When a note is associated with a calendar event, the metadata chip now:
- Shows a video icon and truncated event title in the trigger button
- Displays event details in the popover including:
  - Event title
  - Location (if available)
  - Meeting link with Join button (if available)
  - Date/time range
  - Participants (existing functionality)

Co-Authored-By: [email protected] <[email protected]>
@ComputelessComputer ComputelessComputer force-pushed the devin/1767676526-calendar-event-metadata-chip branch from e27f338 to 2908d18 Compare January 7, 2026 09:45
@ComputelessComputer ComputelessComputer merged commit 0228597 into main Jan 7, 2026
21 checks passed
@ComputelessComputer ComputelessComputer deleted the devin/1767676526-calendar-event-metadata-chip branch January 7, 2026 09:55
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