Skip to content

Latest commit

 

History

History
203 lines (126 loc) · 16.3 KB

deferred.md

File metadata and controls

203 lines (126 loc) · 16.3 KB

Deferred Features

Features present in laddr or codeforphilly.org that are intentionally not in scope for the v1 rewrite. Listed here so the omission is documented, not accidental.

Categories:

  • Dropped — we don't plan to bring this back. Removing surface area is the point.
  • Deferred — we want it eventually, but not in v1.
  • Replaced — superseded by something elsewhere; the user need is met by another system.

When a deferred item is promoted, move it from this file into the relevant spec, update the data model if needed, and write the screen/API/behavior specs.

Dropped

Event check-ins (Meetup.com integration)

  • What: member_checkins table, /checkin endpoint, current-meetup card on the home page, "top members" list — all keyed by Meetup.com event IDs pulled live from Meetup's iCal feed.
  • Why: Meetup.com is being displaced, not integrated. Events now live on the site with their own RSVPs (behaviors/events.md), and the RSVP window stays open through the end of the event, which covers the "I'm here" case that check-ins served. The "top members" leaderboard is not coming back.
  • What replaces it: Site-native events and RSVPs, including the attendee list grouped by project that check-ins used to provide.

Big Screen mode (/bigscreen)

  • What: Live event status page meant for displaying on a projector at hack nights, showing live checkins and announcements.
  • Why: Only useful when in-person check-ins existed. If we restore some form of "who's here right now," big-screen can come back with it.

Multi-brigade extensibility

  • What: The laddr "extend" pattern via hologit overlays — other brigades cloning the platform and adding a thin customization layer.
  • Why: The user-base for this pattern collapsed over the last several years. Maintaining it adds significant complexity for zero current users. The rewrite is a single-tenant codeforphilly.org app. Other brigades who want this codebase fork it.

Localization (gettext)

  • What: _() wrapping every user-facing string, Spanish + Korean + Croatian translations.
  • Why: Translations are stale in laddr already, and the active user base is English-speaking. We design strings to be translatable (no inline concatenation, no string interpolation that breaks word order) but ship English only.

Twitter "tweet this" share buttons

  • What: RemoteSystems\Twitter::getTweetIntentURL(...) on project pages.
  • Why: X/Twitter's role in the civic-tech community has cratered; the share button is essentially a no-op. If we want share buttons, they should target the platforms the community actually uses (Mastodon/Bluesky/Slack/LinkedIn).

Discourse SSO forums

  • What: DiscourseSteering and DiscourseKids classes — SSO endpoints letting members log into separate Discourse instances.
  • Why: Both Discourse forums are essentially dormant; community discussion happens in Slack. If a forum is ever needed again, we'd set it up fresh with whatever SSO it natively supports.

Discourse → Slack webhook bridge

  • What: discourse-webhook.php posting new Discourse topics to Slack.
  • Why: Direct consequence of dropping Discourse SSO.

MailChimp newsletter integration

  • What: RemoteSystems\MailChimp + the newsletters/ directory.
  • Why: Newsletter authoring/sending no longer happens through the site; the team uses MailChimp's web UI directly. The site doesn't need to know about it.

"Drewm" / MailChimp PHP class

  • What: Bundled third-party MailChimp PHP wrapper.
  • Why: Goes with MailChimp integration.

