Skip to content

Pseudonymization version with date picker #560

Merged
tilen1976 merged 50 commits intomasterfrom
feat/pseudonymization-version-is-date
Dec 5, 2025
Merged

Pseudonymization version with date picker #560
tilen1976 merged 50 commits intomasterfrom
feat/pseudonymization-version-is-date

Conversation

@tilen1976
Copy link
Contributor

@tilen1976 tilen1976 commented Dec 4, 2025

It is now required that users who select the encryption algorithm PAPIS_ALGORITHM_WITH_STABLE_ID must set STABLE_IDENTIFIER_VERSION to a valid date.
The default value is set to today’s date. To ensure correct formatting, the field is now a date-picker input.

When saving STABLE_IDENTIFIER_VERSION the snapshotDate object in encryption_algorithm_parameters is also updated.

Also:
Previously, when re-selecting the pseudo algorithm, values had to be carried over due to the UI not being properly re-rendered. It is important that the UI always reflects the persisted values. This has now been fixed by adding a dynamic key to the section and by correctly handling changes based on the triggered element ID rather than the clicked button.

Since other systems are waiting for this change, it is possible to, in addition to suggest what must be changed now, to leave some comments on things which should eventually be improved.

@tilen1976 tilen1976 marked this pull request as ready for review December 4, 2025 17:29
@tilen1976 tilen1976 requested a review from a team as a code owner December 4, 2025 17:29
@tilen1976 tilen1976 merged commit c49ad19 into master Dec 5, 2025
17 checks passed
@tilen1976 tilen1976 deleted the feat/pseudonymization-version-is-date branch December 5, 2025 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants