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(DeviceSettings): info alert with a link to the documentation #2020

Merged
merged 10 commits into from May 17, 2024

Conversation

MacDada
Copy link
Contributor

@MacDada MacDada commented May 11, 2024

Screenshot 2024-05-14 at 10 26 29

The link to the docs allows the user to quickly find what are the settings options for.

I personally was looking for what is "Disabled" option actually doing.

I wasn't sure how to style it -> if there is a better (maybe some kind of "standard") way of injecting this kind of info alerts, I will happily improve the PR :-)

Allows the user to quickly find what are the settings options for.

I personally was looking for what is "Disabled" option actually doing.

The info icon generated using:
* https://getbootstrap.com/docs/5.0/components/alerts/#icons
* https://icons.getbootstrap.com/icons/info-circle-fill/
prettier --check -w "./**/*.{js,jsx,tsx}"
`prettier --check "./**/*.{js,jsx,tsx}" -w`

fixes https://github.com/nurikk/zigbee2mqtt-frontend/actions/runs/9082225515/job/24958031689

I actually think it's more readable with the code being split into multiply lines…
Not sure why the `prettier` did not like it ;p
@nurikk
Copy link
Owner

nurikk commented May 17, 2024

Terrific job! Thanks

@nurikk nurikk merged commit 152942d into nurikk:dev May 17, 2024
3 checks passed
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.

None yet

4 participants