Skip to content

Honor Project Night contact actions on the public website - #49

Merged
Elvis020 merged 1 commit into
mainfrom
feature/project-night-contact-action
Sep 11, 2026
Merged

Elvis020 merged 1 commit into
mainfrom
feature/project-night-contact-action

Conversation

@Elvis020

@Elvis020 Elvis020 commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

Consume the EMS-provided Project Night contact action consistently across the public website.

User-facing changes

  • Show Message @aberkowitz when EMS supplies it, including on past Project Night events.
  • Give the explicit contact action priority over recording, livestream, and registration fallbacks.
  • Apply the same selection logic on event listings, event detail pages, and live data refreshes.
  • Open the Slack custom-protocol link directly instead of forcing a new browser tab.

Implementation notes

  • The public event contract now accepts the additive primary_action object.
  • Slack deep links are strictly normalized to the approved workspace and member URI shape.
  • Action selection is centralized to prevent static and live-rendered views from drifting.

Verification

  • pnpm build
  • Direct Node assertions for past-event action precedence
  • Direct Node assertions for accepted and rejected Slack URI shapes
  • git diff --check

- accept and validate the EMS primary action contract, including strict Slack deep links
- prioritize explicit contact actions over recordings, livestreams, and registration links
- apply the same action selection to static pages and live event refreshes
- avoid forcing custom-protocol links into a new browser tab

Verification:
- pnpm build
- direct Node assertions for action precedence and Slack URL validation
- git diff --check
@cloudflare-workers-and-pages

Copy link
Copy Markdown
Contributor

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
devcongress-website a8bdad4 Commit Preview URL

Branch Preview URL
Sep 08 2026, 01:59 PM

@Elvis020
Elvis020 requested a review from bubunyo September 11, 2026 13:31
@Elvis020 Elvis020 self-assigned this Sep 11, 2026
@Elvis020
Elvis020 merged commit fbf8693 into main Sep 11, 2026
5 checks passed
@Elvis020
Elvis020 deleted the feature/project-night-contact-action branch September 11, 2026 14:08
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