Skip to content

Add item ordering in record value mapper to allow ordering of activity/scheduling goal parameters#1738

Merged
dandelany merged 3 commits into
developfrom
feature/ordering-scheduling-goal-params
Jan 13, 2026
Merged

Add item ordering in record value mapper to allow ordering of activity/scheduling goal parameters#1738
dandelany merged 3 commits into
developfrom
feature/ordering-scheduling-goal-params

Conversation

@adrienmaillard
Copy link
Copy Markdown
Contributor

@adrienmaillard adrienmaillard commented Sep 12, 2025

  • Tickets addressed: Yet to be written
  • Review: By commit
  • Merge strategy: Merge (no squash)

Description

Metadata containing item order is now attached to every RecordValueMapper so it can be used by the UI to display parameters in the order it has been defined in the scheduling procedures.

Changes in the UI are on branch https://github.com/NASA-AMMOS/aerie-ui/tree/ordering-scheduling-goal-params

Verification

With tests in RecordValueMapperTests. I also performed an end to end test with the UI code and activities/procedural goals. For ordering at the top level, I could use procedural goals but because of issue #1737 that I have found while developing, I had to test the nested ordering with activity parameters on the bananation model.

Documentation

Docs about parameters of mission models/procedural goals and constraints will have to mention that the way of ordering parameters is to go through records and use the default record value mapper. Custom value mappers for records will not produce the ordering.

Future work

None.

@adrienmaillard adrienmaillard force-pushed the feature/ordering-scheduling-goal-params branch from 25be4e3 to af92000 Compare September 15, 2025 17:30
@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown
Collaborator

@mattdailis mattdailis left a comment

Choose a reason for hiding this comment

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

Looks good to me based on reading the code and manual testing

@dandelany
Copy link
Copy Markdown
Collaborator

Tested with Matt, merging this + NASA-AMMOS/plandev-ui#1773 - Thanks!

@dandelany dandelany merged commit eaad781 into develop Jan 13, 2026
13 of 19 checks passed
@dandelany dandelany deleted the feature/ordering-scheduling-goal-params branch January 13, 2026 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature A new feature or feature request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants