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

feat: add EOF banner #609

Merged
merged 5 commits into from
Aug 5, 2024
Merged

feat: add EOF banner #609

merged 5 commits into from
Aug 5, 2024

Conversation

amareshsm
Copy link
Member

@amareshsm amareshsm commented Aug 1, 2024

Prerequisites checklist

What is the purpose of this pull request?

What changes did you make? (Give an overview)

Added EOL banner. (Addressed point no. 1 #594 (comment))

Desktop Mobile
Screenshot 2024-08-03 at 1 35 01 AM Screenshot 2024-08-03 at 1 34 33 AM
Screenshot 2024-08-03 at 1 35 15 AM Screenshot 2024-08-03 at 1 34 10 AM

Related Issues

#594

Is there anything you'd like reviewers to focus on?

1. banner colour option selection for both dark and light themes.
2. which link should be associated with the "long-term support" option text?

Copy link

netlify bot commented Aug 1, 2024

Deploy Preview for new-eslint ready!

Name Link
🔨 Latest commit c93192c
🔍 Latest deploy log https://app.netlify.com/sites/new-eslint/deploys/66b0e5b556f2d90008d84ae7
😎 Deploy Preview https://deploy-preview-609--new-eslint.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.

Copy link

netlify bot commented Aug 1, 2024

Deploy Preview for es-eslint ready!

Name Link
🔨 Latest commit c93192c
🔍 Latest deploy log https://app.netlify.com/sites/es-eslint/deploys/66b0e5b5c4c04a00092ec396
😎 Deploy Preview https://deploy-preview-609--es-eslint.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.

Copy link

netlify bot commented Aug 1, 2024

Deploy Preview for zh-hans-eslint ready!

Name Link
🔨 Latest commit c93192c
🔍 Latest deploy log https://app.netlify.com/sites/zh-hans-eslint/deploys/66b0e5b540f2470008bb5d1a
😎 Deploy Preview https://deploy-preview-609--zh-hans-eslint.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.

Copy link

netlify bot commented Aug 1, 2024

Deploy Preview for ja-eslint ready!

Name Link
🔨 Latest commit c93192c
🔍 Latest deploy log https://app.netlify.com/sites/ja-eslint/deploys/66b0e5b5b6ee570008924540
😎 Deploy Preview https://deploy-preview-609--ja-eslint.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.

Copy link

netlify bot commented Aug 1, 2024

Deploy Preview for fr-eslint ready!

Name Link
🔨 Latest commit c93192c
🔍 Latest deploy log https://app.netlify.com/sites/fr-eslint/deploys/66b0e5b5267456000832fb8d
😎 Deploy Preview https://deploy-preview-609--fr-eslint.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.

Copy link

netlify bot commented Aug 1, 2024

Deploy Preview for hi-eslint ready!

Name Link
🔨 Latest commit c93192c
🔍 Latest deploy log https://app.netlify.com/sites/hi-eslint/deploys/66b0e5b5ba57f60008c008fa
😎 Deploy Preview https://deploy-preview-609--hi-eslint.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.

Copy link

netlify bot commented Aug 1, 2024

Deploy Preview for de-eslint ready!

Name Link
🔨 Latest commit c93192c
🔍 Latest deploy log https://app.netlify.com/sites/de-eslint/deploys/66b0e5b57dbbb6000885cc50
😎 Deploy Preview https://deploy-preview-609--de-eslint.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.

Copy link

netlify bot commented Aug 1, 2024

Deploy Preview for pt-br-eslint ready!

Name Link
🔨 Latest commit c93192c
🔍 Latest deploy log https://app.netlify.com/sites/pt-br-eslint/deploys/66b0e5b53370dc0008038dcd
😎 Deploy Preview https://deploy-preview-609--pt-br-eslint.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.


a {
color: var(--body-background-color);
padding: 0 4px;
Copy link
Member

Choose a reason for hiding this comment

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

I don't think you would need padding to anchor element if you were using <p> tag for content? It would preserve white space for you?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, we can use the p tag and remove the margin. However, in the mobile view, the text jumps to a new line because the p tag uses the display: block property.

@nzakas
Copy link
Member

nzakas commented Aug 2, 2024

Thanks for putting this together. It looks like the hourglass is aligned to the text baseline, but it should be vertically centered in the banner. It appears there may be some extra space at the bottom of the hour glass?
Screenshot 2024-08-02 at 10-05-27 Find and fix problems in your JavaScript code - ESLint - Pluggable JavaScript Linter

We had decided not to use the bright purple banner as it was too aggressive. We were going to use the gray in option 1 of this comment.

"Long-term support options" should link to /version-support.

I would also adjust the text in the banner to read:

ESLint v8.x end-of-life is 2024-10-05 and will not be maintained after that. Upgrade or consider long-term support options.

Co-authored-by: Nicholas C. Zakas <[email protected]>
Copy link
Member

@nzakas nzakas left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@nzakas nzakas merged commit 7cea70b into main Aug 5, 2024
37 checks passed
@nzakas nzakas deleted the add-eslint-deprecation-banner branch August 5, 2024 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Complete
Development

Successfully merging this pull request may close these issues.

4 participants