← Planning Hub

Go-Live Checklist

The canonical, consolidated list of everything that was deliberately limited / hidden before launch. Anything built "admin-only for now" should be added here.

✓ Launched May 28, 2026 — the portal is now fully public. All the launch gates below (§1 Payments, §2 Homepage features incl. the public /donate page and /calendar) were flipped and deployed to production. What remains is §4 (Brett-side, no code): apply for Stripe nonprofit pricing (§4a) and send the member announcement (§4b). The “how the gates worked” note below is kept as historical reference.
How the gates worked before launch (historical):
  • Homepage features (Donate CTAs, "Upcoming Events" area) are CSS-hidden by the classes .donate-cta and .admin-only in styles.css, and revealed only when index.html's auth handler adds body.tl-admin — which it does only when the signed-in user's users/<uid>.role === 'admin'.
  • Dashboard pages (planning, admin tools, donate, payments) gate via requireAdmin() from dashboard/admin-common.js (client redirect) plus Firestore rules.
  • Payments are open to admin + leader (leaders are the live-test cohort) via server-side verifyAuth checks and client-side // TEMPORARY gates — see §1.
  • Announcements: Firestore rules already let admins/leaders read unpublished drafts and block everyone else — that's permanent, not a launch gate (see §5).

1 · Payments — open the gates from admin+leader to all members

✓
Flip the three // TEMPORARY gates — shipped May 28, 2026
Done. Dues + event-fee payments are now open to any signed-in member (and donations are open to anyone, no login — see §2c). The server gate in createCheckoutSession now uses verifyAuth(req, null) for dues/event-fee and an optional-auth path for donations; the client gates in family.js and rsvp.js were removed. Historical detail — this restricted dues + event-fee payments to admin + leader (leaders shook it down with real cards). To open to all members, the role restriction was removed in three places:
  • functions/index.js → createCheckoutSession (~line 810): drop the role array from verifyAuth on the dues and event-fee branches (the one-off branch is already public). Redeploy the function.
  • dashboard/family.js → renderDuesBlock: remove the role guard so all members see "Pay Dues".
  • rsvp.js → renderForm: remove the (hasFees && !isAdmin && !state.existingRsvp) gate so members can pay event fees.
One focused commit + redeploy. Full detail (current code values) is on the Payments Rollout → Blocking before going live page.

2 · Homepage features built "admin-only for now"

✓
Donate CTAs → make public — shipped May 28, 2026
The "Donate" nav link, the "Support Grace Trail Life" band (above the "Ready to Hit the Trail?" CTA), and the footer link — all class donate-cta in index.html, hidden by the .donate-cta rules in styles.css until body.tl-admin. To go public: remove the .donate-cta { display:none } / body.tl-admin … .donate-cta rules in styles.css (so the elements always show). Do this together with §2c — the CTAs currently point at dashboard/donate.html, which is itself admin-only, so they're useless until the donate page is public; repoint them to /donate at the same time.
✓
"Upcoming Events" area → make public — shipped May 28, 2026
The #upcoming-events section in index.html (class section admin-only) shows the next three events. To go public:
  • Remove the admin-only class from the <section> (and remove the "Admin preview — visible to admins only for now" text from its <p class="section-lead">).
  • In the "Upcoming Events" IIFE: remove the admin check (the if (!_user) return; + the role lookup) so it loads for everyone. It already filters out leadership (leaders-only) events, so it's safe to show publicly.
  • Change the empty case to hide the section if there are no upcoming events (right now it shows "No upcoming events on the calendar" for the admin preview — the public shouldn't see that).
✓
Public /donate landing page — shipped May 28, 2026
Done. Church approval is in hand. Rather than build a new page, we reused the existing donate form: a public donate.html at the site root loads the same dashboard/donate.js (made auth-tolerant — no redirect, donor prefill only when signed in) + the dashboard CSS, with a public top bar instead of the dashboard chrome. cleanUrls already maps /donate → donate.html (no rewrite needed), and the type: 'donation' backend branch already existed — it was opened to anonymous callers (optional auth). Anonymous donors get standard-rate fee estimates (org_settings stays login-only); revisit if §4a nonprofit pricing lands. The dashboard donate page stays for admins. Historical plan:
  • Create donate.html at the site root (public version — clean public hero rather than the dashboard chrome would be nicer; the dashboard one can stay for admin testing or be retired).
  • Add a Firebase rewrite /donate → /donate.html in firebase.json (mirrors /pay/<token>).
  • Drop the auth gate in the donate-page JS.
  • Repoint the homepage Donate CTAs (§2a) and any other links from dashboard/donate.html to /donate.
  • Build the page's content sections — the "Where Your Donation Goes" categories + tax-deductibility note + value prop — see Payments Rollout → Phase 4.
  • Backend: add the type: 'donation' branch to createCheckoutSession with the "cover the processing fee" math — again, Payments Rollout → Phase 4.
Note: church approval has been granted — the public donate page is live.
✓
Public /calendar page → make public — shipped May 28, 2026
A public read-only semester view lives at calendar.html (with schedule.html redirecting to it). Today the page renders a "Calendar Coming Soon" placeholder to everyone and reveals the actual semester view only when calendar.js adds body.tl-cal-admin (= signed-in user with role === 'admin'). To go public:
  • In calendar.js: remove the admin check in onAuthStateChanged — just add body.tl-cal-admin unconditionally after tl-cal-ready, then call loadEvents() + renderSemester() + wireControls() regardless of role. (Or rename the class to drop the "admin" connotation.)
  • In calendar.html: remove the "Admin Preview" banner inside #semesterView.
  • In styles.css: remove the .calendar-cta hide rules so the Calendar nav + footer links always show on the homepage. (The link itself is already there — gated only by .calendar-cta + body.tl-admin.)
  • Optionally remove the "Calendar Coming Soon" block from calendar.html once events are loaded for everyone — it becomes dead code.
Events themselves already have public Firestore read access, and leader-only event types (type: "leadership") are filtered out client-side — same pattern as the homepage Upcoming Events area in §2b.

3 · Stays admin-only on purpose (not a launch gate — here so it's not confused for one)

—
Draft-announcement visibility on the homepage
Admins see unpublished announcements in the homepage "News & Announcements" list (with a "Draft" badge); the public and regular members see only public ones. That's the intended permanent behavior — do not change at launch. (Firestore rules already enforce the read side.)
—
Leadership-only events on the homepage
type: "leadership" events are excluded from both homepage event surfaces (the Upcoming Events list and the featured popup) for everyone, admins included. Permanent — leaders-only events should never surface on the public homepage.

4 · Brett-side tasks (no code)

4a
Apply for Stripe nonprofit pricing
Email Stripe Support with the IRS determination letter. Drops card fees from 2.9% + $0.30 → 2.2% + $0.30. Once approved, update the fee percentage in Org Settings — no code change (fees are configurable).
4b
Member announcement
Once the gates flip, send a Send Broadcast announcement walking members through: how to pay dues · where to find My Payments / receipts · the donation page · the scholarship request form.
When you add a new "admin-only for now" thing, add it here. Search the codebase for body.tl-admin, .admin-only, .donate-cta, requireAdmin, and // TEMPORARY to find the gates.