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

Environment issues followup #217

Merged
merged 3 commits into from
Sep 23, 2024
Merged

Environment issues followup #217

merged 3 commits into from
Sep 23, 2024

Conversation

omar-selo
Copy link
Collaborator

@omar-selo omar-selo commented Sep 23, 2024

Description

A couple of followup changes from environment issues story:

  • Add is_confirmed query parameter to API endpoint
  • Make URL only required if the issue is confirmed

Resolved issues

Resolves https://warthogs.atlassian.net/browse/RTW-364

Documentation

Web service API changes

Tests

Updated backend tests. Then tested front-end manually.

Copy link
Contributor

@andrejvelichkovski andrejvelichkovski left a comment

Choose a reason for hiding this comment

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

This change looks good to me, but I was just thinking that we are sort-of introducing a bit of inconsistency here, as in other data models we treat empty string as no data, such as the Artefact identifiers (series/repo/..) but here we have nullable field as well.

@omar-selo
Copy link
Collaborator Author

I agree that there's an inconsistency. I followed what we did for ci_link and c3_link which are both nullable. Perhaps it would make sense to open a PR at some point that would make all such examples consistent.

@omar-selo omar-selo merged commit 15a01a2 into main Sep 23, 2024
1 of 2 checks passed
@omar-selo omar-selo deleted the environment-issues-followup branch September 23, 2024 12:04
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