Skip to content

Commit 6429908

Browse files
author
Sergei Ogorelkov
authored
Tracker: hide inbox / views (#2224)
Signed-off-by: Sergei Ogorelkov <[email protected]>
1 parent ef8f7f3 commit 6429908

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

models/tracker/src/index.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -456,27 +456,27 @@ export function createModel (builder: Builder): void {
456456
locationResolver: tracker.resolver.Location,
457457
navigatorModel: {
458458
specials: [
459-
{
460-
id: 'inbox',
461-
position: 'top',
462-
label: tracker.string.Inbox,
463-
icon: tracker.icon.Inbox,
464-
component: tracker.component.Inbox
465-
},
459+
// {
460+
// id: 'inbox',
461+
// position: 'top',
462+
// label: tracker.string.Inbox,
463+
// icon: tracker.icon.Inbox,
464+
// component: tracker.component.Inbox
465+
// },
466466
{
467467
id: 'my-issues',
468468
position: 'top',
469469
label: tracker.string.MyIssues,
470470
icon: tracker.icon.MyIssues,
471471
component: tracker.component.MyIssues
472472
},
473-
{
474-
id: 'views',
475-
position: 'top',
476-
label: tracker.string.Views,
477-
icon: tracker.icon.Views,
478-
component: tracker.component.Views
479-
},
473+
// {
474+
// id: 'views',
475+
// position: 'top',
476+
// label: tracker.string.Views,
477+
// icon: tracker.icon.Views,
478+
// component: tracker.component.Views
479+
// },
480480
{
481481
id: 'roadmap',
482482
position: 'top',

tests/sanity/tests/tracker.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ test('my-issues', async ({ page }) => {
199199
await openIssue(page, name)
200200
// click "Don't track"
201201
await page.click('.popupPanel-title :nth-child(3) >> button >> nth=1')
202+
await page.waitForTimeout(100)
202203
await page.keyboard.press('Escape')
203204
await expect(page.locator('.antiPanel-component')).not.toContainText(name)
204205
})

0 commit comments

Comments
 (0)