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(playground): remove import sorting tab, rename import sorting to assist, add rule domains #1727

Merged
merged 1 commit into from
Feb 14, 2025

Conversation

dyc3
Copy link
Contributor

@dyc3 dyc3 commented Feb 5, 2025

Summary

This fully removes the import sorting tab and makes the UI changes necessary to show "Assist" instead of "Import sorting".

It also adds UI for being able to specify rule domains. I'm not entirely sure what to do with the Lint Rules option though. Open to suggestions.

Caution

This PR is stacked on the following PRs. Do not merge it without merging the others and rebasing this branch. To review this PR, look at the last commit only.

Copy link

netlify bot commented Feb 5, 2025

Deploy Preview for biomejs ready!

Name Link
🔨 Latest commit bc156a5
🔍 Latest deploy log https://app.netlify.com/sites/biomejs/deploys/67af31958a05bc00086c03f9
😎 Deploy Preview https://deploy-preview-1727--biomejs.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.

@dyc3 dyc3 changed the title refactor(playground): remove import sorting tab, rename import sorting to assist feat(playground): remove import sorting tab, rename import sorting to assist Feb 5, 2025
@dyc3 dyc3 force-pushed the playground-next-features branch 2 times, most recently from cf81809 to caa3beb Compare February 6, 2025 14:58
@dyc3 dyc3 force-pushed the playground-next-features branch 2 times, most recently from 9bfa5db to 3da4b3d Compare February 13, 2025 21:47
@dyc3 dyc3 changed the base branch from main to next February 13, 2025 21:48
@dyc3 dyc3 marked this pull request as ready for review February 13, 2025 21:48
@dyc3 dyc3 marked this pull request as draft February 13, 2025 21:49
@dyc3 dyc3 changed the title feat(playground): remove import sorting tab, rename import sorting to assist feat(playground): remove import sorting tab, rename import sorting to assist, add rule domains Feb 13, 2025
@dyc3 dyc3 marked this pull request as ready for review February 13, 2025 22:36
@dyc3 dyc3 requested review from a team February 13, 2025 22:38
@ematipico
Copy link
Member

ematipico commented Feb 14, 2025

Not sure what happened, but the Assist tab isn't visible from mobile

@dyc3
Copy link
Contributor Author

dyc3 commented Feb 14, 2025

All analyzer fixes are emitted in the Analyzer Fixes tab, both lints and assists, which I can see on mobile. This was done in the previous pr #1722, because I thought it made the most sense. I can also see the "Assist options" section in the settings tab on mobile. I'm not sure what you're referring to.

@dyc3 dyc3 force-pushed the playground-next-features branch from 3da4b3d to effd931 Compare February 14, 2025 11:44
@dyc3 dyc3 force-pushed the playground-next-features branch 2 times, most recently from 97d3914 to df9b698 Compare February 14, 2025 11:56
@dyc3
Copy link
Contributor Author

dyc3 commented Feb 14, 2025

I've fixed it so that rule domain settings end up in saved in and loaded from the url, among other obvious things. Should be ready to merge.

@ematipico
Copy link
Member

There's a small bug I found, but it's not related to this PR.

On mobile, the tab settings doesn't scroll

@dyc3 dyc3 merged commit ddbae9c into next Feb 14, 2025
7 checks passed
@dyc3 dyc3 deleted the playground-next-features branch February 14, 2025 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants