feat: eliminar posiciones PGN guardadas desde ProjectTab - #37
Merged
Merged
Conversation
23 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resumen
Motivación
ProjectTab permite abrir las posiciones guardadas, pero no eliminarlas. Este cambio incorpora esa acción sin alterar el esquema ni la identidad persistente existente.
Cambios
src/project_tab.rstranslations/en-US/ocp.ftltranslations/es/ocp.ftltranslations/pt-BR/ocp.ftltranslations/fr/ocp.ftltranslations/cn/ocp.ftltranslations/nl/ocp.ftlLa confirmación distingue
Deleted,NotFoundy error de persistencia:DeletedyNotFoundrefrescan el caché desde SQLite; un error conserva el caché cargado y muestra el detalle. Las transiciones exitosas de proyecto/capítulo cancelan la confirmación pendiente.Validación
cargo fmt --checkcargo clippy --all-targets --all-features -- -D warningscargo test— 613 aprobadas, 0 fallidas, 0 ignoradascargo checkcargo buildgit diff --checkCapturas
No aplica.
Impacto en base de datos / migraciones
Ninguno. No hay cambios de esquema, SQL en ProjectTab ni migraciones;
PROJECT_SCHEMA_VERSIONsigue en 4. Se usa la API CMS-024M existente.Alcance y riesgos
Excepción de tamaño autorizada por el mantenedor para 472 líneas modificadas: es una única unidad funcional y el total incluye los tests y las seis traducciones solicitadas; no se dividió en PRs encadenados.
El diff contiene exactamente los siete archivos autorizados. No cambia
src/project.rs,src/main.rs,Cargo.toml,Cargo.lock,project_migrations/ni otros archivos. No toca producción, Docker, MongoDB, VPS,.envni deploy. El riesgo relevante queda limitado a la eliminación explícita de una posición, protegida por confirmación inline y validación del contexto.Checklist
Closes #36.type:feature.Co-Authored-By.Closes #36