Skip to content

Replace custom popup with Semantic UI Popup component#15

Open
doboy wants to merge 3 commits intomainfrom
claude/add-calendar-popover-K8dca
Open

Replace custom popup with Semantic UI Popup component#15
doboy wants to merge 3 commits intomainfrom
claude/add-calendar-popover-K8dca

Conversation

@doboy
Copy link
Copy Markdown
Owner

@doboy doboy commented Feb 25, 2026

Summary

Refactored the CalendarEvent component to use Semantic UI's Popup component instead of a custom popup implementation, improving code maintainability and consistency with the existing UI framework.

Key Changes

  • Added Popup import from semantic-ui-react
  • Wrapped the calendar event trigger element with Semantic UI's Popup component
  • Configured popup to display event details (title, location, and time range) on hover
  • Removed custom .calendar__event__popup CSS styling that is no longer needed
  • Enhanced popup content to include a formatted time range (start - end format)

Implementation Details

  • The popup is configured with position="top center", size="small", and hoverable props for optimal UX
  • Time range is computed once using the existing numberToTime utility function
  • The original event element structure is preserved as the popup trigger
  • Popup content displays title, location, and time information in a clean, organized layout

https://claude.ai/code/session_01SRnHfqEX321LqcSCW24ymd

Wrap CalendarEvent with Semantic UI React's Popup component to show
event details (title, location, time range) on hover. Removes the
unused custom .calendar__event__popup CSS in favor of Semantic UI's
built-in popup styling.

https://claude.ai/code/session_01SRnHfqEX321LqcSCW24ymd
@vercel
Copy link
Copy Markdown

vercel bot commented Feb 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
zitnr Ready Ready Preview, Comment Feb 25, 2026 8:13am

The semantic-ui-react Popup component is incompatible with React 19
(uses deprecated findDOMNode). Use Semantic UI CSS classes (.ui.popup)
with React state instead, matching the rest of the codebase's pattern.

https://claude.ai/code/session_01SRnHfqEX321LqcSCW24ymd
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