Skip to content

Documentation Alerts bug fixing #2062

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

Merged
merged 3 commits into from
May 5, 2025

Conversation

Brackets-Coder
Copy link
Contributor

@Brackets-Coder Brackets-Coder commented Mar 31, 2025

Let's try this again.

This makes documentation alerts case-insensitive.

This is the easiest solution and is better than requiring all caps, as the latter breaks the alert's title and formatting.

Putting HTML into block alerts has extra padding due to empty auto-generated <p> elements, planning on fixing whenever I can

@github-actions github-actions bot added the pr: other Pull requests that neither add new extensions or change existing ones label Mar 31, 2025
@Brackets-Coder
Copy link
Contributor Author

Brackets-Coder commented Mar 31, 2025

@yuri-kiss I'm going to want you to review this eventually but let's not merge this until I get the HTML issues fixed, please and thank you so much

@Brackets-Coder Brackets-Coder changed the title Make alerts case-insensitive Documentation Alerts bug fixing Mar 31, 2025
@Brackets-Coder
Copy link
Contributor Author

!format

Copy link

The formatting bot didn't find any formatting issues. It currently only checks the extensions folder. The author or a maintainer can run terminal command 'npm run format' manually to format all files.

@Brackets-Coder
Copy link
Contributor Author

Why does Prettier remove the parentheses around the conditional part of ternary operators? it helps me read it better

@Brackets-Coder
Copy link
Contributor Author

I guess this is acceptable enough now

I fixed some nitpicks with how HTML was formatted

@GarboMuffin
Copy link
Member

if you feel strongly about prettier's choices then you can talk to the prettier people about that but ensuring consistency and not having to really talk about style is sort of why we use it. it was a much larger problem when we were doing eslint rules instead and people would see 1000+ errors if they just used the wrong size tab

@Brackets-Coder
Copy link
Contributor Author

@CubesterYT Want to review this?

@Brackets-Coder
Copy link
Contributor Author

or @yuri-kiss

Copy link
Member

@yuri-kiss yuri-kiss left a comment

Choose a reason for hiding this comment

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

seems fine to me

@yuri-kiss
Copy link
Member

let's not merge this yet though I have some questions

@Brackets-Coder
Copy link
Contributor Author

let's not merge this yet though I have some questions

May I ask what those questions are?

@yuri-kiss
Copy link
Member

let's not merge this yet though I have some questions

May I ask what those questions are?

the one above for one

@Brackets-Coder
Copy link
Contributor Author

let's not merge this yet though I have some questions

May I ask what those questions are?

the one above for one

As for the removed comment, it could go either way. To stay or not to stay? That is the question. It's up to you to answer. As for any other questions you might have, I might have an answer.

@yuri-kiss yuri-kiss merged commit 44899ef into TurboWarp:master May 5, 2025
3 checks passed
@Brackets-Coder Brackets-Coder deleted the docs-enhancement-2 branch May 5, 2025 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: other Pull requests that neither add new extensions or change existing ones
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants