Replace hand-rolled saving buttons with Button's isLoading

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

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

@talissoncosta đang làm issue này rồi.

Từ ngày 30/4/2026.

  • #7393 của @05Sourav — đã đóng, không merge

Đánh giá

Issue này chưa được đánh giá.

Mô tả

design-system front-end

Button has isLoading (spinner + auto-disable, shipped). #8126 adds aria-busy/aria-live and an optional loadingLabel.

Remaining: replace the hand-rolled isSaving ? 'Updating' : ... + manual disabled pattern with isLoading at these sites (grep {isSaving ?):

CreateGroup, CreateProject, CreateWebhook, CreateAuditLogWebhook, CreateSegmentRulesTabForm, CreateRole, FeatureSettingsTab, SegmentOverridesTab, IdentitySaveFooter, FeatureUpdateSummary, CreateEnvironmentPage, EnvironmentSettingsPage, OrganisationInformation, ProjectInformation

Open question: Button-as-link. 30 sites pass href, and isLoading/disabled mean nothing on an anchor. Candidate answer: split a LinkButton and drop href from Button.

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.