OpenFn / lightning

OpenFn/Lightning ⚡️ is the newest version of the OpenFn DPG and provides a web UI to visually manage complex workflow automation projects.
https://openfn.github.io/lightning/
GNU Lesser General Public License v3.0
115 stars 31 forks source link

workflow-diagram: Reduce min zoom #2222

Closed josephjclark closed 2 days ago

josephjclark commented 3 days ago

This PR simply reduces the min-zoom level, letting you zoom further out on big diagrams

This is a simple fix and won't work in all cases. It probably also zooms too far out so maybe is annoying?

I've raised this as a better solution: https://github.com/OpenFn/lightning/issues/2221

Closes #2214

josephjclark commented 3 days ago

@christad92 this diff is trivial from a technical perspective. Could you run some QA and make sure it seems OK from a product POV?

codecov[bot] commented 3 days ago

Codecov Report

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

Project coverage is 89.68%. Comparing base (9423bd7) to head (6409b5c).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2222 +/- ## ========================================== + Coverage 89.67% 89.68% +0.01% ========================================== Files 275 275 Lines 9055 9055 ========================================== + Hits 8120 8121 +1 + Misses 935 934 -1 ```

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