Skip to content

feat(events): launch public event submission entry points - #44

Merged
Elvis020 merged 1 commit into
mainfrom
feature/public-event-submission-cta
Aug 21, 2026
Merged

feat(events): launch public event submission entry points#44
Elvis020 merged 1 commit into
mainfrom
feature/public-event-submission-cta

Conversation

@Elvis020

@Elvis020 Elvis020 commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Summary

Make the existing public event-submission flow discoverable on the DevCongress website, improve its navigation safety, and consolidate the two remaining dependency PRs into the same delivery.

User-facing changes

  • Add a compact Submit an event action beside All Events in the homepage Events section.
  • Place the Events-page action beside Add to Google Calendar on desktop and stack both actions at the same 280px width on mobile.
  • Keep Add to Google Calendar pink and render Submit an event in yellow for a clear, brand-consistent action hierarchy.
  • Add the Events page's ← Home navigation pattern to the submission form, returning visitors directly to the homepage Events section.
  • Warn visitors before that Home navigation discards event details they have started entering; clean forms navigate immediately.
  • Render both submission entry points only when PUBLIC_EVENT_SUBMISSIONS_ENABLED is true.
  • Make the enabled submission form indexable while preserving the disabled redirect to the Events page.

Dependency and deployment maintenance

Implementation notes

  • The website build flag controls both route availability and CTA visibility.
  • The guarded Home link reuses the form's existing unsaved-changes dialog and draft cleanup path.
  • No Events Management System source changes are included; its runtime intake and discovery gates remain independent.
  • The launch-control documentation reflects the public entry points and fail-closed behavior.

Verification

  • pnpm install --frozen-lockfile
  • Disabled production build: CTAs absent and submission route redirects with noindex
  • Enabled production build: both CTAs present and submission form emits index, follow
  • Headless Chrome: compact homepage CTA; paired desktop header actions; equal 280px mobile action widths; pink/yellow colors; Home link visibility; clean and dirty navigation paths verified against /#events
  • pnpm audit --audit-level moderate: no known vulnerabilities
  • Enabled pnpm deploy:dry-run: successful Worker asset build with Wrangler 4.123.0
  • git diff --check

Supersedes #42 and #43.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 20, 2026

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 3c1d758 Commit Preview URL

Branch Preview URL
Aug 21 2026, 08:19 AM

@Elvis020
Elvis020 force-pushed the feature/public-event-submission-cta branch from 37e7008 to 3b7fea4 Compare August 20, 2026 21:34
@Elvis020
Elvis020 requested a review from bubunyo August 20, 2026 21:40
@Elvis020
Elvis020 force-pushed the feature/public-event-submission-cta branch 2 times, most recently from ea08c54 to 3975eb0 Compare August 21, 2026 07:32
- Expose a compact, feature-gated Submit an event action in the homepage Events section and beside Add to Google Calendar on the Events page.
- Keep Add to Google Calendar pink and use yellow for the Events-page submission action to preserve the intended visual hierarchy.
- Stack the paired Events-page actions at the same 280px width on mobile.
- Add an Events-style Home link to the submission form that returns to the homepage Events section and warns before discarding entered details.
- Keep the disabled state fail-closed, make the enabled submission form indexable, and document the public launch behavior.
- Fold in Dependabot PRs #42 and #43 by updating pinned deployment actions, Astro, Workers types, Wrangler, and the lockfile.

Verification:
- pnpm install --frozen-lockfile
- PUBLIC_EVENT_SUBMISSIONS_ENABLED=false pnpm build, with hidden CTAs and redirect output verified
- PUBLIC_EVENT_SUBMISSIONS_ENABLED=true pnpm build, with both CTAs and indexable form output verified
- Headless Chrome verified the compact homepage CTA, paired desktop header actions, equal 280px mobile action widths, pink/yellow colors, Events-style Home link, #events destination, and guarded dirty-form navigation
- pnpm audit --audit-level moderate
- PUBLIC_EVENT_SUBMISSIONS_ENABLED=true pnpm deploy:dry-run
- git diff --check
@Elvis020
Elvis020 force-pushed the feature/public-event-submission-cta branch from 3975eb0 to 3c1d758 Compare August 21, 2026 08:19
@Elvis020
Elvis020 merged commit e21dd72 into main Aug 21, 2026
5 checks passed
@Elvis020
Elvis020 deleted the feature/public-event-submission-cta branch August 21, 2026 09:38
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