bluzky / salad_ui

Phoenix Liveview component library inspired by shadcn UI
https://salad-storybook.fly.dev/welcome
MIT License
417 stars 24 forks source link

Added Checkbox tests #13

Closed kamaroly closed 3 months ago

kamaroly commented 3 months ago

Changelog:

  1. Added status badges
  2. Added unit tests for checkbox component
  3. Removed field from checkbox. It's not applicable <.checkbox field={@form[:remember_me]} />

Summary by Sourcery

This pull request enhances the checkbox component by removing the unnecessary 'field' attribute, adds status badges to the README.md for better project visibility, and introduces unit tests to verify the correct rendering of the checkbox component.

sourcery-ai[bot] commented 3 months ago

Reviewer's Guide by Sourcery

This pull request introduces several changes: it adds status badges to the README, includes unit tests for the checkbox component, and removes an inapplicable field from the checkbox component's documentation.

File-Level Changes

Files Changes
README.md Added various status badges to the README for better project visibility and status tracking.
lib/salad_ui/checkbox.ex
test/salad_ui/checkbox_test.exs
Updated the checkbox component by removing an inapplicable field and added unit tests to ensure its correct rendering.

Tips - Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request. - You can change your review settings at any time by accessing your [dashboard](https://sourcery.ai/dashboard): - Enable or disable the Sourcery-generated pull request summary or reviewer's guide; - Change the review language; - You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.