activitypods / activitypods/mastopod

When I open the app as a connected user, the inbox is fetched twice

Aberta
#40 0 comentários 0 reações 0 responsáveis Ver no GitHub
bug
Linguagem predominante
JavaScript
Estrelas
25
Forks
2
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

The `/inbox` and `/inbox?page=1` endpoints are fetched twice.

This may be related, but when someone sends a message to my inbox, it is displayed twice (if it has been fetched through websocket -- the message appears only once if I reload the page).

Any idea of where this issue may come from @Laurin-W ?

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Direção de pesquisa

Reproduce with a connected user and open the `/inbox` flow in devtools to confirm duplicate `/inbox` and `/inbox?page=1` calls. Start by tracing where the inbox screen is mounted and how it triggers API fetches on page load, then check websocket listener setup for the same screen/session to spot duplicate subscriptions. Validate by sending/reloading and ensuring only one fetch sequence and single message render. Finish when no duplicate fetches or duplicated rendered message remain.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
javascript
Domínio
frontend
Tipo de issue
Bug
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
45/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.