AlchemyCMS / alchemy_cms

Alchemy is the Open Source Rails CMS framework for the component based web that can be used as classic server side rendered or headless CMS.
https://www.alchemy-cms.com
BSD 3-Clause "New" or "Revised" License
823 stars 311 forks source link

Add Toolbar button component #2800

Closed tvdeyen closed 5 months ago

tvdeyen commented 5 months ago

What is this pull request for?

Instead of rendering a partial with logic inside of private methods in the Alchemy::Admin::BaseHelper we introduce a well tested VieComponent.

Checklist

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.89%. Comparing base (e7feafb) to head (d3cf6f3).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2800 +/- ## ========================================== + Coverage 95.88% 95.89% +0.01% ========================================== Files 223 224 +1 Lines 6082 6097 +15 ========================================== + Hits 5832 5847 +15 Misses 250 250 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.