Refactor trial widget data for sidebar into presenter pattern
What does this MR do and why?
Move to using a presenter pattern for trial concerns in the sidebar helper.
This helps reduce logic at the helper layer and store it in a more isolated/testable area by using a presenter pattern.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
no change
How to set up and validate locally
note: covered by ee/spec/features/trials/duo_pro/trial_widget_in_sidebar_spec.rb
and ee/spec/features/trials/trial_widget_in_sidebar_spec.rb
Related to #460679 (closed)
Edited by Doug Stull