Is your feature request related to a problem? Please describe
There is no way for admins to manage executive team member profiles through the CMS. The executive team page requires structured data (name, role, photo, bio) that should be editable without code changes.
Describe the solution you'd like
Create an Executives collection at src/payload/collections/Executives.ts and register it in src/payload.config.ts.
Fields:
| Field |
Type |
Required |
Notes |
name |
text |
yes |
Full name |
role |
text |
yes |
e.g. "Co-President", "Treasurer" |
bio |
textarea |
no |
Short bio / description |
photo |
upload |
no |
relationTo: 'media' |
order |
number |
no |
For controlling display order on the frontend |
Access control:
| Operation |
Rule |
read |
Public (no login required) |
create / update / delete |
Admins only |
Describe alternatives you've considered
Hardcoding executive info in the frontend was considered, but a CMS collection allows the exec team to update their profiles each year without developer involvement.
Additional context
After creating the collection, run pnpm payload generate:types to regenerate payload-types.ts.
This collection has no dependencies on any other ticket.
Labels: feature, good first issue
BEFORE MERGING
Is your feature request related to a problem? Please describe
There is no way for admins to manage executive team member profiles through the CMS. The executive team page requires structured data (name, role, photo, bio) that should be editable without code changes.
Describe the solution you'd like
Create an
Executivescollection atsrc/payload/collections/Executives.tsand register it insrc/payload.config.ts.Fields:
namerolebiophotorelationTo: 'media'orderAccess control:
readcreate/update/deleteDescribe alternatives you've considered
Hardcoding executive info in the frontend was considered, but a CMS collection allows the exec team to update their profiles each year without developer involvement.
Additional context
After creating the collection, run
pnpm payload generate:typesto regeneratepayload-types.ts.This collection has no dependencies on any other ticket.
Labels:
feature,good first issueBEFORE MERGING
pnpm typegen)