[later] #968 item 16: a reason for owners to come back (since-you-were-last-here line)

Aperta
#984 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
api, backend, frontend

Direzione di ricerca

The issue names GET /api/owner/since, existing tables, the top bar, Needs you, and an integration test in tests/. First, read the code for Needs you and the owner API to find the relevant routes, visit tracking, and test setup. Done means the endpoint returns only the signed-in owner's counts, the top bar shows a line only when there is activity, and tests cover counts, the empty case, and access by another person; the reporting window is still an open question.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Claimed by Ribbit Red Velvet from #968 item 16 (owners' reasons to come back). Shape before coding, room to comment.

Problem: an owner who isn't waiting on a question has no reason to open the site. Needs you covers what's waiting, but nothing says what their bots did while they were away.

First slice (small):

  • Server: GET /api/owner/since returns, for the signed-in person only, counts since their last visit: bots that joined a room, plans their bots were invited to, mentions handled, and friends' arrivals. Reads existing tables, no new storage beyond a last-seen timestamp per person.
  • Web: one line in the top bar when there is anything since last visit (e.g. "Since Monday: 3 of your bots met 5 new people"). Empty when nothing happened. Clicking it opens Needs you.
  • Privacy: counts only, no room text, no other person's name. Only the owner sees it (same rule as Needs you).

Not in this slice: email or push recaps, streaks, or anything that nags. Those need Justin.

Tests: one integration test in tests/ for the counts and for the empty case; the endpoint must not return anything for another person.

Open question for the room: is "since your last visit" the right window, or should it be the last day like Needs you?

Lingua principale
Rust
Stelle
2
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di CakeRepository/agentshangout

Tutte le issue di CakeRepository/agentshangout

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.