Deprecate segmented control > /analytics/contribution_analytics/components/date_selector.vue
Background
In &7261 we are looking into whether we can deprecate segemented controls. In order to do so, we need to audit existing uses of the component and determine whether it can be migrated to a different component.
Details
-
Delete ee/app/assets/javascripts/analytics/contribution_analytics/components/date_selector.vue
and associated tests/code -
Implement similar behaviour using gl_tabs_nav
in Rails/HAML. -
Get approval from UX in merge request.
References
- For some general guidance on using
gl_tabs_nav
, see &7078 (closed) - For more details about this decision, see !79524 (comment 871589434) .
Screenshot
Before | After |
---|---|
![]() |
Edited by Mark Florian