Repository navigation
feat(tray,settings): bandeja con menú y ajustes persistentes (M4a) - #9
Merged
Merged
Conversation
…nged y pruebas (T1, S2-S3-S5)
…ausa consultable (T2, S1)
…lla con error (R3-001)
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.
Qué y por qué
Primera entrega de M4 (M4a — bandeja y ajustes persistentes, flujo 5 del
BRIEF.md), según el plan deodd/tasks/m4a-tray-settings.md. Rama desdedev(114cd69, tras el merge de M3c).settings/en Rust: structSettingscon defaults del BRIEF, carga tolerante (fichero ausente o corrupto → defaults, campos desconocidos no rompen), guardado atómico (temporal + renombrar) en la carpeta de datos. Comandosget_settings/set_settingscon eventosettings:changed; carga al arrancar ensetup.RevealControl), abrir la carpeta de capturas, pausar/reanudar la vigilancia (conis_pausednuevo enWatchControl), Ajustes… y Salir.screenshot:removed. Un mutex envenenado de la cola no se traga: el error llega a la web (corrección R3-001 de la revisión).settingsreal: carpeta vigilada, papelera vs. borrado definitivo, modo de despliegue, tope de miniaturas, ocultar en pantalla completa — todo se guarda al instante con pastilla «Guardado».Cómo se verificó
cargo test49/49 (5 de settings + 1 de re-aplicación del tope), clippy limpio,cargo fmt.pnpm test45/45 (2 de la IPC de ajustes), typecheck, lint, arch sin violaciones.pnpm dev:debug+ CDP): bandeja creada sin errores de arranque; la ventana settings carga el valor actual; cambio del tope a 3 → «Guardado» y cola re-aplicada (6 capturas sembradas → 3 enget_shelf); el JSON persiste en disco y tras reiniciar la app con el mismo directorio de datos los ajustes cargan del disco (maxThumbnails: 3).Feature Map actualizada
Sí: la entrada «Ajustes y bandeja» pasa de prevista a real con sus selectores y backend.
Nueva constraint propuesta
No.