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

PR: focus-group support toolbar #19

Merged
merged 10 commits into from
Mar 27, 2024

Conversation

dmitry-kurmanov
Copy link
Contributor

work for the #17

focus-group.js Outdated

function getToolbarItems(group) {
let items = [...group.querySelectorAll('*')]
return items.filter((item)=> {
Copy link
Owner

Choose a reason for hiding this comment

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

Format is not according to Prettier

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Previously I used only Editor Config for the project should I install Prettier auto formatter ?

Copy link
Owner

Choose a reason for hiding this comment

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

Editor Config is for general settings (indent, new line format, etc).

Prettier is about formatting the code, where to add spaces, etc.

I recommend installing it since it is an industry standard nowadays.

But you can keep code formatting manually if you don’t want to install it.

Copy link
Contributor Author

@dmitry-kurmanov dmitry-kurmanov Mar 25, 2024

Choose a reason for hiding this comment

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

formatted

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Prettier is awesome I just clarified the info

focus-group.js Show resolved Hide resolved
@ai
Copy link
Owner

ai commented Mar 25, 2024

Ping me when PR will be ready for review

@dmitry-kurmanov dmitry-kurmanov marked this pull request as ready for review March 26, 2024 09:55
@dmitry-kurmanov dmitry-kurmanov requested a review from ai March 26, 2024 09:55
@@ -1,4 +1,6 @@
const ROLES = {
Copy link
Owner

Choose a reason for hiding this comment

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

Update package.jsonsize-limit

</div>
</div>
```

Copy link
Owner

Choose a reason for hiding this comment

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

Let’ add a text that button must have type=button.

@dmitry-kurmanov dmitry-kurmanov requested a review from ai March 27, 2024 17:11
@ai ai merged commit 57f4a21 into ai:main Mar 27, 2024
4 checks passed
@ai
Copy link
Owner

ai commented Mar 27, 2024

Thanks. Released in 0.6.

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