Skip to content

chore(website): use less text for type checked filter #7993

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

Conversation

JoshuaKGoldberg
Copy link
Member

PR Checklist

Overview

Uses slightly smaller text for the biggest button on the page.

Before After
Before screenshot showing all buttons on one line, with 'requires type information' as the type checking label After screenshot showing all buttons on one line, with 'type checked' as the type checking label

@typescript-eslint
Copy link
Contributor

Thanks for the PR, @JoshuaKGoldberg!

typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community.

The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately.

Thanks again!


🙏 Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently on https://opencollective.com/typescript-eslint.

Copy link

netlify bot commented Nov 24, 2023

Deploy Preview for typescript-eslint ready!

Name Link
🔨 Latest commit 0fb337e
🔍 Latest deploy log https://app.netlify.com/sites/typescript-eslint/deploys/6560b62c88848600082433fd
😎 Deploy Preview https://deploy-preview-7993--typescript-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 89 (🔴 down 2 from production)
Accessibility: 100 (no change from production)
Best Practices: 92 (no change from production)
SEO: 98 (no change from production)
PWA: 80 (no change from production)
View the detailed breakdown and full score reports

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

@JoshuaKGoldberg JoshuaKGoldberg changed the title chore(website): use smaller text for type checked filter chore(website): use less text for type checked filter Nov 24, 2023
Copy link
Contributor

@StyleShit StyleShit left a comment

Choose a reason for hiding this comment

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

that's a great nit!

Copy link
Member

@Josh-Cena Josh-Cena left a comment

Choose a reason for hiding this comment

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

Is the notion of "type checked" mentioned anywhere? To me it could be interpreted as "the rule itself is type checked" and that other rules are like ESLint core rules (just JavaScript running rogue). Me playing devil's advocate though.

@Josh-Cena
Copy link
Member

Mmmm, I see that the preset is called recommended-type-checked. Maybe that counts as one occasion.

@@ -231,7 +231,7 @@ export default function RulesTable(): React.JSX.Element {
setMode={(newMode): void =>
changeFilter('typeInformation', newMode)
}
label={`${TYPE_INFORMATION_EMOJI} requires type information`}
label={`${TYPE_INFORMATION_EMOJI} type checked`}
Copy link
Member Author

Choose a reason for hiding this comment

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

cc @Zamiell, following up on #7666 (comment) 👋

@@ -231,7 +231,7 @@ export default function RulesTable(): React.JSX.Element {
setMode={(newMode): void =>
changeFilter('typeInformation', newMode)
}
label={`${TYPE_INFORMATION_EMOJI} requires type information`}
label={`${TYPE_INFORMATION_EMOJI} type checked`}
Copy link
Member Author

Choose a reason for hiding this comment

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

@Josh-Cena from #7993 (review) and #7993 (review):

Is the notion of "type checked" mentioned anywhere? To me it could be interpreted as "the rule itself is type checked" and that other rules are like ESLint core rules (just JavaScript running rogue). Me playing devil's advocate though.

Mmmm, I see that the preset is called recommended-type-checked. Maybe that counts as one occasion.

Yeah I think the phrase "type checked" is a good one for us to repeat. It's pretty succinct and I can't think of anything more clear.

@JoshuaKGoldberg JoshuaKGoldberg merged commit ac3d5bd into typescript-eslint:main Dec 2, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Website: Shrink metadata button texts in RulesTable
4 participants