Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Constraint Compile Icon #1022

Merged
merged 5 commits into from
Dec 8, 2023
Merged

Conversation

goetzrrGit
Copy link
Contributor

@goetzrrGit goetzrrGit commented Nov 27, 2023

Closes #994

I made adjustments to the code because we are now receiving the constraintResponse as an array of responses, each indicating whether a constraint has a compile error, runs with violations, or runs without violations. I've also added an icon in the UI to visually represent when a constraint has a compile error.

You will need the backend from this PR NASA-AMMOS/aerie#1249

Screenshot 2023-11-27 at 11 11 52 AM

@goetzrrGit goetzrrGit added the constraints Anything related to the constraints domain label Nov 27, 2023
@goetzrrGit goetzrrGit requested a review from a team as a code owner November 27, 2023 21:20
@goetzrrGit goetzrrGit added the DON'T MERGE Do Not Merge This Branch label Nov 29, 2023
@goetzrrGit goetzrrGit force-pushed the constraint_compile_error_icon branch from 133b09c to 8b9a365 Compare November 30, 2023 18:11
@goetzrrGit goetzrrGit force-pushed the constraint_compile_error_icon branch from 8b9a365 to 85cf7f6 Compare December 5, 2023 21:20
@goetzrrGit
Copy link
Contributor Author

Not sure why this was closed

@goetzrrGit goetzrrGit reopened this Dec 5, 2023
@goetzrrGit goetzrrGit force-pushed the constraint_compile_error_icon branch from 85cf7f6 to 89bc3c7 Compare December 5, 2023 23:03
@goetzrrGit goetzrrGit force-pushed the constraint_compile_error_icon branch from 89bc3c7 to 4d2cebb Compare December 6, 2023 18:28
@mattdailis
Copy link
Collaborator

I'd like to check on the status of this PR. Is it accurate to say that until this PR is merged, the constraint checking feature is unavailable?

@goetzrrGit goetzrrGit removed the DON'T MERGE Do Not Merge This Branch label Dec 7, 2023
Copy link
Contributor

@jeffpamer jeffpamer left a comment

Choose a reason for hiding this comment

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

Code changes look good and I tested it out locally, looks like we just need to rebase against develop, and this should be good to go!

Copy link
Collaborator

@duranb duranb left a comment

Choose a reason for hiding this comment

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

lgmt! thank you!

@goetzrrGit goetzrrGit force-pushed the constraint_compile_error_icon branch from 4d2cebb to f5212eb Compare December 8, 2023 22:07
@goetzrrGit goetzrrGit merged commit b652d1f into develop Dec 8, 2023
4 checks passed
@goetzrrGit goetzrrGit deleted the constraint_compile_error_icon branch December 8, 2023 22:24
JosephVolosin pushed a commit that referenced this pull request Aug 20, 2024
* Add constraintID to the response.

We will need this to filter out or 3 types of constraints.

* Tweak how we store the constraint response data

* Use the constraintResponseMap now.

* Add warning icon for compile error

* Updated code to use because constraintResults have been changed
JosephVolosin pushed a commit that referenced this pull request Oct 21, 2024
* Add constraintID to the response.

We will need this to filter out or 3 types of constraints.

* Tweak how we store the constraint response data

* Use the constraintResponseMap now.

* Add warning icon for compile error

* Updated code to use because constraintResults have been changed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
constraints Anything related to the constraints domain
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Constraint icons to show compilation errors differently from violations
4 participants