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

chore(docs): updates desc of methods #340

Merged
merged 4 commits into from
Feb 20, 2025
Merged

chore(docs): updates desc of methods #340

merged 4 commits into from
Feb 20, 2025

Conversation

pavankjadda
Copy link
Collaborator

closes #339

BREAKING CHANGE: adds angular 19 support
# Conflicts:
#	package-lock.json
#	package.json
#	projects/ngx-cookie-service-ssr/package.json
#	projects/ngx-cookie-service/package.json
@pavankjadda pavankjadda requested a review from Copilot February 20, 2025 21:47
@pavankjadda pavankjadda self-assigned this Feb 20, 2025
Copy link

Hello 👋 @pavankjadda
Thank you for raising your pull request. Please make sure you have followed our contributing guidelines. We will review it as soon as possible.

Copy link

@pavankjadda pavankjadda merged commit 27f751a into master Feb 20, 2025
4 of 5 checks passed
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

Comments suppressed due to low confidence (1)

projects/ngx-cookie-service/src/lib/cookie.service.ts:272

  • [nitpick] The phrase 'If not path is not specified' is awkward; revising it to 'If no path is specified, all cookies at '/' path will be deleted.' would improve clarity.
* Delete all cookies at given path and domain. If not path is not specified, all cookies at '/' path will be deleted.

@@ -233,7 +233,7 @@ export class SsrCookieService {
}

/**
* Delete cookie by name
* Delete cookie by name at given path and domain. If not path is not specified, cookie at '/' path will be deleted.
Copy link
Preview

Copilot AI Feb 20, 2025

Choose a reason for hiding this comment

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

[nitpick] The phrasing 'If not path is not specified' is grammatically incorrect. Consider changing it to 'If no path is specified, cookie at '/' path will be deleted.'

Suggested change
* Delete cookie by name at given path and domain. If not path is not specified, cookie at '/' path will be deleted.
* Delete cookie by name at given path and domain. If no path is specified, cookie at '/' path will be deleted.

Copilot is powered by AI, so mistakes are possible. Review output carefully before use.

Positive Feedback
Negative Feedback

Provide additional feedback

Please help us improve GitHub Copilot by sharing more details about this comment.

Please select one or more of the options
@@ -253,7 +253,7 @@ export class SsrCookieService {
}

/**
* Delete all cookies
* Delete all cookies at given path and domain. If not path is not specified, all cookies at '/' path will be deleted.
Copy link
Preview

Copilot AI Feb 20, 2025

Choose a reason for hiding this comment

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

[nitpick] The comment contains the phrase 'If not path is not specified' which is unclear; consider revising it to 'If no path is specified, all cookies at '/' path will be deleted.'

Suggested change
* Delete all cookies at given path and domain. If not path is not specified, all cookies at '/' path will be deleted.
* Delete all cookies at given path and domain. If no path is specified, all cookies at '/' path will be deleted.

Copilot is powered by AI, so mistakes are possible. Review output carefully before use.

Positive Feedback
Negative Feedback

Provide additional feedback

Please help us improve GitHub Copilot by sharing more details about this comment.

Please select one or more of the options
@@ -252,7 +249,7 @@ export class CookieService {
}

/**
* Delete cookie by name
* Delete cookie by name at given path and domain. If not path is not specified, cookie at '/' path will be deleted.
Copy link
Preview

Copilot AI Feb 20, 2025

Choose a reason for hiding this comment

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

[nitpick] The doc comment uses 'If not path is not specified' which is grammatically incorrect. Please change it to 'If no path is specified, cookie at '/' path will be deleted.'

Suggested change
* Delete cookie by name at given path and domain. If not path is not specified, cookie at '/' path will be deleted.
* Delete cookie by name at given path and domain. If no path is specified, cookie at '/' path will be deleted.

Copilot is powered by AI, so mistakes are possible. Review output carefully before use.

Positive Feedback
Negative Feedback

Provide additional feedback

Please help us improve GitHub Copilot by sharing more details about this comment.

Please select one or more of the options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lacking null checks and improved method description and running tests
1 participant