Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#1,633 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
dart, flutter

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Dart
Stelle
23
Fork
1
Merge medio
32m
PR unite (30g)
537

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di QueryaHub/Querya-Desktop

Tutte le issue di QueryaHub/Querya-Desktop

Issue simili

Altre issue su Dart

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.