mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-30 04:05:40 +00:00
TSK-1251: my issues action. Hotkeys to lower case (#3122)
Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
parent
f893b2c1e5
commit
96e77f44b6
@ -841,6 +841,7 @@ export function createModel (builder: Builder): void {
|
|||||||
const componentsId = 'components'
|
const componentsId = 'components'
|
||||||
const sprintsId = 'sprints'
|
const sprintsId = 'sprints'
|
||||||
const templatesId = 'templates'
|
const templatesId = 'templates'
|
||||||
|
const myIssuesId = 'my-issues'
|
||||||
// const scrumsId = 'scrums'
|
// const scrumsId = 'scrums'
|
||||||
|
|
||||||
builder.mixin(tracker.class.Issue, core.class.Class, view.mixin.ObjectPresenter, {
|
builder.mixin(tracker.class.Issue, core.class.Class, view.mixin.ObjectPresenter, {
|
||||||
@ -1010,7 +1011,7 @@ export function createModel (builder: Builder): void {
|
|||||||
// component: tracker.component.Inbox
|
// component: tracker.component.Inbox
|
||||||
// },
|
// },
|
||||||
{
|
{
|
||||||
id: 'my-issues',
|
id: myIssuesId,
|
||||||
position: 'top',
|
position: 'top',
|
||||||
label: tracker.string.MyIssues,
|
label: tracker.string.MyIssues,
|
||||||
icon: tracker.icon.MyIssues,
|
icon: tracker.icon.MyIssues,
|
||||||
@ -1107,6 +1108,7 @@ export function createModel (builder: Builder): void {
|
|||||||
createGotoSpecialAction(builder, backlogId, 'g->b', tracker.string.GotoBacklog)
|
createGotoSpecialAction(builder, backlogId, 'g->b', tracker.string.GotoBacklog)
|
||||||
createGotoSpecialAction(builder, boardId, 'g->d', tracker.string.GotoBoard)
|
createGotoSpecialAction(builder, boardId, 'g->d', tracker.string.GotoBoard)
|
||||||
createGotoSpecialAction(builder, componentsId, 'g->c', tracker.string.GotoComponents)
|
createGotoSpecialAction(builder, componentsId, 'g->c', tracker.string.GotoComponents)
|
||||||
|
createGotoSpecialAction(builder, myIssuesId, 'g->m', tracker.string.GotoMyIssues)
|
||||||
|
|
||||||
createAction(builder, {
|
createAction(builder, {
|
||||||
action: workbench.actionImpl.Navigate,
|
action: workbench.actionImpl.Navigate,
|
||||||
|
@ -35,6 +35,7 @@ export default mergeIds(trackerId, tracker, {
|
|||||||
GotoBoard: '' as IntlString,
|
GotoBoard: '' as IntlString,
|
||||||
GotoComponents: '' as IntlString,
|
GotoComponents: '' as IntlString,
|
||||||
GotoTrackerApplication: '' as IntlString,
|
GotoTrackerApplication: '' as IntlString,
|
||||||
|
GotoMyIssues: '' as IntlString,
|
||||||
SearchIssue: '' as IntlString,
|
SearchIssue: '' as IntlString,
|
||||||
Parent: '' as IntlString,
|
Parent: '' as IntlString,
|
||||||
CreatedOn: '' as IntlString,
|
CreatedOn: '' as IntlString,
|
||||||
|
@ -144,6 +144,7 @@
|
|||||||
"GotoBacklog": "Go to backlog",
|
"GotoBacklog": "Go to backlog",
|
||||||
"GotoBoard": "Go to issue board",
|
"GotoBoard": "Go to issue board",
|
||||||
"GotoComponents": "Go to components",
|
"GotoComponents": "Go to components",
|
||||||
|
"GotoMyIssues": "Go to my issues",
|
||||||
"GotoTrackerApplication": "Switch to Tracker Application",
|
"GotoTrackerApplication": "Switch to Tracker Application",
|
||||||
|
|
||||||
"Filter": "Filter",
|
"Filter": "Filter",
|
||||||
|
@ -144,6 +144,7 @@
|
|||||||
"GotoBacklog": "Перейти к пулу задач",
|
"GotoBacklog": "Перейти к пулу задач",
|
||||||
"GotoBoard": "Перейти к канбану",
|
"GotoBoard": "Перейти к канбану",
|
||||||
"GotoComponents": "Перейти к компоненту",
|
"GotoComponents": "Перейти к компоненту",
|
||||||
|
"GotoMyIssues": "Перейи к моим задачам",
|
||||||
"GotoTrackerApplication": "Перейти к приложению Трекер",
|
"GotoTrackerApplication": "Перейти к приложению Трекер",
|
||||||
|
|
||||||
"Filter": "Фильтр",
|
"Filter": "Фильтр",
|
||||||
|
@ -182,6 +182,7 @@
|
|||||||
.replaceAll('ArrowLeft', '←')
|
.replaceAll('ArrowLeft', '←')
|
||||||
.replaceAll('ArrowRight', '→')
|
.replaceAll('ArrowRight', '→')
|
||||||
.replaceAll('Backspace', '⌫')
|
.replaceAll('Backspace', '⌫')
|
||||||
|
.toLocaleLowerCase()
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user