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

Reopening the interlinearizer forgets which project the draft belongs to

Abierto
#538 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
72/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
typescript

Línea de trabajo

Start in src/components/InterlinearizerLoader.tsx at the useWebViewState('activeProject') reference, then trace how the host opens sessions and supplies interlinearProjectId. Reproduce the listed tab close and reopen steps on the same source. Done means the reopened view shows the original project as active and Save writes edits to it.

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

Descripción

After opening a project, closing the interlinearizer tab and opening it again restores the draft's content but no active project. The project picker shows no Active badge, and Save behaves like Save As. The user has to open the project again to save to it, and that replaces the draft with the saved content.

The active project is kept only in WebView state ('activeProject' in InterlinearizerLoader). That survives a tab restore but not a new tab. The draft is stored per source and doesn't record which project it was loaded from.

Steps: open a project, make an edit, close the interlinearizer tab, then open the interlinearizer on the same source.

Expected: the reopened view shows the same project as active, and Save writes to it.

Where: src/components/InterlinearizerLoader.tsx (useWebViewState('activeProject')). Remembering the active project per source in the host would also give openSession's interlinearProjectId a source of truth.

Lenguaje dominante
TypeScript
Estrellas
2
Forks
0
Merge medio
1 d 15 h
PR fusionados (30 d)
63

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

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 sillsdev/interlinearizer-extension

Todos los issues de sillsdev/interlinearizer-extension

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.