Remove legacy Service Desk list view
Once service_desk_vue_list
( #415385 (closed)) is enabled by default, we should remove legacy view for Service Desk issues list. Here is the scope of it:
Frontend
-
app/views/projects/issues/service_desk.html.haml: Keep what's in the
if
statement. Remove the entireelse
block (renderingnav
,nav_btns
,search_bar
,service_desk_info_content
,issues
). Remove= render "projects/issues/service_desk/nav_btns"
from breadcrumbs. - app/views/projects/issues/service_desk/_service_desk_info_content.html.haml: remove the file
- app/views/projects/issues/service_desk/_service_desk_empty_state.html.haml: remove the file
- app/views/projects/issues/service_desk/_nav_btns.html.haml: remove the file
-
app/views/projects/issues/_issues.html.haml: remove the file (I didn't find any other references for it, when I searched codebase-wide for
= render 'projects/issues/issues'
) - app/views/projects/issues/service_desk/icons/_service_desk_empty_state.svg: remove the file
Feature tests
-
spec/features/issues/service_desk_spec.rb: make context
'when service_desk_vue_list feature flag is enabled'
a default set of assertions. Keepdescribe 'navigation to service desk'
block. Remove everything else.
Edited by Paulina Sedlak-Jakubowska