Versioned record history (laddr's VersionedRecord)

  • What: laddr's VersionedRecord pattern that retained a full history of edits to projects and updates in history_projects / history_project_updates.
  • Replaced by: The gitsheets commit log itself — every record edit is a commit with author, timestamp, and diff. See behaviors/storage.md. No separate history tables needed.

Deferred

Private RSVPs

  • What: A way to RSVP without appearing on the public attendee list.
  • Why deferred: RSVP records live in the public data repo, and the attendee list is the feature (behaviors/events.md). A "hide me" flag on the public record would be a promise the storage can't keep.
  • When promoted: Keep the public record as the only thing the attendee list reads, and add a supplemental private RSVP record in the private store (behaviors/private-storage.md) for members who choose "RSVP privately". Private RSVPs count toward rsvpCount only as an aggregate ("14 going · 2 private"), receive the same confirmation and reminder emails, and never produce a public file. The reminder sweep would read both stores.

Event recurrence

  • What: "Every first Tuesday" rules that generate occurrences.
  • Why deferred: One explicit record per occurrence (duplicate-and-adjust) is the stated principle in behaviors/events.md. Revisit only if staff are visibly burned by monthly duplication.

Event capacity, waitlists, and guests

  • What: A cap on RSVPs with a waitlist, and "+1" guest counts.
  • Why deferred: Hack nights don't sell out. Adding a cap would also need a waitlist promotion email and a "spot opened" flow; the shape is obvious when a venue imposes a limit.

Event cover images

  • What: A banner image per event on cards and the detail page, as Meetup shows.
  • Why deferred: Needs the general attachment-upload path; cards read fine with the date block. Add imageKey on Event when wanted, served like featuredImageKey.

Event announcements to Slack

  • What: Post to #announcements (or a configured channel) when an event is published, and a reminder when it's a day out.
  • Why deferred: Depends on the Slack posting integration that #195 is re-evaluating. The publish and reminder hooks in behaviors/events.md are the obvious attachment points.

Calendar grid view and event search

  • What: A month-grid rendering of /events; events in the header typeahead.
  • Why deferred: With roughly one event a month, the grouped list is denser and clearer, and the webcal:// feed puts events in the member's own calendar. Promote if the list outgrows a screen.

Review of new projects

  • What: New projects held (hidden, or in a staff queue) until a person looks, before they appear in the directory.
  • Why deferred: Out of scope for the membership redesign by the operator's decision. Project creation, not joining, is where most spam has come from since cutover, so this is the likely next step; project-membership.md closes the join path only.

Per-project "not taking applications" switch and admin email preferences

  • What: A project-level toggle that turns Apply off while admins exist, and a per-admin, per-project mute for application emails.
  • Why deferred: Closing needs and the no-active-admin state cover the common cases; add when admins ask. Today every active admin gets every application email.

Decisions from Slack beyond applications

  • What: Using the same verified Slack link and on-behalf-of pattern for other admin acts (stale-need reminders answered in Slack, staff review of new projects, the spam queue).
  • Why deferred: Each act needs its own scope and spec change (authorization.md); applications are the first.

Denial email for account-claim requests

  • What: Emailing the requester the staff note when a claim request is denied (api/account-claim.md).
  • Why deferred: A pre-onboarding request stores no address for the requester, only the contact they wrote in their evidence. Sending one means keeping the requester's verified GitHub email on the request first. Until then staff reply through that contact, and the queue screen says so.

Project comments

  • What: Inline comments on project pages (the Comment::class references in laddr's Project model). Largely commented-out in the template even in laddr — the feature was half-built.
  • Why deferred: Slack is where conversations happen. If commenting is ever wanted on-site, it should be designed deliberately.

Cached GitHub README on project pages

  • What: When a project's developersUrl is a GitHub repo, periodically fetch the repo's README and display it on the project page alongside the on-site overview field.
  • Why deferred: Useful but secondary; needs spec work on cache invalidation, rate-limit handling, and how the two prose sources are visually distinguished on the page.
  • When promoted: Add a githubReadmeCache field on Project (markdown, derived from developersUrl when it's a github.com URL), plus a periodic sync job. The on-site overview field and the cached GitHub README are different things and both displayed.

Project activity from GitHub

  • What: Surface recent commits / merged PRs / releases on the project page.
  • Why deferred: Polish. Adds an external dependency and webhook plumbing.

CSV / JSON export of projects directory

  • What: laddr's /projects.csv endpoint, used by Code for America's cfapi.
  • Why deferred: Code for America's national project aggregator is itself dormant. If it comes back or another aggregator needs us, we restore the CSV endpoint trivially — it's just a different content-type on the projects list.
  • When promoted: Add ?format=csv to the projects list endpoint per api/conventions.md.

RSS feeds

  • What: laddr's /project-updates?format=rss and per-project RSS variants.
  • Why deferred: Same as CSV — useful, easy to restore, no current consumer that we know of.

Search across content

  • What: The site-wide search box hits projects, people, content. v1 ships a projects-only search (it's the most common query).
  • Why deferred: Multi-entity search needs a proper indexer (Postgres FTS or Meilisearch). Projects search is doable with tsvector columns; broader search comes later.

Newsletter sending pipeline

  • What: A flow that takes a composed newsletter (subject, markdown body) and sends it to all opted-in subscribers via Postmark (the transactional provider the notifier already uses — see architecture.md).
  • Why deferred: v1 stores subscription state in PrivateProfile.newsletter (see data-model.md and behaviors/private-storage.md) so staff can CSV-export the active subscriber list to whatever sending tool they currently use (MailChimp web UI, etc.). The send-from-the-site pipeline is a follow-up spec when there's an active newsletter author committed to using it.
  • When promoted: Spec a /api/newsletter/send endpoint with admin auth, a Postmark-backed worker, unsubscribe-link generation off the existing PrivateProfile.newsletter.unsubscribeToken, delivery + bounce tracking.

connectors/ ingestion

  • What: Various ingestion endpoints in codeforphilly.org/site-root/connectors/.
  • Why deferred: Need to enumerate exactly what's there during cutover. Some may be dead, some may need reimplementation.

Replaced

"Powered by laddr" footer credit

  • What: Footer link from project pages out to laddr.us.
  • Replaced by: A simple "open source — view this site on GitHub" link to the rewrite repo. Self-promotion of the platform stops mattering once we're not pitching laddr to other brigades.

Bootstrap 4 + jQuery widgets

  • What: Modal dialogs, dropdowns, tooltips, the EpicEditor markdown component.
  • Replaced by: shadcn/ui equivalents (Dialog, DropdownMenu, Tooltip) plus a modern markdown editor (TBD: @uiw/react-md-editor or a CodeMirror 6 setup with the markdown lang). Component selection lives in the implementation, not in a spec.

Habitat + Emergence runtime

  • What: The entire PHP/Emergence/Habitat layer cake.
  • Replaced by: Node 22 + Fastify + gitsheets in a single container image, as described in architecture.md.

Blog (/blog) as a user-facing CMS

  • What: Long-form posts via Emergence CMS's BlogPost class — a database-backed editor inside the site, available to a user role.
  • Replaced by: A content-typed gitsheets sheet (.gitsheets/blog-posts.toml with [gitsheet.format] type = 'markdown' body = 'body') — on-disk artifacts are Hugo-style markdown files (+++ TOML frontmatter + body), one per slug, served via GET /api/blog-posts + the existing in-memory state machinery. Writes happen via PR to the data repo. See api/blog.md, screens/blog-index.md, screens/blog-detail.md, data-model.md → BlogPost.
  • Why: Post velocity has been near-zero for years; a database-backed CMS with user logins is overkill. Markdown bodies in a content-typed sheet keep the PR-review ergonomics of files-in-code-repo while sitting on the same runtime + import pipeline as the rest of the data model. Authors get attribution via authorId, posts ride the data snapshot, and the API serves through the existing in-memory state with no Vite-bundle bloat for the index. The original "files in apps/web/src/content/blog/" replacement was drafted before gitsheets v1.2 made content-typed records viable; that approach is superseded by this one.
  • Status: Initial implementation landed via #84 — full bodies loaded at boot. Lazy body loading (queryAll({ withBody: false })) and the richer reader experience are tracked in #45.

Email/password account creation (sign-up)

  • What: laddr's email + password sign-up flow.
  • Replaced by: GitHub OAuth as the only path to create a new account.
  • Why: Spam/scam load on the laddr sign-up form was unmanageable even with recaptcha. GitHub-account-creation friction filters bad actors meaningfully better. The audience (civic-tech volunteers) overwhelmingly already has a GitHub account.
  • What about existing laddr users? They keep their password sign-in path indefinitely — see behaviors/account-migration.md. The spam argument applies to new-account creation, not to existing users who already cleared whatever bar they cleared on laddr. A persistent banner on /account encourages (but doesn't require) linking a GitHub account; sunset of password sign-in for migrated users is deferred — no fixed deadline today.

MySQL / any persistent relational database

  • What: Storing application data in a long-running OLTP — MySQL today, considered Postgres in an early version of the spec.
  • Replaced by: gitsheets — TOML records in a git repo, mirrored to GitHub. The whole corpus loads into memory on boot; queries are JS operations against typed in-memory structures; full-text search runs in a throwaway in-memory SQLite FTS5 index rebuilt at boot. See behaviors/storage.md.
  • Why: At civic scale (low thousands of records), the cost of operating a separate persistent database doesn't pay for itself. The gitsheets backend wins on: contributor onboarding (no DB to install), free audit trail (every mutation is a commit with author + message), trivial backup (git push), and propose-review-flow potential (git branches as edit sessions). Tradeoffs accepted: single-replica only, mutations serialized in-process, search index rebuilt at boot.
  • Trigger to revisit: Adoption growth past low-tens-of-thousands of records, or a hard requirement for multi-writer concurrency, would push us toward Postgres for some subset of entities. v1 ships gitsheets-only.

Hologit layer composition

  • What: .holo/ overlay system letting codeforphilly.org customize laddr without forking.
  • Replaced by: Direct authorship in this single repo. The customization that lived in codeforphilly.org is now first-class content (home page, volunteer page, sponsor page) within apps/web/src/pages/.