OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Remove dead code
Oliver Günthera9651200c1ff
diff --git a/app/helpers/hide_sections_helper.rb b/app/helpers/hide_sections_helper.rbdeleted file mode 100644index 29b6c444206..00000000000--- a/app/helpers/hide_sections_helper.rb+++ /dev/null@@ -1,40 +0,0 @@-# frozen_string_literal: true--#-- copyright-# OpenProject is an open source project management software.-# Copyright (C) the OpenProject GmbH-#-# This program is free software; you can redistribute it and/or-# modify it under the terms of the GNU General Public License version 3.-#-# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:-# Copyright (C) 2006-2013 Jean-Philippe Lang-# Copyright (C) 2010-2013 the ChiliProject Team-#-# This program is free software; you can redistribute it and/or-# modify it under the terms of the GNU General Public License-# as published by the Free Software Foundation; either version 2-# of the License, or (at your option) any later version.-#-# This program is distributed in the hope that it will be useful,-# but WITHOUT ANY WARRANTY; without even the implied warranty of-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the-# GNU General Public License for more details.-#-# You should have received a copy of the GNU General Public License-# along with this program; if not, write to the Free Software-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.-#-# See COPYRIGHT and LICENSE files for more details.-#++--module HideSectionsHelper- def initialize_hide_sections_with(all, active)- gon.push(- hideSections: {- all:,- active:- }- )- end-enddiff --git a/app/views/common/_tabs.html.erb b/app/views/common/_tabs.html.erbindex 0b062f081ea..7f5d7a02e60 100644--- a/app/views/common/_tabs.html.erb+++ b/app/views/common/_tabs.html.erb@@ -26,8 +26,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.See COPYRIGHT and LICENSE files for more details.++#%>-<% gon.contentTabs = { tabs: tabs.to_json.html_safe, selected: selected_tab.to_json.html_safe } %>-<%= content_tag "div",render(partial: selected_tab[:partial], locals: local_assigns.merge(tab: selected_tab)),id: "tab-content-#{selected_tab[:name]}",diff --git a/frontend/src/app/features/boards/board/board-list/board-inline-create.service.ts b/frontend/src/app/features/boards/board/board-list/board-inline-create.service.tsindex 86c26a070c9..cd2d0d53ffe 100644--- a/frontend/src/app/features/boards/board/board-list/board-inline-create.service.ts+++ b/frontend/src/app/features/boards/board/board-list/board-inline-create.service.ts@@ -26,18 +26,16 @@// See COPYRIGHT and LICENSE files for more details.//++-import {- Injectable,- Injector,-} from '@angular/core';+import { Injectable, Injector } from '@angular/core';import { WorkPackageResource } from 'core-app/features/hal/resources/work-package-resource';-import { WorkPackageRelationsHierarchyService } from 'core-app/features/work-packages/components/wp-relations/wp-relations-hierarchy/wp-relations-hierarchy.service';-import { WorkPackageInlineCreateService } from 'core-app/features/work-packages/components/wp-inline-create/wp-inline-create.service';+import {+ WorkPackageInlineCreateService,+} from 'core-app/features/work-packages/components/wp-inline-create/wp-inline-create.service';import { IsolatedQuerySpace } from 'core-app/features/work-packages/directives/query-space/isolated-query-space';import { HalResourceService } from 'core-app/features/hal/services/hal-resource.service';-import { PathHelperService } from 'core-app/core/path-helper/path-helper.service';-import { BoardInlineAddAutocompleterComponent } from 'core-app/features/boards/board/inline-add/board-inline-add-autocompleter.component';-import { GonService } from 'core-app/core/gon/gon.service';+import {+ BoardInlineAddAutocompleterComponent,+} from 'core-app/features/boards/board/inline-add/board-inline-add-autocompleter.component';import { Observable } from 'rxjs';@Injectable()