Skip to content

refactor: create feature migration#6925

Open
kyle-ssg wants to merge 332 commits intomainfrom
chore/create-feature-migration-continued
Open

refactor: create feature migration#6925
kyle-ssg wants to merge 332 commits intomainfrom
chore/create-feature-migration-continued

Conversation

@kyle-ssg
Copy link
Member

@kyle-ssg kyle-ssg commented Mar 11, 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

Migrates all tabs including the create feature modal itself to TypeScript, no type errors to do with creating / editing a feature and also reduces the feature modal by ~1200 LoC.

Migrates a few components to ES export

How did you test this code?

  • E2E was extended to cover more of the feature management process specifically for this PR
  • Created / edited features in production

kyle-ssg and others added 30 commits November 4, 2025 13:57
Co-authored-by: Zaimwa9 <wadii.zaim@flagsmith.com>
Co-authored-by: Zaimwa9 <wadii.zaim@flagsmith.com>
…ent-feature-state-view

# Conflicts:
#	frontend/web/components/modals/AssociatedSegmentOverrides.js
# Conflicts:
#	frontend/web/components/feature-summary/FeatureTags.tsx
#	frontend/web/components/pages/UserPage.tsx
…ent-feature-state-view

# Conflicts:
#	frontend/common/stores/feature-list-store.ts
#	frontend/web/components/modals/AssociatedSegmentOverrides.js
#	frontend/web/components/segments/Rule/components/RuleConditionValueInput.tsx
@talissoncosta talissoncosta force-pushed the chore/permission-types branch from fe307fc to d77370d Compare March 18, 2026 11:49
Base automatically changed from chore/permission-types to main March 18, 2026 16:02
# Conflicts:
#	frontend/common/constants.ts
#	frontend/common/providers/Permission.tsx
#	frontend/common/types/permissions.types.ts
#	frontend/common/utils/utils.tsx
#	frontend/web/components/RolesTable.tsx
#	frontend/web/components/ServerSideSDKKeys.js
#	frontend/web/components/import-export/ImportPage.tsx
#	frontend/web/components/modals/CreateSegmentRulesTabForm.tsx
#	frontend/web/components/modals/create-feature/index.js
#	frontend/web/components/modals/create-feature/tabs/CreateFeatureTab.tsx
#	frontend/web/components/modals/create-feature/tabs/FeatureSettingsTab.tsx
#	frontend/web/components/modals/create-feature/tabs/FeatureValue.tsx
#	frontend/web/components/navigation/navbars/ProjectNavbar.tsx
#	frontend/web/components/pages/IntegrationsPage.tsx
#	frontend/web/components/pages/OrganisationIntegrationsPage.tsx
#	frontend/web/components/pages/UsersAndPermissionsPage.tsx
#	frontend/web/components/pages/UsersPage.tsx
#	frontend/web/components/pages/features/components/FeaturesPageHeader.tsx
@kyle-ssg
Copy link
Member Author

Good spot RE those @talissoncosta. I think we need to sort this out project-wide, more things are starting to use environment.id vs api_key. We should start a convention that explicitly states environmentAPIKey rather than environmentId in the cases we're using the api_key string.

I'll take a look at tackling this in a followup PR separate to this.

Replace manual _data.get() calls and useCallback paging logic with
useGetIdentityOverridesQuery and useCreateIdentityOverrideMutation.
Permission check for edge identities now uses useHasPermission hook.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Vertically align Edit and delete buttons
- Move enabled switch to right of remote config value
- Add margin to identifier and Edit button
- Trigger FeatureListStore saved event on create/delete to refresh FeaturesPage

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

front-end Issue related to the React Front End Dashboard refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants