Reopening the interlinearizer forgets which project the draft belongs to
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
- Área
- desktop, developer-experience
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
- 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 sillsdev/interlinearizer-extension
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
sillsdev/interlinearizer-extension#537 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
sillsdev/interlinearizer-extension#533 ·
Los mantenedores suelen responder en 1 día
-
Deleting the active project leaves its draft marked savedPosiblemente ocupada @jasonleenaylor la tomó hace 1 día. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
sillsdev/interlinearizer-extension#519 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
sillsdev/interlinearizer-extension#515 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
sillsdev/interlinearizer-extension#535 ·
Los mantenedores suelen responder en 1 día
Todos los issues de sillsdev/interlinearizer-extension
Issues similares
-
fix(worker): keep normal prepare waiting states failure-freePosiblemente ocupada @LichKing-2234 la tomó hoy. Abiertoagent:codex priority:P1
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
AgoraIO-Extensions/agent-infra#3745 ·
Los mantenedores suelen responder en 1 día
-
The five-line work window can drop its oldest line: the per-line byte share ignores the JSON framingPosiblemente ocupada @Eapp1e la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
makecindy/cindy#7973 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
lingdojo/kana-dojo#33337 · 1 comentario · 5 reacciones ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
coder/xum#7733 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
code-yeongyu/senpi#4917 · 1 comentario ·
Los mantenedores suelen responder en 1 día