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 sort to action user inputs #182

Merged
merged 3 commits into from
Sep 8, 2024
Merged

Conversation

Eyal-Be
Copy link
Contributor

@Eyal-Be Eyal-Be commented Sep 5, 2024

Description

What - added sort to self service actions user inputs
Why - to enable entities selection sort in the UI
How - added sort to relevant models

Type of change

Please leave one option from the following and delete the rest:

  • New feature (non-breaking change which adds functionality)

@Eyal-Be Eyal-Be force-pushed the add-sort-to-action-user-inputs branch 4 times, most recently from 77d564e to f428684 Compare September 5, 2024 13:57
@Eyal-Be Eyal-Be force-pushed the add-sort-to-action-user-inputs branch from bf8aecb to a74e1ee Compare September 5, 2024 14:10
Copy link
Member

@erikzaadi erikzaadi left a comment

Choose a reason for hiding this comment

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

2.5 small NITs

@@ -2192,3 +2192,73 @@ func TestRequiredApprovalAll(t *testing.T) {
},
})
}

Copy link
Member

Choose a reason for hiding this comment

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

In one of the other tests, please add an assertion that the sort property isn't there

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@@ -88,6 +88,16 @@ resource "port_action" "restart_microservice" {
default = "https://example.com"
pattern = "^https://.*"
}
service = {
Copy link
Member

Choose a reason for hiding this comment

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

Could you run terraform fmt on this pretty plz?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

check how it looks locally

@@ -1111,6 +1153,10 @@ resource "port_action" "create_microservice" {
}]
})
}
sort = {
Copy link
Member

Choose a reason for hiding this comment

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

Is it me or is the indent here a bit askew?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

check how it looks locally

@Eyal-Be Eyal-Be closed this Sep 8, 2024
@Eyal-Be Eyal-Be reopened this Sep 8, 2024
@Eyal-Be Eyal-Be requested a review from erikzaadi September 8, 2024 11:05
Copy link
Member

@erikzaadi erikzaadi left a comment

Choose a reason for hiding this comment

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

@Eyal-Be Eyal-Be merged commit 99381ce into main Sep 8, 2024
5 of 6 checks passed
@Eyal-Be Eyal-Be deleted the add-sort-to-action-user-inputs branch September 8, 2024 12:08
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