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

GB3-1734: Add customParams for attributeFilters and TimeSlider values to print #87

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

TIL-EBP
Copy link
Contributor

@TIL-EBP TIL-EBP commented Dec 11, 2024

Adds custom params to print for attribute filters and timesliders

@TIL-EBP TIL-EBP requested a review from wendlans December 11, 2024 10:08
Copy link
Contributor

@wendlans wendlans left a comment

Choose a reason for hiding this comment

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

It works as expected. However, some details in the implementation are rather rough - I've added some comments. Also, the unit test coverage goal is not met.

src/app/shared/services/apis/gb3/gb3-print.service.ts Outdated Show resolved Hide resolved
@@ -177,6 +180,35 @@ export class Gb3PrintService extends Gb3ApiService {
}

private createGb2WmsPrintItem(activeMapItem: ActiveMapItem, gb2WmsSettings: Gb2WmsSettings): PrintMapItem {
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add some unit tests for this; or extend existing ones to reach the coverage goal.

src/app/shared/services/apis/gb3/gb3-print.service.ts Outdated Show resolved Hide resolved
src/app/shared/services/apis/gb3/gb3-print.service.ts Outdated Show resolved Hide resolved
@TIL-EBP TIL-EBP force-pushed the feature/gb3-1734-custom-params-for-print branch from ef4b602 to 37ba171 Compare December 16, 2024 17:04
Copy link

sonarcloud bot commented Dec 16, 2024

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