Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

New SQL tab: focus the editor (Ctrl+T, palette) and label completion kinds

Abierto
#39 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
55/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
react, tauri, typescript

Línea de trabajo

Start in src/features/sql/SqlEditor.tsx and reproduce focus after opening a tab, including after the password prompt closes; write a test for the focus call and check the null viewRef case described in the issue. Read src/features/sql/completion.ts and src/lib/strings.ts for completion detail labels, then inspect src/features/workspace/WorkspaceView.tsx for disconnected workspace handling. Done when the listed acceptance criteria pass, including the specified test and lint commands.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

area:frontend good first issue size:S status:ready type:bug

Context

Marked FIX-BEFORE-MERGE by the plan 4 review but left open: Ctrl+T and the palette's "New SQL tab" do not focus the new editor, so typing goes nowhere until a click. The smoke run saw it again with Ctrl+T right after a password prompt closed (not re-checked in isolation). The SQL completion detail also shows the raw kind enum (table, view).

To do

  • Focus the CodeMirror editor of a newly opened SQL tab, including after a password prompt closes; re-check in isolation first and write a test for the focus call (the editor focus command returns true even when viewRef is null, so the fallback is skipped).
  • Show a strings.ts label instead of the raw kind in the completion detail (completion.ts).
  • Also: Mod+T / new tab on a disconnected workspace should go through requestConnect (re-check).

Acceptance criteria

  • Ctrl+T and palette "New SQL tab": typing immediately goes into the editor, also right after a connect password prompt.
  • Completion popup shows localized labels for table and view.
  • pnpm test && pnpm lint green (plus cargo clippy --all-targets -- -D warnings and pnpm test:rust when Rust changes)

Likely files touched

  • src/features/sql/SqlEditor.tsx, src/features/sql/completion.ts
  • src/features/workspace/WorkspaceView.tsx
  • src/lib/strings.ts

Linked docs

  • docs/notes/plan-04-followups.md (M1, Manual #4, Task 6)
  • docs/notes/integration-v1-smoke.md ("Seen, not fixed")
Lenguaje dominante
TypeScript
Estrellas
0
Forks
0
Merge medio
1 h 19 min
PR fusionados (30 d)
28

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Cemoche/tablemax

Todos los issues de Cemoche/tablemax

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.