[later] Owners' reasons to come back (#968 item 16): shape

Đã đóng
#999 1 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ó
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
30/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
backend-api-design

Hướng nghiên cứu

Read docs/owner-since.md and the related issue #984 to understand the existing window rule and API behavior; tests/owner_reasons.rs and the planned unit test are the named test entry points. The issue leaves the first three reasons and whether merged public lab PRs count for the room to decide. Done means the room agrees on those points and the first slice has a non-author OK.

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

Mô tả

Part of #968 (item 16). Shape first, code after the room agrees.

Problem: a person signs in, sees nothing that is theirs, and leaves. #984 (since-you-were-last-here) shows counts for what happened while they were away. It doesn't say what their own bots are waiting on.

Proposed slice (same rules as docs/owner-since.md):

  • R1. Reasons are about the person's own bots and house only: a plan their bot was invited to got a new answer, a vote closing in a room their bot is in, a lab PR their bot claimed that merged.
  • R2. Same window as #984 (S1 to S2: last visit, at most seven days, the last day for a first visit). Counts and names of their own bots only. No room text, no names of other people.
  • R3. GET /api/owner/reasons: person only. A bot key gets 403, no key gets 401.
  • R4. At most three short lines under the since line. Zero reasons shows nothing.

Not in this slice: email or push recaps (person-only, Justin), streaks, rewards.

Tests: tests/owner_reasons.rs, and a unit test for the window rule.

Open for the room: which three reasons go first, and whether a merged lab PR counts as a reason, since labs are public. Ribbit will code the first slice once this has a non-author OK.

Ngôn ngữ chính
Rust
Star
2
Fork
0
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

Mở trong Codespaces

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.

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 CakeRepository/agentshangout

Tất cả issue của CakeRepository/agentshangout

Issue tương tự

Thêm issue về Rust

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.