2022-03-31 08:32:42 +00:00
|
|
|
//
|
|
|
|
// Copyright © 2022 Hardcore Engineering Inc.
|
|
|
|
//
|
|
|
|
// Licensed under the Eclipse Public License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License. You may
|
|
|
|
// obtain a copy of the License at https://www.eclipse.org/legal/epl-2.0
|
|
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
//
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
//
|
|
|
|
|
2023-10-07 20:14:00 +00:00
|
|
|
import { loadMetadata } from '@hcengineering/platform'
|
|
|
|
import tracker from '@hcengineering/tracker'
|
2022-03-31 08:32:42 +00:00
|
|
|
|
|
|
|
const icons = require('../assets/icons.svg') as string // eslint-disable-line
|
|
|
|
loadMetadata(tracker.icon, {
|
|
|
|
TrackerApplication: `${icons}#tracker`,
|
2023-03-17 06:17:53 +00:00
|
|
|
Component: `${icons}#component`,
|
2022-03-31 08:32:42 +00:00
|
|
|
Issue: `${icons}#issue`,
|
2023-05-19 02:13:35 +00:00
|
|
|
Subissue: `${icons}#sub-issue`,
|
2023-03-17 06:17:53 +00:00
|
|
|
Project: `${icons}#project`,
|
2023-05-19 02:13:35 +00:00
|
|
|
Relations: `${icons}#relations`,
|
2022-04-02 04:06:48 +00:00
|
|
|
Inbox: `${icons}#inbox`,
|
|
|
|
MyIssues: `${icons}#myissues`,
|
|
|
|
Views: `${icons}#views`,
|
2023-04-05 07:14:32 +00:00
|
|
|
Issues: `${icons}#issues`,
|
2023-03-17 06:17:53 +00:00
|
|
|
Components: `${icons}#components`,
|
2023-05-19 02:13:35 +00:00
|
|
|
NewIssue: `${icons}#new-issue`,
|
2022-04-02 04:06:48 +00:00
|
|
|
Magnifier: `${icons}#magnifier`,
|
|
|
|
Home: `${icons}#home`,
|
2022-11-17 04:31:42 +00:00
|
|
|
RedCircle: `${icons}#red-circle`,
|
2022-04-08 06:27:02 +00:00
|
|
|
Labels: `${icons}#priority-nopriority`, // TODO: add icon
|
2023-05-19 02:13:35 +00:00
|
|
|
DueDate: `${icons}#dueDate`, // TODO: add icon
|
|
|
|
Parent: `${icons}#parent-issue`, // TODO: add icon
|
2023-05-16 11:56:29 +00:00
|
|
|
Milestone: `${icons}#milestone`,
|
2023-04-05 07:14:32 +00:00
|
|
|
IssueTemplates: `${icons}#issuetemplates`,
|
2023-02-03 05:47:25 +00:00
|
|
|
Start: `${icons}#start`,
|
|
|
|
Stop: `${icons}#stop`,
|
2022-04-08 06:27:02 +00:00
|
|
|
|
2022-04-23 16:59:57 +00:00
|
|
|
CategoryBacklog: `${icons}#status-backlog`,
|
|
|
|
CategoryUnstarted: `${icons}#status-todo`,
|
|
|
|
CategoryStarted: `${icons}#status-inprogress`,
|
|
|
|
CategoryCompleted: `${icons}#status-done`,
|
|
|
|
CategoryCanceled: `${icons}#status-canceled`,
|
2022-04-02 04:06:48 +00:00
|
|
|
PriorityNoPriority: `${icons}#priority-nopriority`,
|
|
|
|
PriorityUrgent: `${icons}#priority-urgent`,
|
|
|
|
PriorityHigh: `${icons}#priority-high`,
|
|
|
|
PriorityMedium: `${icons}#priority-medium`,
|
2022-05-18 05:35:34 +00:00
|
|
|
PriorityLow: `${icons}#priority-low`,
|
|
|
|
|
2023-03-17 06:17:53 +00:00
|
|
|
ComponentsList: `${icons}#list`,
|
2022-06-14 03:03:41 +00:00
|
|
|
|
2023-05-16 11:56:29 +00:00
|
|
|
MilestoneStatusPlanned: `${icons}#component-status-planned`,
|
|
|
|
MilestoneStatusInProgress: `${icons}#component-status-in-progress`,
|
|
|
|
MilestoneStatusPaused: `${icons}#component-status-paused`,
|
|
|
|
MilestoneStatusCompleted: `${icons}#component-status-completed`,
|
|
|
|
MilestoneStatusCanceled: `${icons}#component-status-canceled`,
|
2022-08-03 07:05:19 +00:00
|
|
|
|
2022-08-16 10:19:33 +00:00
|
|
|
CopyBranch: `${icons}#copyBranch`,
|
2022-10-11 06:39:26 +00:00
|
|
|
Duplicate: `${icons}#duplicate`,
|
2022-08-16 10:19:33 +00:00
|
|
|
TimeReport: `${icons}#timeReport`,
|
2023-05-22 11:03:22 +00:00
|
|
|
Estimation: `${icons}#estimation`
|
2022-03-31 08:32:42 +00:00
|
|
|
})
|