Skip to content

feat: show event description in metadata chip#3840

Merged
ComputelessComputer merged 2 commits intomainfrom
devin/1770735753-show-event-description
Feb 12, 2026
Merged

feat: show event description in metadata chip#3840
ComputelessComputer merged 2 commits intomainfrom
devin/1770735753-show-event-description

Conversation

@devin-ai-integration
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot commented Feb 10, 2026

Summary

Renders the calendar event description field in the metadata popover. The description was already available in the EventDisplay props but was not being displayed. Now it appears below the date/time, separated by a divider line.

Also adds overflow-y-auto to the popover's inner content container so that long descriptions (or any tall content) remain scrollable within the max-h-[80vh] constraint.

Review & Testing Checklist for Human

  • Visual verification: Open the metadata chip on a session linked to a calendar event with a description and confirm the description renders below the date/time with a separator. Could not test locally due to Rust toolchain issues on the dev machine.
  • Long description scrolling: Verify that events with long descriptions (10+ lines) produce a scrollbar in the popover and that the participants section below remains accessible.
  • Short content regression: Confirm that events with no description (or short content) still look correct — the added overflow-y-auto on the content wrapper should be invisible when content fits.

Suggested test plan: Open a session linked to a calendar event that has a description (like the "Emil Chen wants to learn about Hyprnote" example from the screenshots). Click the metadata chip and verify the description appears below the date/time. Then try an event with a very long description and confirm the popover scrolls. Also check an event with no description to confirm no visual regression.

Notes

Co-Authored-By: john@hyprnote.com <john@hyprnote.com>
@netlify
Copy link

netlify bot commented Feb 10, 2026

Deploy Preview for hyprnote-storybook ready!

Name Link
🔨 Latest commit 919b715
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote-storybook/deploys/698d6b37946bc5000892c4f5
😎 Deploy Preview https://deploy-preview-3840--hyprnote-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@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 Feb 10, 2026

Deploy Preview for hyprnote ready!

Name Link
🔨 Latest commit 919b715
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote/deploys/698d6b376c42db0007f9a706
😎 Deploy Preview https://deploy-preview-3840--hyprnote.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor Author

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

View 2 additional findings in Devin Review.

Open in Devin Review

Co-Authored-By: john@hyprnote.com <john@hyprnote.com>
Copy link
Contributor Author

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 new potential issue.

View 4 additional findings in Devin Review.

Open in Devin Review

Comment on lines +216 to +223
{event.description && (
<>
<div className="h-px bg-neutral-200" />
<div className="text-sm text-neutral-700 whitespace-pre-wrap break-words">
{event.description}
</div>
</>
)}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Calendar view popover lacks max-height/overflow for newly rendered long descriptions

The EventDisplay component now renders the description field (lines 216-223), but it is also used in the calendar view's EventPopoverContent at apps/desktop/src/components/main/body/calendar/calendar-view.tsx:587. That popover's container (PopoverContent at line 552-554) has no max-h or overflow constraints:

<PopoverContent
  align="start"
  className="w-[280px] shadow-lg p-0 rounded-lg"
  onClick={(e) => e.stopPropagation()}
>
Impact and root cause

The metadata popover in the session view was correctly updated with overflow-y-auto on the inner div and already had max-h-[80vh] on the PopoverContent. However, the calendar view's event popover was not updated. When a calendar event has a long description (e.g. 10+ lines of meeting details, LinkedIn URLs, etc.), the popover will grow unbounded and can overflow the viewport, making the "Open note" button inaccessible.

Expected: The calendar event popover should also constrain its height and allow scrolling for long descriptions.

Actual: The popover grows without bounds, potentially extending beyond the viewport.

Prompt for agents
In apps/desktop/src/components/main/body/calendar/calendar-view.tsx, add max-height and overflow constraints to the calendar event PopoverContent (around line 552-554) similar to the metadata popover. For example, add max-h-[80vh] to the PopoverContent className and overflow-y-auto to the inner div in EventPopoverContent (line 586). This ensures long event descriptions don't cause the popover to overflow the viewport.
Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

@ComputelessComputer ComputelessComputer merged commit 914a936 into main Feb 12, 2026
19 of 20 checks passed
@ComputelessComputer ComputelessComputer deleted the devin/1770735753-show-event-description branch February 12, 2026 06:04
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