Release 3.34.0#404
Merged
Merged
Conversation
…ulk-Load into fix/download-custom-template-extension-869b4pfmx
…eeks. Add tests for existing period types
- new ImportResultBadge component displayed after import (allowing to reopen summary modal) - refactor: extract shared computeOverallSyncStatus to domain layer - refactor: getStatusConfig to avoid code duplication, and use colors from the theme instead of hardcoding them - minor adjustaments to spacing in ImportTemplatePage
- Only require organisation unit selection when downloading populated tracker templates. - This prevents dataset template downloads from being blocked when org unit selection is configured for import-only, and defaults relationship OU filter to CAPTURE in that mode.
- Enable core pack in prepare script - Add packageManager in package.json - Install Yarn 4 in the project - Update .gitignore - Update README
…time Upgrade vulnerable direct dependencies flagged by Snyk, including @dhis2/app-runtime, @eyeseetea/feedback-component, @material-ui/*, axios, lodash, moment, react-router-dom and styled-jsx. Adjust runtime integration after upgrades (Provider props for app-runtime, lodash import in MetadataService, and Vite __dirname define for styled-jsx) so build and tests remain green.
Upgrade direct dependencies flagged by Snyk, including @dhis2/app-runtime, @eyeseetea/feedback-component, @material-ui/*, axios, lodash, moment, react-router-dom and styled-jsx. Add dependency resolutions to force secure transitive versions for: axios, @babel/runtime, i18next, brace-expansion, form-data, glob-parent, lodash, minimatch, nanoid, node-fetch, path-to-regexp and qs.
- @babel/runtime, i18next, brace-expansion, form-data, glob-parent, lodash-es, minimatch, nanoid, node-fetch, path-to-regexp, qs, diff, debug, ua-parser-js, jszip (and axios aligned across the tree where applicable) Tests
Replace the shell loop in `update-po` with a `find -exec` based command to avoid `spawn ENOTDIR` under Corepack/Yarn 4 during pre-push.
…dundant color set in getBadgeConfig
…rting undefined, use unknown instead.
…399) * replace invalid XML characters from cell values during export * refactor: improve handling of invalid XML characters in cell values during export * fix: import isString to handle string validation for XML character removal
feat: add import result badge and centralize status config
…/download-custom-template-extension-869b4pfmx
…xtension-869b4pfmx get file extension for custom templates during the download action
ignore empty string
- parseInt the minor component so pre-release suffixes (e.g. "2.44-SNAPSHOT") resolve to their major version instead of NaN, which would otherwise make buildOrgUnitMode silently fall back to the legacy v<42 OU params on SNAPSHOT/RC instances. - Add unit tests for getMajorVersion and buildOrgUnitMode across v41/v42/SNAPSHOT. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
[fix]: Update org unit parameter changes in v42
getSheetRowsCount only trimmed trailing rows whose cells were undefined, but lookup formulas added with function support resolve empty rows to "#N/A"/"" (not undefined), so those rows were no longer trimmed. The read range then spanned all ~500 formula rows, making tracker/row imports read ~100k+ cells over dead rows (~80s for the PHSM template). Treat undefined, "" and "#N/A" as blank when finding the last data row, mirroring resolveNA at the row-count layer. Output is unchanged (dead rows yield no data); only the wasted scanning is removed (~80s -> ~2.3s).
…ection is set to import When orgUnitSelection setting is "import", the org unit selector is hidden on the download page, so no org units are sent to the download use case. This left the org unit selector empty in the generated spreadsheet. Now it falls back to the intersection of the current user's capture org units and the org units of the selected dataset/program.
…nloaded template when org unit selection is set to import
…tion Fix org unit validation on template download
…mport `toDetails()` used `_.pick` without importing lodash, causing `ReferenceError: _ is not defined` when saving history after a template import in the Vite production bundle.
Feature: Add missing dhis2 periods
* add logic to get matched indicators from dataset attribute * replicate value for matched indicators * match indicators only if all the value in the other columns are present. Update cells if one of the values in the columns change * add both source-target and target-source indicators in the matching --------- Co-authored-by: Miquel Adell <miquel.adell@gmail.com>
Feature/security
BundleMonNo change in files bundle size Unchanged groups (1)
Final result: ✅ View report in BundleMon website ➡️ |
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.
No description provided.