Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(DeviceSettings): info alert with a link to the documentation (#2020
) * feat(DeviceSettings): info alert with a link to the documentation 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/ * fix(DeviceSettings): "noreferrer" link * fix(DeviceSettings): fixed code style prettier --check -w "./**/*.{js,jsx,tsx}" * feat(DeviceSettings): styling of docs info alert Centering vertically (perfectionist hell :D) * fix(DeviceSettings): docs info alert icon https://github.com/nurikk/zigbee2mqtt-frontend/pull/2020/commits/ abc0b6e#r1599289271 * style(DeviceSettings): removed unnecessary <div> * refactor(DeviceSettings): extracted ReadTheDocsInfo fixes https://codebeat.co/projects/github-com-nurikk-zigbee2mqtt-frontend-dev/pull_requests/734366 * refactor(DeviceSettings): extracted ReadTheDocsInfo.tsx fixes https://github.com/nurikk/zigbee2mqtt-frontend/actions/runs/9082086095/job/24957557514?pr=2020 * style(DeviceSettings): whitespace `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 * fix(ReadTheDocsInfo): i18n fixes https://github.com/nurikk/zigbee2mqtt-frontend/pull/2020/commits/ 5e27780#r1604031584
- Loading branch information