TSK-1251: my issues action. Hotkeys to lower case (#3122)

Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
Vyacheslav Tumanov 2023-05-02 21:31:04 +05:00 committed by GitHub
parent f893b2c1e5
commit 96e77f44b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 1 deletions

View File

@ -841,6 +841,7 @@ export function createModel (builder: Builder): void {
const componentsId = 'components'
const sprintsId = 'sprints'
const templatesId = 'templates'
const myIssuesId = 'my-issues'
// const scrumsId = 'scrums'
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
// },
{
id: 'my-issues',
id: myIssuesId,
position: 'top',
label: tracker.string.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, boardId, 'g->d', tracker.string.GotoBoard)
createGotoSpecialAction(builder, componentsId, 'g->c', tracker.string.GotoComponents)
createGotoSpecialAction(builder, myIssuesId, 'g->m', tracker.string.GotoMyIssues)
createAction(builder, {
action: workbench.actionImpl.Navigate,

View File

@ -35,6 +35,7 @@ export default mergeIds(trackerId, tracker, {
GotoBoard: '' as IntlString,
GotoComponents: '' as IntlString,
GotoTrackerApplication: '' as IntlString,
GotoMyIssues: '' as IntlString,
SearchIssue: '' as IntlString,
Parent: '' as IntlString,
CreatedOn: '' as IntlString,

View File

@ -144,6 +144,7 @@
"GotoBacklog": "Go to backlog",
"GotoBoard": "Go to issue board",
"GotoComponents": "Go to components",
"GotoMyIssues": "Go to my issues",
"GotoTrackerApplication": "Switch to Tracker Application",
"Filter": "Filter",

View File

@ -144,6 +144,7 @@
"GotoBacklog": "Перейти к пулу задач",
"GotoBoard": "Перейти к канбану",
"GotoComponents": "Перейти к компоненту",
"GotoMyIssues": "Перейи к моим задачам",
"GotoTrackerApplication": "Перейти к приложению Трекер",
"Filter": "Фильтр",

View File

@ -182,6 +182,7 @@
.replaceAll('ArrowLeft', '←')
.replaceAll('ArrowRight', '→')
.replaceAll('Backspace', '⌫')
.toLocaleLowerCase()
)
)
}