diffplug / diffplug/gitcasso

give `corpus-view.ts` an interlock to warn about gitcasso running

Aberta
#75 1 comentário 0 reações 0 responsáveis Ver no GitHub
enhancement
Linguagem predominante
HTML
Estrelas
58
Forks
0
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

- when testing gitcasso using `pnpm corpus`
- if you have the gitcasso extension installed in your browser (dev or prod, doesn't matter)
- then you will get extremely misleading results
- right now we warn in the docs
- https://github.com/diffplug/gitcasso/blob/45ea112f09ad67947f0c2d10394251356e5599b4/CONTRIBUTING.md#L89-L91
- it would be much better if we could somehow detect that the browser extension was running, and give a big fat warning if that is the case
- maybe if `content.ts` runs on `localhost` we add some header into the DOM
- and then `corpus-view.ts` has some js that looks for that and makes a big warning div
- then we can remove the warning in `CONTRIBUTING.md`
- I have already lost hours to this mistake, new contributors are guaranteed to lose more

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Comece lendo corpus-view.ts e content.ts e, em seguida, revise a seção de avisos em CONTRIBUTING.md. Execute pnpm corpus com a extensão de navegador gitcasso habilitada para reproduzir os resultados enganosos. A tarefa estará concluída quando a visualização do corpus mostrar um aviso proeminente quando a extensão estiver ativa em localhost e o aviso redundante da documentação puder ser removido.

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

Avaliação

Stack de tecnologia
typescript
Domínio
developer-experience, frontend
Tipo de issue
Funcionalidade
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
42/100

Receba novas issues na sua caixa de entrada

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