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

Đang mở
#7,072 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Lĩnh vực
frontend

Hướng nghiên cứu

Không có tệp, bài kiểm thử hoặc điểm vào nào được nêu. Hãy bắt đầu bằng cách xác định giao diện chi tiết của feature và UI tạo feature, sau đó truy vết cách các trường của feature và các ghi đè phân đoạn được tải và lưu; hoàn thành nghĩa là người dùng có thể xem xét, xuất, nhập và lưu một cấu hình hoàn chỉnh giữa các môi trường.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
9.9k
Fork
658
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
168

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Flagsmith/flagsmith

Tất cả issue của Flagsmith/flagsmith

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.