UI: Export/Import single feature configurations (JSON/Clipboard) for easy cross-environment migration

Ouverte
#7,072 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
5/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
35/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Calme
Domaine
frontend

Piste de recherche

Aucun fichier, test ou point d’entrée n’est indiqué. Commencez par localiser le détail de la feature et l’UI de création de features, puis suivez la manière dont les champs de la feature et les remplacements de segment sont chargés et enregistrés ; le travail est terminé lorsque les utilisateurs peuvent examiner, exporter, importer et enregistrer une configuration complète entre les environnements.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

Is your feature request related to a problem?

Currently, our developers are seriously struggling with the existing UI when trying to migrate complex feature flags across environments (or to isolated local instances).

It is extremely hard and time-consuming for them to manually recreate a feature flag, especially when it involves multiple segment overrides. For example, if a developer creates a new feature in a Development environment that includes 5 specific segment overrides, moving that exact configuration to Production requires manually recreating the feature, the values, and clicking through to rebuild all 5 segment overrides from scratch.

This manual "copy-paste" operation across different browser tabs or instances is not only tedious and painful for the team, but it is also highly error-prone. One typo in a segment rule during manual copying can easily break production logic.

Describe the solution you'd like.

We would like a simple "Export/Import" capability built directly into the UI for individual features.

Export to JSON/Clipboard: On the feature detail page, add an "Export Configuration" button. This should generate a JSON payload (with a quick "Copy to Clipboard" option) that contains the feature's complete footprint for that environment:

  • Feature Name & Description
  • Tags
  • Default State (Enabled/Disabled)
  • Default Value
  • All Segment Overrides and their specific values/states

Import via UI: When navigating to a different environment (or a completely different Flagsmith instance), provide an "Import Configuration" button. Pasting the JSON payload should automatically populate all the fields, create the segment overrides, and allow the user to review the changes before saving.

Describe alternatives you've considered

Terraform (Our Current Workaround): We are currently using Terraform to sync all environments as a workaround. However, requiring developers to create a PR for every small change is tedious and completely kills the beautiful and simple idea of the Flagsmith Dashboard. The dashboard is supposed to provide agility, but the lack of an easy UI sync forces us back into heavy, slow GitOps workflows just to copy a feature.

Additional context

This feature would be a massive quality-of-life improvement for teams working across air-gapped or isolated environments. By allowing a simple JSON export/import, you eliminate the severe time drain our developers currently face, reduce the risk of human error during manual data entry, and significantly speed up the release pipeline.

Langage dominant
Python
Étoiles
9.9k
Forks
658
Merge moyen
1 j 15 h
PR mergées (30 j)
168

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de Flagsmith/flagsmith

Toutes les issues de Flagsmith/flagsmith

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.