Skip to content

fix(PM-1503): Open view score card as public API #17

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

Merged
merged 5 commits into from
Aug 19, 2025
Merged

Conversation

hentrymartin
Copy link
Collaborator

What's in this PR?

  • Open view score card as public API

},
});
// eslint-disable-next-line @typescript-eslint/no-unused-vars, @typescript-eslint/require-await
async cloneScorecard(id: string): Promise<ScorecardResponseDto> {

Choose a reason for hiding this comment

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

The cloneScorecard function has been heavily commented out, which makes it non-functional. If this is intentional for the purpose of this PR, consider removing the function entirely or providing an alternative implementation that aligns with the new public API requirements.

// },
// },
// });
const clonedScorecard = {};

Choose a reason for hiding this comment

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

The clonedScorecard is currently an empty object. Ensure that this aligns with the intended functionality of the public API. If the function is supposed to return a meaningful response, consider implementing the necessary logic to populate clonedScorecard appropriately.

Copy link
Contributor

@kkartunov kkartunov left a comment

Choose a reason for hiding this comment

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

We shouldn't have commented out code sections. Please update @hentrymartin.

@hentrymartin
Copy link
Collaborator Author

We shouldn't have commented out code sections. Please update @hentrymartin.

@kkartunov yeah I had a chat with @vas3a, he said he will fix this that's why commented(without commenting, its not getting deployed in dev environment). @vas3a Please let me know if this is fixed, I will rebase it from feat/scorecards branch.

@vas3a
Copy link
Collaborator

vas3a commented Aug 18, 2025

@kkartunov can we merge this as is for now? Indeed I have an update in my branch for it, but it isn't ready to be pushed/merged.

@hentrymartin
Copy link
Collaborator Author

@kkartunov can we merge this as is for now? Indeed I have an update in my branch for it, but it isn't ready to be pushed/merged.

@kkartunov Keeping this in mind, can I merge this now?

@kkartunov
Copy link
Contributor

@hentrymartin OK. Merging this now and we will follow up when @vas3a rises his PR. Thanks.

@kkartunov kkartunov merged commit 74189c7 into feat/scorecards Aug 19, 2025
2 checks passed
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.

3 participants