-
Notifications
You must be signed in to change notification settings - Fork 3
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
BREAKING CHANGE: Rename LmcCookieConsentManager to AlmaCareerCookieConsentManager #397
Conversation
✅ Deploy Preview for cookie-consent-manager ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
449b202
to
7cbd5e2
Compare
46f2c3a
to
5f5fd64
Compare
7cbd5e2
to
59db146
Compare
@@ -38,7 +38,7 @@ Load default CSS along with your styles in `<head>`: | |||
|
|||
```html | |||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap"> | |||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@lmc-eu/cookie-consent-manager@2/LmcCookieConsentManager.min.css"> | |||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@lmc-eu/cookie-consent-manager@2/AlmaCareerCookieConsentManager.min.css"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion (if-minor):
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@lmc-eu/cookie-consent-manager@2/AlmaCareerCookieConsentManager.min.css"> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@almacareer/cookie-consent-manager@2/CookieConsentManager.min.css"> |
Two points:
- I think you forget to rename a package scope from
@lmc-eu
->@almacareer
- Do we still need to use a prefix for the file? Isn't
CookieConsentManager
just enough? Because, I think, now the name of the file and the function names are way too long. And since this is a BC we can do better, IMHO.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you forget to rename a package scope from @lmc-eu -> @almacareer
It will be done in a separate issue, see #391
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can do better
I'm not sure whether it is actually better. The idea behind the prefix was/is to clearly distinguish from the underlying cookieconsent library.
However, you are right the name is now a bit long (I wouldn't say too long, but definitely longer than before 😄 ).
I will prepare second PR without the AlmaCareer prefix, to see how it looks, and we may choose that one.
…nsentManager (part of #392)
59db146
to
4ed1ffb
Compare
Replaced by #400 |
Ref #392.