ghostguild-org/server/api/members
Jennie Robinson Faber 9577929e0d refactor(peer-support): delete provably dead code (Phase 1)
The Skills Exchange + Peer Support feature was replaced by Community
Connections on 2026-04-05, but several files and code paths were left
in place as backward-compat. None are reachable from the live UI:

- usePeerSupport.js composable: not imported anywhere
- PeerSupportBadge.vue: not imported anywhere
- peer-support.vue: stub redirect with no incoming links
- /api/peer-support.get.js: only consumed by usePeerSupport
- /api/members/me/peer-support.patch.js: same
- profile.patch.js offering/lookingFor write branches: profile form
  no longer sends these fields (only writes communityConnections.*)
- PEER_SUPPORT_ENABLED/DISABLED activity types and renderers: only
  written by the deleted peer-support.patch endpoint. The activityText
  formatter has a fallback for unknown types so existing records
  still display ("peer support enabled" with a generic icon).

Tests updated to drop peerSupportUpdateSchema coverage and the
offering/lookingFor passthrough assertion.

schemas.js cleanup deferred — concurrent communityConnections →
communityEcology rename is in flight in the working tree.
2026-04-08 22:28:35 +01:00
..
[id] Tests, UX improvements. 2026-04-05 14:25:29 +01:00
me refactor(peer-support): delete provably dead code (Phase 1) 2026-04-08 22:28:35 +01:00
[id].get.js Huge bunch of UI/UX improvements and tweaks! 2026-04-06 16:17:12 +01:00
cancel-subscription.post.js refactor(members): use helcim helper + fix wrong card-lookup URL 2026-04-08 22:03:42 +01:00
create.post.js Huge bunch of UI/UX improvements and tweaks! 2026-04-06 16:17:12 +01:00
directory.get.js feat: add craft tags and community connections to directory and profiles 2026-04-05 16:40:10 +01:00
my-calendar.get.js fix: use private helcimApiToken for all server-side Helcim API calls 2026-04-04 13:37:34 +01:00
my-events.get.js fix: use private helcimApiToken for all server-side Helcim API calls 2026-04-04 13:37:34 +01:00
profile.patch.js refactor(peer-support): delete provably dead code (Phase 1) 2026-04-08 22:28:35 +01:00
update-circle.post.js Tests, UX improvements. 2026-04-05 14:25:29 +01:00
update-contribution.post.js refactor(members): use helcim helper + fix wrong card-lookup URL 2026-04-08 22:03:42 +01:00
update-email.post.js Tests, UX improvements. 2026-04-05 14:25:29 +01:00