Skip to content

[People · Cleanup] Disconnect Soci, fees, receipts and census in the People dashboard, keeping them as mockups #138

Closed

Description

@toto04

Why

The People area merged in #97 and #100 puts three unrelated things in one place:

  • Group Admins, Capo Admins and Team members: Phase 1;
  • Soci and association fees: Phase 2;
  • the census: Phase 3.

What we decided (see the roadmap #146):

None of this is used in production, and the People tables hold only test data, so we remove these parts instead of migrating them.

Approach: keep the later phases' pages as unconnected mockups

The Soci, fee, receipt and census pages stay in the dashboard as UI mockups so they can still be shown, but they no longer talk to the backend:

Their real functionality is removed: server functions, backend calls and contract entries.

What to disconnect (mockup only)

  • Soci / member register: members-page.tsx, member-dialogs.tsx, route people/members.tsx. Remove people-members.functions.ts.
  • Fees and receipts: receipts-page.tsx, receipt-dialogs.tsx, fee-dialogs.tsx, my-fee-card.tsx, route people/receipts.tsx. Remove people-fees.functions.ts, people-receipts.functions.ts, receipt-files.server.ts and the backend-facing parts of people-fees.ts / people-files.ts.
  • Census: census-page.tsx, census-answers-dialog.tsx, import-wizard.tsx, routes people/census/*, and the census parts of My area. Remove people-census.functions.ts and census-import.server.ts.
  • Visibility: the mockups are gated by people:read, not by the permissions deleted in [People · Cleanup] Delete the Soci, fee and receipt permissions from the production IdP auth#77.

What to remove outright

  • eSign receipt provenance. eSign is a real feature, so this integration goes:

    • src/features/esign/receipt-request-link.tsx and receipt-source.ts;
    • the peopleReceipt branches in request-page.tsx, requests-page.tsx, batch-page.tsx, esign.functions.ts and src/lib/api/types.ts.

    Keep the shared PDF viewer improvements from feat(people): add fee renewal and signed receipts #100.

  • Telegram group leftovers (group admins aren't tracked anymore since feat(auth)!: drop better-auth and the legacy permission tables (RFC v3 Phase 6) backend#93):

    • Telegram group columns and selections from Admins, Capo Admin, the person page and My area;
    • Capo Admin join-request approve/decline.

    feat(people)!: add Auth-backed people before login and align role views #136 already did most of this.

  • Record matching:

    • Linking: the two-record review queue, its resolve/dismiss actions and merging;
    • My area: "Is this you?" confirm/reject.
  • Permissions: people:members:read, people:members:write, people:fees:write, people:receipts:sign in src/server/permissions.ts, auth.middleware.ts, navigation and routes/dashboard.tsx.

  • Contract and agent mode: remove the matching procedures and data from people.contract.ts, people.api.server.ts, people.fake.server.ts and people.fixtures.server.ts. The mockups' static data lives on its own, separate from the contract.

  • Docs and tests:

    • Mark docs/people/fees.md and the Soci, fee and census sections of the docs as describing an unconnected mockup.
    • Remove the receipt section of docs/esign/contracts.md.
    • Remove the tests of functionality that's gone.

What stays (the base for Phase 1)

Overview, the person page, Admins, the Capo Admin area, Teams, Linking (invites and manual links) and My area (roles only), plus the shared primitives added by #97. Phase 1 changes how these work; this issue only removes.

The Azure section (azure:members:*) isn't touched. It stays the only way to admit a socio.

Done when

  • The mockup pages are visibly marked, work in agent mode and production alike, and make no backend call.
  • The dashboard no longer calls people.members.*, people.fees.*, people.receipts.*, people.census.*, people.linking.reviews/resolve/dismiss, people.capo.approve/decline, or people.me.confirmMatch/rejectMatch/answerCensus/requestCorrection/revokePhotoConsent/uploadTransferReceipt/receipt.
  • Check, typecheck, tests and build pass, and agent mode still opens every remaining People page.
  • Deployed before the backend cleanup [People · Cleanup] Remove Soci, fees, receipts, census and record matching from the People API backend#100, so the dashboard never calls a removed procedure.

Activity

  1. added
    peoplePeople: Group Admins, Capo Admins, Teams, Soci and census (see the People roadmap)
    on Oct 29, 2026
  2. added theissue type on Oct 29, 2026
  3. coderabbitai commented on Oct 29, 2026

    @coderabbitai
    Contributor
    🔗 Related PRs

    #132 - feat(people): show records filled from PoliNetwork Auth and Microsoft 365 [open]
    #137 - feat(mcp): add downloadable admin MCP with personal OAuth access [open]


    📝 Issue Planner

    Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

    • Create Plan

    🧪 Issue enrichment is currently in open beta.

    You can configure auto-planning by selecting labels in the issue_enrichment configuration.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false

    💬 Have feedback or questions? Drop into our discord!

  4. changed the title [-][People · Cleanup] Remove Soci, fees, receipts, census and record matching from the People dashboard[/-] [+][People · Cleanup] Disconnect Soci, fees, receipts and census in the People dashboard, keeping them as mockups[/+] on Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    peoplePeople: Group Admins, Capo Admins, Teams, Soci and census (see the People roadmap)

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions