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

Option to delete messages immediately

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

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
android, java
Lĩnh vực
mobile

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện luồng xóa tin nhắn trong ứng dụng Android và quan sát thời điểm toast xuất hiện, thời điểm yêu cầu xóa được gửi đi, cũng như điều gì xảy ra nếu ứng dụng bị đóng trước. Xác định hành vi nào trong ba hành vi được đề xuất là mong muốn, sau đó kiểm tra xem thời điểm xóa và nội dung hoặc khả năng hiển thị của toast có khớp với lựa chọn đó hay không.

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

Mô tả

When deleting a message in the app, there's a kind of toast for a few seconds to "undo" the deletion. From my tests, actually the message is not deleted until the toast disappears. It's like this toast is a confirmation prompt in disguise. You would think the deletion is triggered and the toast appears when the server replied 200 to deletion, but no, the toast appears, then when it disappears, the deletion request is sent and you don't know when it's received.

I often delete a message and quit the app right after the toast appears, but then the message is not deleted! When I open the app, the message is still there. Instead, I have to wait several seconds for the toast to disappear, and then maybe the message is deleted, so only then I can quit the app and it won't be back when I open the app. This is awful.

Either:

  • make that fake toast not lie by telling "message deleted", when the message is not deleted yet: put something like "message will be deleted when toast disappears", so the user does not quit the app because then the deletion will not be effective
  • have an option to only show the toast when message is really deleted (server replied 200)
  • have an option not to show any toast at all and delete the message straight away
Ngôn ngữ chính
Java
Star
1.5k
Fork
218
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 gotify/android

Tất cả issue của gotify/android

Issue tương tự

Thêm issue về Java

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.