UX: Auto-select single Git account/branch in Provider settings and warn about unsaved changes
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ó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 72/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- next.js, typescript
- Lĩnh vực
- frontend
Hướng nghiên cứu
Start with the Provider tab used when creating or editing an Application or Compose service, then trace how provider accounts and repository branches are populated for GitHub, GitLab, Bitbucket, and Gitea. Add account and branch preselection behavior and a visible dirty-state indicator near the Save button, covering both Application and Compose service forms. Done means single-account and single-branch choices are preselected, multiple accounts use the most recently added one, and unsaved provider changes are clearly indicated.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What problem will this feature address?
When creating or editing an Application or Compose service, the Provider tab ("Select the source of your code": GitHub / GitLab / Bitbucket / Gitea / Git / Raw) needs extra clicks even when there is only one possible choice. It also gives no warning about unsaved changes:
- Git account is not preselected. GitHub is already the default provider tab, but the account select stays empty. I have exactly one GitHub account connected, and I still have to open the dropdown and pick it every time.
- Branch is not preselected. When the selected repository has only one branch, I still have to pick it by hand.
- No unsaved-changes indicator. If I change provider settings and don't click save, nothing tells me. The changes are easy to lose by switching tabs or navigating away.
Describe the solution you'd like
- Account auto-select
- If only one account is configured for the selected provider, preselect it.
- If several exist, preselect the most recently created/added one.
- (Future, optional): let users mark one account as "default" per provider. This needs a schema change, so it may be out of scope for this issue.
- Branch auto-select
- If the selected repository has exactly one branch, preselect it.
- (Optional): otherwise preselect the repository's default branch (e.g.
main), if the provider API returns it.
- Unsaved-changes indicator
- Show a visible hint, e.g. a banner or badge near the Save button, when the provider form is dirty.
- Optionally warn before leaving the tab or page while changes are unsaved.
This applies to all Git providers (GitHub, GitLab, Bitbucket, Gitea), for both Applications and Compose services.
Describe alternatives you've considered
Selecting everything by hand every time. It works, but it's repetitive, and it's easy to forget to save.
Additional context
Related (closed) issues about unsaved changes in other forms: #2538, #2064.
Will you send a PR to implement it?
Maybe, need help
- Ngôn ngữ chính
- TypeScript
- Star
- 38.8k
- Fork
- 3.2k
- Merge trung bình
- 1 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 110
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Dokploy/dokploy
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Dokploy/dokploy#6151 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Healthy Swarm task shows an empty `(Error:)` suffix on the last row of the Containers tabCó thể đã có người làm @AyhamJo7 đã nhận 4 ngày trước. Đang mởneeds-triage🔍
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Dokploy/dokploy#6115 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Global search (Cmd/Ctrl+J) never sorts results by relevanceCó thể đã có người làm @hamidzr đã nhận 6 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Dokploy/dokploy#6107 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`utils/dns/ovh.ts`: the zone-listing 403 handler replaces the provider's error instead of chaining itCó thể đã có người làm @SyncWithRaj đã nhận 8 ngày trước. Đang mởbug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 84/100
Dokploy/dokploy#6075 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
MongoDB with Replica Sets enabled: container exits with code 0 and restarts in a loop (generated startup script never waits on mongod)Có thể đã có người làm @ghazy2001 đã nhận 10 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Dokploy/dokploy#6051 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Dokploy/dokploy
Issue tương tự
-
[Bug]: RUN_STARTED resets the run's tool-call tally even when a subscriber suppresses the eventĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
ag-ui-protocol/ag-ui#3504 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area/profiles area/sessions comp/desktop desktop/chat desktop/sessions P2 type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
NousResearch/hermes-agent#161712 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug p3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
rothgar/rabble.radio#283 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug from-app needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
nightly-labs/openbot#19805 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
OHDSI/Data2Evidence#3760 ·
Maintainer thường phản hồi trong vòng 3 ngày