Repository navigation
feat(ui): share, directions and contact open from the event's action row - #540
Merged
Merged
Conversation
The scoping pass renames every @Keyframes to sy-atlas-<name> but rewrote only animation and animation-name declarations. Tailwind 4's animation utilities read the keyframe name from the --animate-* token, so animate-spin and animate-pulse named keyframes that no longer existed: the spinner never turned and the loading skeleton never pulsed. The spinner now also stands still under prefers-reduced-motion, as the skeleton already did. Co-Authored-By: Claude Opus 5.5 <[email protected]>
ShareView is gone. The row's Share button opens the device's share sheet, or the region's networks in a popover, each named under its icon and closed by a Copy link disc; it is hidden when the class has no link to share (#115). An old <event>/share link opens the class. Register moves below the action row. Directions becomes a menu of map services ordered for the viewer's region and device (lib/maps/providers), and Contact a menu of the host's name, a call link, WhatsApp and Copy number, on every device. The share-unavailable fallback, its stories and the share drawer's sheet stop go with the view. The Event story gains a Layout control in place of its sticky-Register sibling. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- The share targets (react-share) are their own chunk again, loaded when the popover opens and prefetched on the way in, so a class page no longer carries them. - Map services are one table; the Directions rows are built once. - useCopy reports failure itself; the copy-failure caption is shared. - react-share's inline button reset is off instead of patched around. - A WhatsApp link drops extensions and trunk zeros (whatsappHref). - The CSS gate refuses a namespaced keyframe nothing names, the defect that froze the spinner and the skeleton pulse. - Stale ShareView and share-route references, in code and docs. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
The lazy boundary around the share networks re-chunked the eager graph (+0.7 KiB gz standalone) and took the build over its 336 KiB budget on CI. Imported statically, standalone is 0.2 KiB under main's; react-share rides the lazy class-page chunk instead, as RegistrationView's. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
sahajatlas-design | 76b765a | Nov 27 2026, 06:41 PM |
Ardnived
added a commit
that referenced
this pull request
Nov 27, 2026
With the share drawer gone (#540), every route now has a skeleton: skeletonShape returns a shape for each, and the drawer's loading body loses its spinner branch. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ardnived
added a commit
that referenced
this pull request
Nov 28, 2026
Brings in #520–#551. Resolutions: - ShareView stays deleted (#540); the inline split's class views are the class and its sign-up, and the aside under the map takes the actions, then Register, in #540's order. - The calendar's width reads #538's `isCalendarFullWidth` off the URL; #466's `calendarFillsWidth` goes with Schedule-X. - MapControls and Mapbox take both `settings` and #542's `filterMenus`; MapLayer passes the floating filter buttons, and DrawerStack claims them only for a sheeted stack. - The root view's new title (#531) is a place's, so inline it gives way to the page heading. - Main's Event "Layout" control is dropped: the Expanded form shows the phone sheet. - The panel stays 384px, including FilterMenus' cap; translations re-synced from production. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Change outline
Components — the event panel's action row
Share, Directions and Contact act in place instead of opening a drawer or a popover, and Register follows the row.
EventDetails src/components/organisms/EventDetails/EventDetails.tsx EventChips · EventFacts · {slot} · unverified Alert - EventRegisterBar EventActions src/components/molecules/EventActions/EventActions.tsx - Directions → one href (Apple on iOS, else Google) + DirectionsMenu Radix DropdownMenu of directionsLinks(mapProvidersForCountry(country, isIOS())) - Contact → tel: on touch, ContactPopover on desktop (useCoarsePointer) + ContactMenu host name · tel: number · WhatsApp (whatsappHref) · Copy number, every device - Share → navigate(`${basePath}/share`) + ShareButton native sheet, else popover of ShareTargets; hidden without useShareUrl + EventRegisterBarComponents — the share popover
The networks are named under their discs and closed by Copy link.
ShareButton({ label, url, country, children, ...skin }) ShareContent.tsx ShareTargets({ url, title, country, onPick }) platform-buttons.tsx - PlatformButton icon only, inline react-share reset patched around + PlatformButton disc + name, resetButtonStyle: false, beforeOnClick: onPick + CopyLinkTarget disc, says "Link copied", keeps the popover open ShareContent (registration confirmation) = ShareButton + full-width CopyLinkButtonContract — routes (
docs/embedding.md§ URL shape unchanged)sharestays a reserved word, so an old link opens its class rather than a region called "share".resolveStack('/…/507/share') src/lib/shape/path.ts - [ …, event 507, { kind: 'share', eventPath } ] + [ …, event 507 ] allowedLivePreviewPaths(event) src/lib/live-preview/navigation.ts - [ page, page/register, page/share ] + [ page, page/register ]Files
Flow — the CSS scoping pass
Tailwind 4's
animate-*utilities read the keyframe from a--animate-*token, which the rename skipped.Preview
Preview pending — the app preview and the Ladle playground build after the push.
Contract impact
docs/embedding.md(CSPscript-srcand theclipboard-writerow) andCHANGELOG.mdare updated. No parameter, origin, CSP or permission changes for hosts. Neither in-tree host links to/share(checkedWeMeditateWebandSahajAtlasWordpress).SahajCloud copy: sydevs/SahajCloud#1303 adds
event.actions.copy_numberandshare.email, which this PR shows as hard-coded English and a borrowed label meanwhile. sydevs/SahajCloud#1290 dropsshare.title_classandcommon.errors.share_unavailable_class, listed inRETIRING_KEYS.Test results
test:run(2,758 passed, 1 skipped)sy-atlas-spin is never referenced)origin/maintoo, so not judged here; CI's run is the gateManual verification
Notes for reviewer
coordinate=wgs84(lands ~500 m off), so it uses the marker page.common.report.email_label— a marked shortcut until feat(translations): the atlas Contact menu's Copy number and the share Email label SahajCloud#1303.Detail
standaloneover its 336 KiB budget on CI. Imported statically,standaloneis 0.2 KiB under main's.🤖 Generated with Claude Code