Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

showReportDialog failure API

Fechada
#24,765 2 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

@andreiborza já está trabalhando nisso.

Desde 28/9/2026.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
45/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
typescript
Domínio
api

Direção de pesquisa

Start by locating the showReportDialog entry point and reading its current callers and failure path. Compare the proposed Promise and onError approaches with the existing API conventions, then define the accepted behavior for network failure and verify it with coverage for both success and failure cases.

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

Descrição

Feature Waiting for: Product Owner
Problem Statement

When running ad blockers or other network disruptions occur showReportDialog will silently fail, there is no api provided for catching this case and asking the user to potentially turn their adblocker (or similar off).

Solution Brainstorm
  1. Make showReportDialog return a Promise that resolves when the dialog opens, rejects with error when it fails. (Bonus if you make showReportDialog resolve an object that lets you close the dialog or similar.
  2. Add onError callback showReportDialog({ onError: (error: Error) => { ... } }}
Additional Context

No response

Priority

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it.

Linguagem predominante
TypeScript
Estrelas
8.7k
Forks
1.9k
Merge médio
2d 10min
PRs com merge (30d)
560

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de getsentry/sentry-javascript

Todas as issues de getsentry/sentry-javascript

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

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