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

Abierto
#7,072 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Tranquilo
Área
frontend

Línea de trabajo

No se especifican archivos, pruebas ni puntos de entrada. Empieza localizando el detalle de la feature y la UI de creación de features; después, sigue cómo se cargan y guardan los campos de la feature y los overrides de segmentos; se considera terminado cuando los usuarios pueden revisar, exportar, importar y guardar una configuración completa entre entornos.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Python
Estrellas
9.9k
Forks
658
Merge medio
1 d 15 h
PR fusionados (30 d)
168

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Flagsmith/flagsmith

Todos los issues de Flagsmith/flagsmith

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.