Add swipeable floating event cards for mobile#58
Conversation
Co-authored-by: ProLoser <67395+ProLoser@users.noreply.github.com>
|
@copilot add keyboard left/right support. i want the card to slide while i drag my finger left or right to swipe, and I would like placeholder card that slides into view while the current card I'm dragging slides out of view, with a little bit velocity animation |
…w navigation Co-authored-by: ProLoser <67395+ProLoser@users.noreply.github.com>
Done in 7b82065. Here's what was added:
|
|
@copilot the event infowindow should be shown at the same time the event's card is shown. when the user clicks full details it should expand the show more section in the infowindow |
…pands details section Co-authored-by: ProLoser <67395+ProLoser@users.noreply.github.com>
Done in 932b4b8:
|
|
@copilot closing the card should also close the infowindow |
Co-authored-by: ProLoser <67395+ProLoser@users.noreply.github.com>
|
|
@copilot rename "full details" button to "details" and make it toggle the show more |
Co-authored-by: ProLoser <67395+ProLoser@users.noreply.github.com>
Done in f815588 — replaced the hardcoded |
|
@copilot reduce card nav padding so it looks more embedded into the corners and top. the action elements look much taller than the add to calendar button in the middle |
Co-authored-by: ProLoser <67395+ProLoser@users.noreply.github.com>
Done in cc594d5 — reduced |
Refactor button styles for consistency.
|
@copilot add an icon to the details button on the card |
Co-authored-by: ProLoser <67395+ProLoser@users.noreply.github.com>
|
@copilot change the card-mode-toggle icon to a bottom panel open / close icon and change the details icon to an unfold more icon |
…re icon Co-authored-by: ProLoser <67395+ProLoser@users.noreply.github.com>
Done in b32340a:
|
|
@copilot can you make the cards toggle icon change between bottom panel open icon and bottom panel close icon depending on the current state of the button |
|
@copilot the details icon is too big compared to the close icon size and the details text is not vertically centered with the icon |
Co-authored-by: ProLoser <67395+ProLoser@users.noreply.github.com>
Done in b7960e9. The button now embeds two SVG elements — CSS shows
|







#event-cardfloating bottom-sheet with live drag, peek card, and velocity animationArrowLeft/ArrowRightnavigationshowEventCard()opens the infoWindow for the event at the same time as the cardfinishNavigation()updates the infoWindow to the new event after each swipe/keyboard navigation<details>section inside the already-open infoWindowhideEventCard()also closes the infoWindow when the card is dismissed<add-to-calendar-button>web component as the infoWindow (Apple, Google, iCal, Outlook.com)19hz/map.js(and preview copy)‹/›buttons now embedded closer to the corners and top of the cardOriginal prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.