New SQL tab: focus the editor (Ctrl+T, palette) and label completion kinds
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
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
focuscommand returns true even whenviewRefis null, so the fallback is skipped). - Show a
strings.tslabel instead of the raw kind in the completion detail (completion.ts). - Also:
Mod+T/ new tab on a disconnected workspace should go throughrequestConnect(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 lintgreen (pluscargo clippy --all-targets -- -D warningsandpnpm test:rustwhen Rust changes)
Likely files touched
src/features/sql/SqlEditor.tsx,src/features/sql/completion.tssrc/features/workspace/WorkspaceView.tsxsrc/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
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Cemoche/tablemax
-
area:frontend size:S status:ready type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Los mantenedores suelen responder en 1 día
-
area:backend size:S status:ready type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
area:infra good first issue size:S status:ready type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Los mantenedores suelen responder en 1 día
-
area:docs good first issue size:S status:ready type:task
Dificultad 1/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
area:infra size:S status:ready type:task
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
Todos los issues de Cemoche/tablemax
Issues similares
-
skillopt: success-reflect prompt omits the edit schema, so every success-only edit is droppedAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Workspace secrets/constants containing "$" are corrupted when resolved in data source optionsAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
mobile-next/mobile-mcp#526 ·
Los mantenedores suelen responder en 1 día
-
e2e-failure ready-to-code
Dificultad 1/5 Menos de una hora Aptitud para principiantes 73/100
redhat-developer/rhdh-plugin-export-overlays#4470 · 1 comentario ·
Los mantenedores suelen responder en 1 día