Skip to content

AMP-31085 : Remove risk and logframe#4503

Open
brianbrix wants to merge 7 commits into
developfrom
fix/AMP-31133/Risk-and-logframe-fields
Open

AMP-31085 : Remove risk and logframe#4503
brianbrix wants to merge 7 commits into
developfrom
fix/AMP-31133/Risk-and-logframe-fields

Conversation

@brianbrix

Copy link
Copy Markdown
Contributor

No description provided.

@brianbrix brianbrix force-pushed the fix/AMP-31133/Risk-and-logframe-fields branch from 3d1334e to 063a9d1 Compare July 15, 2026 10:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates AMP’s activity interchange/export behavior and possible-values enumeration to better handle indicator/category-related data, alongside a frontend dependency bump.

Changes:

  • Update amp-ui dependency commit reference in the template package-lock.json.
  • Add a fallback path when a category field is missing a discriminator, returning generic category values (with a warning).
  • Extend activity JSON export enrichment to include non-disaggregated indicator values (base, target, revised) in addition to existing indicator augmentations.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
amp/TEMPLATE/reamp/package-lock.json Bumps amp-ui git commit reference in the template lockfile.
amp/src/main/java/org/digijava/kernel/ampapi/endpoints/activity/PossibleValuesEnumerator.java Adds a warning + fallback to generic category value enumeration when discriminator is missing.
amp/src/main/java/org/digijava/kernel/ampapi/endpoints/activity/ActivityInterchangeUtils.java Adds enrichment of exported indicators with base/target/revised values and a small serializer helper.
Files not reviewed (1)
  • amp/TEMPLATE/reamp/package-lock.json: Generated file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +332 to +334
Long activityLocationId = parseLong(indicator.get("activity_location"));
AmpActivityLocation activityLocation = getActivityLocation(projectId, activityLocationId);
boolean singleLocationFallback = activityLocationId == null && activityLocation != null;
@brianbrix brianbrix force-pushed the fix/AMP-31133/Risk-and-logframe-fields branch from 7be472c to e018434 Compare July 15, 2026 12:31
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