Skip to content

feat: create custom fields for projects#6737

Merged
Zaimwa9 merged 50 commits intomainfrom
feat/create-custom-fields-for-projects
Mar 3, 2026
Merged

feat: create custom fields for projects#6737
Zaimwa9 merged 50 commits intomainfrom
feat/create-custom-fields-for-projects

Conversation

@Zaimwa9
Copy link
Contributor

@Zaimwa9 Zaimwa9 commented Feb 19, 2026

Thanks for submitting a PR! Please check the boxes below:

  • I have read the Contributing Guide.
  • I have added information to docs/ if required so people know about the feature.
  • I have filled in the "Changes" section below.
  • I have filled in the "How did you test this code" section below.

Changes

Closes #4733

Implements the frontend to create and manage project-level custom fields (taking precedence over organisation fields)

  • Following nesting model_fiels, replaced the 2 requests + merge approach with a single call to projects/{id}/metadata/fields/
  • Removed mergeMetadataFields 😌
  • added getProjectMetadataFieldList with pagination
  • added project to create project-scoped custom fields
  • ProjectSettings custom fields page now shows organisation custom fields (read only) and a new project-related custom fields table
  • project_custom_fields flag to hide the custom fields table for now

How did you test this code?

image image

https://www.loom.com/share/5747526237e64f95b45683f251fc04ad

Zaimwa9 and others added 30 commits February 4, 2026 18:21
…th/flagsmith into feat/support-project-level-custom-fields
…:Flagsmith/flagsmith into feat/create-custom-fields-for-projects
…th/flagsmith into feat/support-project-level-custom-fields
…:Flagsmith/flagsmith into feat/create-custom-fields-for-projects
…:Flagsmith/flagsmith into feat/create-custom-fields-for-projects
…:Flagsmith/flagsmith into feat/create-custom-fields-for-projects
talissoncosta
talissoncosta previously approved these changes Feb 24, 2026
Copy link
Contributor

@talissoncosta talissoncosta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for handling that @Zaimwa9

Base automatically changed from feat/support-project-level-custom-fields to main February 25, 2026 10:48
@Zaimwa9 Zaimwa9 dismissed talissoncosta’s stale review February 25, 2026 10:48

The base branch was changed.

@Zaimwa9 Zaimwa9 requested a review from a team as a code owner February 25, 2026 10:48
@Zaimwa9 Zaimwa9 requested review from emyller and removed request for a team February 25, 2026 10:48
@Zaimwa9
Copy link
Contributor Author

Zaimwa9 commented Feb 26, 2026

@talissoncosta heads-up here that I will remove the feature flag because:

  • It lost its interest following refactoring the requests (it's not gating the requests)
  • it's mostly an enterprise feature, and it would add friction to FoF users to have to activate it themselves

@talissoncosta
Copy link
Contributor

could you please fix the conflicts @Zaimwa9 ?

@talissoncosta
Copy link
Contributor

talissoncosta commented Mar 2, 2026

Hey @Zaimwa9! Great work on it.

I just noticed some type inconsistencies with projectId and organisationId across the metadata components. I created a follow-up PR to clean them up: #6817

@Zaimwa9 Zaimwa9 merged commit 5d2baa3 into main Mar 3, 2026
27 checks passed
@Zaimwa9 Zaimwa9 deleted the feat/create-custom-fields-for-projects branch March 3, 2026 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request front-end Issue related to the React Front End Dashboard

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add the ability to create custom fields for a specific project

3 participants