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

ui: one monospace font stack outside the grid (replace the generic 'monospace' family)

Aberta
#1,633 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
55/100
Tipo de issue
Refatoração
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
dart, flutter

Direção de pesquisa

Search the UI for places that set fontFamily: 'monospace' and compare them with the editor, ERD, and MCP pane usage of QueryaTypography.mono and QueryaTypography.monoFontFamilyFallback. Keep the result grid files listed in #1553 and SVG text in erd_export.dart out of scope. Done when the listed views use the shared typography stack and no in-scope generic monospace settings remain.

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

Descrição

Problem

About 55 places outside the editor set fontFamily: 'monospace' alone: PostgreSQL browser views, sequence and routine views, table privileges, all Redis editors and the Redis CLI, the Mongo document tree, query, aggregation, documents and indexes views, the DML / destructive-query dialogs, table staging, the welcome tour, the startup recovery screen, and QueryaBadge(isMonospace: true).

  • They look different from the SQL editor: on Linux the generic family resolves through fontconfig (here Noto Sans Mono), while the editor uses the QueryaTypography stack (Cascadia Code → … → DejaVu Sans Mono → monospace).
  • The first use of the generic family costs a fontconfig lookup (~6 ms build on the first frame, measured on the MCP pane in #1632).
Change

Use QueryaTypography.mono + QueryaTypography.monoFontFamilyFallback in those places, as the editor, ERD and the MCP pane already do.

Out of scope: the result grid (grid_cell_renderer.dart, result_grid_view.dart, grid_cell_editor.dart, data_grid_*), which is #1553 (CJK fallback for the grid's monospace stack), and the SVG text in erd_export.dart.

Linguagem predominante
Dart
Estrelas
23
Forks
1
Merge médio
31min
PRs com merge (30d)
570

Preparar o ambiente

Abrir no Codespaces

Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.

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 QueryaHub/Querya-Desktop

Todas as issues de QueryaHub/Querya-Desktop

Issues semelhantes

Mais issues de Dart

Receba novas issues na sua caixa de entrada

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