FE: Allow customers to extend or reactivate their trial on gitlab.com
This is the frontend issue for #290278 (closed)
Design
Development plan
Task | MR |
---|---|
Create a small Vue component that can be rendered as a standalone app rendering a button that displays a modal with Cancel and [Extend/Reactivate] actions. This component needs these fields: namespace_id and trial_extension_type , namespace.can_extend? , namespace.can_reactivate? , and extend_reactivate_trials_path . We should not include the glm_params .
|
|
Render the component in the subscription_table and mount a minimal app rendering the same thing the billing_plan_header |
Availability & Testing
This change will require Vue frontend specs to assert the operability of the new Vue component.
- Cancel button works
- Validation of each field and their permutations
Additionally a feature spec should be written to test the billing plan header renders the component and works through the feature flow.
Edited by Amanda Rueda