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

Sidebar: routines count stays 0 until Refresh, plus object tree minors

Abierto
#40 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
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
mysql, postgresql, react, rust, sqlite, tauri, typescript

Línea de trabajo

Start with src/features/sidebar/, src/stores/catalog.ts, and src/stores/workspaces.ts; read the linked smoke and follow-up notes for context, then trace catalog refresh after SQL DDL and sidebar state across tab and database switches. The issue groups several sidebar, menu, and error-handling fixes, so identify their component tests before changing code. Done means all listed behaviors work, component tests pass, and the required pnpm checks are green.

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

Descripción

area:frontend size:S status:ready type:bug

Context

Smoke run: the sidebar's Routines count stays 0 after creating a procedure until Refresh. A few related sidebar/catalog minors were deferred from plan 4.

To do

  • Invalidate or refresh the catalog (routines section) after a successful DDL statement in a SQL tab, or at least when the section is expanded.
  • Sidebar highlight is not synced with the active tab after Ctrl+Tab (Task 8 manual #5).
  • The database <select> has no option when database is null or not listed: inject the current database.
  • A routine click opens the context menu; the menu has no viewport clamping or focus restore and stays open across refresh/switch.
  • After a switch, database changes before currentSchema: one wasted objectsList with the old schema name (brief error flash possible).
  • A schemas failure after a successful switch still reads "switch failed"; a concurrent switchDatabase returns silently.

Acceptance criteria

  • Create a procedure in a SQL tab: the Routines count is correct without clicking Refresh.
  • Ctrl+Tab moves the sidebar highlight with the active tab.
  • Component tests for each item.
  • pnpm test && pnpm lint green (plus cargo clippy --all-targets -- -D warnings and pnpm test:rust when Rust changes)

Likely files touched

  • src/features/sidebar/ (or the catalog tree component), src/stores/catalog.ts, src/stores/workspaces.ts

Linked docs

  • docs/notes/integration-v1-smoke.md ("Seen, not fixed")
  • docs/notes/plan-04-followups.md (Task 5, Task 8 minors)
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.