Skip to content

feat: Add Short Location Description field to Region editor#156

Draft
Copilot wants to merge 3 commits intodevfrom
copilot/add-short-location-description-field
Draft

feat: Add Short Location Description field to Region editor#156
Copilot wants to merge 3 commits intodevfrom
copilot/add-short-location-description-field

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 24, 2026

Regions lacked a freeform location label (e.g. "Denver, CO") stored in orgs.meta. Adds an optional Short Location Description field to the Region editor modal that persists to meta.region_location_short_description.

Changes

  • packages/shared/src/app/types.ts — Added region_location_short_description?: string to OrgMeta type
  • admin-regions-modal.tsx
    • Extended form schema with optional regionLocationShortDescription field
    • Reads from region.meta.region_location_short_description on load/reset
    • On submit, merges trimmed value back into meta; clears the key when field is empty (undefined is stripped from JSON serialization)
    • Adds half-width input field paired alongside "Last Annual Review"
meta: {
  ...rest.meta,
  region_location_short_description:
    regionLocationShortDescription?.trim() || undefined,
},
Original prompt

This section details on the original issue you should resolve

<issue_title>feat: Add Short Location Description field to Region editor</issue_title>
<issue_description>### Describe the feature you'd like to request

People like to manually indicate where their region is location. For instance "Denver, CO". This could be searchable and to give people an idea of about where a region is.

Describe the solution you'd like to see

Since this is only applicable to regions, and not all orgs, can you please add a field to the Region editor in Admin Portal called "Short Location Description". You should save the value to the orgs.meta json field in a property called region_location_short_description. It is an optional field, not required.

Additional information

No response</issue_description>

Comments on the Issue (you are @copilot in this section)

@pstaylor-patrick noted as blocking https://github.com/F3-Nation/f3-region-pages/issues/59

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: taterhead247 <26818765+taterhead247@users.noreply.github.com>
Copilot AI changed the title [WIP] Add Short Location Description field to Region editor feat: Add Short Location Description field to Region editor Feb 24, 2026
Copilot AI requested a review from taterhead247 February 24, 2026 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Draft

Development

Successfully merging this pull request may close these issues.

feat: Add Short Location Description field to Region editor

2 participants