Conversation
…u oră (#683) Foaia „Istoric acțiuni” din backup avea codul acțiunii (CHANGE_VOLUNTEER_STATUS), datele ei ca JSON și doar data. Acum are numele acțiunii în română și propoziția pe care o arată web-ul („Statusul pentru voluntarul … a fost schimbat din inactiv în activ.”), iar coloana Data are și ora. Textele sunt copiate din traducerile web-ului (actions-archive.texts.ro.ts); o acțiune necunoscută își păstrează codul și JSON-ul, deci backup-ul nu pierde nimic. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Rezolvă #683.
Problema
În backup (
VIC-backup-*.xlsx), foaia Istoric acțiuni avea:DELETE_VOLUNTEER,CHANGE_ACTIVITY_TYPE_STATUS…);Pe web aceeași istorie se citește ca propoziții.
Fix
describe-action.ts: numele acțiunii în română („Modifică Status Voluntar”) și propoziția web-ului, completată din datele acțiunii, cu statusurile traduse ca pe web (voluntar, categorie de activitate, eveniment, anunț; inclusiv vechiularchived→ „arhivat”), varianta pe tip de structură (filială / departament / rol), pe statusul orelor (aprobate / respinse) și numele vechi / nou la redenumirea unei structuri (din coloanachanges).actions-archive.texts.ro.ts: textele copiate din traducerile web-ului (actions_archiveși numele statusurilor). Backend-ul nu poate citi fișierele web-ului; dacă se schimbă textele acolo, trebuie copiate și aici.dd.mm.yyyy hh:mm(punctele sunt escapate, altfel un punct după minute se citește ca fracțiune de secundă).Teste
describe-action.spec.ts(6 teste): propoziția completată,archived→ „arhivat”, variantele de structură și de status al orelor, statusurile categoriilor de activitate, fallback-ul pentru acțiuni necunoscute și că nicio acțiune cunoscută nu lasă{{…}}sau<inlineLink>în text.security.e2e-spec.ts): backup-ul cu o acțiune reală are „Modifică Status Voluntar”, propoziția și ora17.11.2026 14:30(ora României), formatată ca în Excel. Fără fix pică.tscși lint curate; unitare 358/358; e2e 274/275 cuTZ=UTC(singurul picat e testul de înregistrare ONG care așteaptălocalhostîn URL-ul S3, din.envlocal).🤖 Generated with Claude Code