Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

In alarm-edit window, make tapping outside of the window do nothing

Đang mở Phù hợp với người mới
#446 0 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 7 ngày

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

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
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
Ít trao đổi
Công nghệ
android, kotlin
Lĩnh vực
mobile

Hướng nghiên cứu

Vì payload không nêu tên tệp nào, hãy bắt đầu bằng việc tìm trong mã nguồn Kotlin hộp thoại chỉnh sửa báo thức và đoạn mã xử lý khi chạm bên ngoài hộp thoại. Xác định nơi hộp thoại được tạo và kiểm tra xem có thể đóng nó bằng cách chạm bên ngoài hay không. Cách sửa là chặn việc đóng đó nhưng vẫn giữ cho OK và Hủy hoạt động. Hoàn thành khi chạm bên ngoài vẫn giữ trình chỉnh sửa mở và OK, Hủy hoạt động như trước.

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

Mô tả

feature request needs triage
Checklist
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the request will be dismissed otherwise.
  • This issue contains only one feature request.
  • I have read and understood the contribution guidelines.
Feature description

Make it impossible to close the alarm-editing window by tapping next to it; that is, tapping outside of the window does nothing. This means you have to explicitly click OK or Cancel to leave the editing window.

Why do you want this feature?

When modifying an alarm in the pop-up window, it is possible to tap outside of the window. This discards any modifications without warning (making it equivalent to clicking Cancel). The action of tapping a window away does not feel destructive, though. As a result, I have thought on multiple occasions that I successfully edited an alarm, whereas I later discovered that nothing was changed.

Making tapping away equivalent to OK instead of Cancel is not a good idea either, because one might deliberately want to click away to discard a change. And a Discard changes? pop-up is overkill. Hence my suggestion.

Additional information

No response

Ngôn ngữ chính
Kotlin
Star
706
Fork
73
Merge trung bình
5 ngày 17 giờ
Pull request đã merge (30 ngày)
8

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 FossifyOrg/Clock

Tất cả issue của FossifyOrg/Clock

Issue tương tự

Thêm issue về Kotlin

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.