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

BREAKING CHANGE: Rename LmcCookieConsentManager to AlmaCareerCookieConsentManager #397

Closed
wants to merge 1 commit into from

Conversation

OndraM
Copy link
Member

@OndraM OndraM commented Jan 2, 2025

Ref #392.

@OndraM OndraM requested a review from literat as a code owner January 2, 2025 14:52
@github-actions github-actions bot added the BC Breaking change label Jan 2, 2025
Copy link

netlify bot commented Jan 2, 2025

Deploy Preview for cookie-consent-manager ready!

Name Link
🔨 Latest commit 4ed1ffb
🔍 Latest deploy log https://app.netlify.com/sites/cookie-consent-manager/deploys/677bc5f37f2734000872473a
😎 Deploy Preview https://deploy-preview-397--cookie-consent-manager.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@OndraM OndraM force-pushed the bc/alma-career-code-rename branch from 449b202 to 7cbd5e2 Compare January 2, 2025 14:57
@OndraM OndraM force-pushed the bc/settings-to-preferences branch from 46f2c3a to 5f5fd64 Compare January 2, 2025 15:03
@OndraM OndraM force-pushed the bc/alma-career-code-rename branch from 7cbd5e2 to 59db146 Compare January 2, 2025 15:04
@@ -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">
Copy link
Collaborator

Choose a reason for hiding this comment

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

suggestion (if-minor):

Suggested change
<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.

Copy link
Member Author

@OndraM OndraM Jan 4, 2025

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

Copy link
Member Author

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.

Base automatically changed from bc/settings-to-preferences to release/v3 January 6, 2025 11:55
@OndraM
Copy link
Member Author

OndraM commented Jan 6, 2025

Replaced by #400

@OndraM OndraM closed this Jan 6, 2025
@OndraM OndraM deleted the bc/alma-career-code-rename branch January 6, 2025 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BC Breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants