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

fix(leadPictureId): responding image id for service offer type #1042

Conversation

tfjanjua
Copy link
Contributor

Description

Responding leadPictureId for services and updated the response of following APIs, including test cases:

  • /api/services/active
  • /api/services/{serviceId}

Why

Default/hard coded service images displaying on “Service Marketplace“ but actual service image should display.

Issue

Ref: 1040

Checklist

  • I have followed the contributing guidelines
  • I have performed a self-review of my own code
  • I have successfully tested my changes locally
  • I have added tests that prove my changes work
  • I have checked that new and existing tests pass locally with my changes

responding leadPictureId for services and updated the response of following APIs, including test cases:
- /api/services/active
- /api/services/{serviceId}

Ref: 1040
@tfjanjua tfjanjua added the bug Something isn't working label Sep 27, 2024
@tfjanjua tfjanjua self-assigned this Sep 27, 2024
@tfjanjua tfjanjua marked this pull request as ready for review September 27, 2024 10:00
Copy link
Contributor

@ntruchsess ntruchsess left a comment

Choose a reason for hiding this comment

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

see comments

@Usmanfee
Copy link

Usmanfee commented Oct 4, 2024

@tfjanjua here is the FE draft PR FYI : eclipse-tractusx/portal-frontend#1197
upstream issue: eclipse-tractusx/portal-frontend#1195. :)

@ntruchsess ntruchsess linked an issue Oct 7, 2024 that may be closed by this pull request
Copy link

sonarcloud bot commented Oct 7, 2024

@ntruchsess ntruchsess dismissed Phil91’s stale review October 7, 2024 20:43

relevant changes are implemented

@ntruchsess
Copy link
Contributor

@tfjanjua @MaximilianHauer shall we wait for the FE-PR eclipse-tractusx/portal-frontend#1197 to be also ready before merging this PR? (The LeadImageUrl that has been added to the api reponses would be silently ignored by the FE until then).

@tfjanjua
Copy link
Contributor Author

tfjanjua commented Oct 8, 2024

Thanks for the review @ntruchsess
I see @MaximilianHauer has added FE-ticket (eclipse-tractusx/portal-frontend#1195) into Backlog but we need this change as part of our release because this hard coded or static image of Service offer type would be a bad user experience for our customers.

cc: @ybidois | @Usmanfee

@MaximilianHauer
Copy link

@tfjanjua backlog does not mean that you are not allowed to contribute ;) :D

what i dont understand is that you contribute two times the same issue with different PR. can you align on what we should focus on ?

eclipse-tractusx/portal-frontend#1195
#1040

@tfjanjua
Copy link
Contributor Author

tfjanjua commented Oct 9, 2024

@tfjanjua backlog does not mean that you are not allowed to contribute ;) :D

what i dont understand is that you contribute two times the same issue with different PR. can you align on what we should focus on ?

eclipse-tractusx/portal-frontend#1195 #1040

Thanks for the feedback @MaximilianHauer
The links of tickets you have mentioned are two different tickets from two different repositories but for same functionality because I have added one param in response of API and frontend supposed to accommodate that new param in frontend UI.

Please let me know if you have any question.

@ntruchsess
Copy link
Contributor

ntruchsess commented Oct 10, 2024

@tfjanjua As discussed with @MaximilianHauer I'm merging this PR as it's save to add those urls to the api-response - please discuss on how to proceed with the corresponding FE-changes in the respective tickets.

@ntruchsess ntruchsess merged commit dfda983 into eclipse-tractusx:main Oct 10, 2024
11 checks passed
@tfjanjua
Copy link
Contributor Author

Thanks for the merge @ntruchsess | @MaximilianHauer
PR with changes (related to leadPictureId) are also ready in FE repo: eclipse-tractusx/portal-frontend#1197

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: USER READY
Development

Successfully merging this pull request may close these issues.

Service Marketplace | Hard coded images are displaying.
6 participants