Environment banner text hardcoded to white, unreadable on light banner colours
Mantenedores costumam responder em até 1 dia
@AAshGray já está trabalhando nisso.
Desde 26/5/2026.
Avaliação
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Facilidade para iniciantes
- 64/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Pouca atividade
- Stack de tecnologia
- react, typescript
- Domínio
- accessibility, frontend
Direção de pesquisa
Comece em frontend/web/components/ButterBar.tsx, especialmente nas linhas 73-85, e reproduza o banner com um banner_colour claro proveniente das configurações do ambiente. Substitua o comportamento de texto branco definido diretamente no código por uma cor legível derivada do plano de fundo e, em seguida, verifique se o banner continua legível sobre cores claras e escuras nas páginas de ambiente listadas.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Describe the bug
The environment banner (the "butter bar" shown when banner_text is configured on an environment) renders its text in hardcoded white. When the chosen banner_colour is light, the text becomes effectively invisible against the background.
To reproduce
- Open an environment's settings
- Enable the banner and set
banner_text(e.g.Production [Be Careful!]) - Navigate to any page in that environment (Features, Segments, etc.)
The banner renders white-on-light and is unreadable.
Expected behaviour
The banner text should remain legible regardless of the chosen banner_colour. Text color should be derived from the background.
Affected code
frontend/web/components/ButterBar.tsx lines 73-85 hardcode color: 'white':
Screenshots
Will attach after issue creation (a banner with a pale cream banner_colour showing white text that is barely visible)
- Linguagem predominante
- Python
- Estrelas
- 9.9k
- Forks
- 658
- Merge médio
- 1d 15h
- PRs com merge (30d)
- 171
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de Flagsmith/flagsmith
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Flagsmith/flagsmith#9119 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Fix Button Alignment in SDK Installation SectionTalvez já em andamento @manueldezman assumiu há 4 dias. Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Flagsmith/flagsmith#9056 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
Cloud Python warehouse snippet omits the import needed by its short-lived-job guidanceTalvez já em andamento @jcd1991 assumiu há 5 dias. Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 75/100
Flagsmith/flagsmith#9045 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Expose whether an organisation is blocked for API usageTalvez já em andamento @PiUnknown assumiu há 39 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Flagsmith/flagsmith#8773 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
Todas as issues de Flagsmith/flagsmith
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
Mantenedores costumam responder em até 1 dia
-
documentation good first issue help wanted
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 90/100
-
documentation good first issue help wanted
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100
-
documentation good first issue help wanted
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
-
good first issue help wanted
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100