Add peer support functionality and UI

This commit is contained in:
Jennie Robinson Faber 2025-10-06 11:29:47 +01:00
parent 2b55ca4104
commit 1b8dacf92a
11 changed files with 1159 additions and 35 deletions

View file

@ -63,6 +63,16 @@ const memberSchema = new mongoose.Schema({
lookingFor: String,
showInDirectory: { type: Boolean, default: true },
// Peer support settings
peerSupport: {
enabled: { type: Boolean, default: false },
topics: [String],
availability: String,
personalMessage: String,
slackUsername: String,
slackDMChannelId: String, // DM channel ID for direct messaging
},
// Privacy settings for profile fields
privacy: {
pronouns: {