Tracker: hide inbox / views (#2224)

Signed-off-by: Sergei Ogorelkov <sergei.ogorelkov@xored.com>
This commit is contained in:
Sergei Ogorelkov 2022-07-07 16:47:06 +07:00 committed by GitHub
parent ef8f7f3197
commit 6429908b73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 14 deletions

View File

@ -456,13 +456,13 @@ export function createModel (builder: Builder): void {
locationResolver: tracker.resolver.Location,
navigatorModel: {
specials: [
{
id: 'inbox',
position: 'top',
label: tracker.string.Inbox,
icon: tracker.icon.Inbox,
component: tracker.component.Inbox
},
// {
// id: 'inbox',
// position: 'top',
// label: tracker.string.Inbox,
// icon: tracker.icon.Inbox,
// component: tracker.component.Inbox
// },
{
id: 'my-issues',
position: 'top',
@ -470,13 +470,13 @@ export function createModel (builder: Builder): void {
icon: tracker.icon.MyIssues,
component: tracker.component.MyIssues
},
{
id: 'views',
position: 'top',
label: tracker.string.Views,
icon: tracker.icon.Views,
component: tracker.component.Views
},
// {
// id: 'views',
// position: 'top',
// label: tracker.string.Views,
// icon: tracker.icon.Views,
// component: tracker.component.Views
// },
{
id: 'roadmap',
position: 'top',

View File

@ -199,6 +199,7 @@ test('my-issues', async ({ page }) => {
await openIssue(page, name)
// click "Don't track"
await page.click('.popupPanel-title :nth-child(3) >> button >> nth=1')
await page.waitForTimeout(100)
await page.keyboard.press('Escape')
await expect(page.locator('.antiPanel-component')).not.toContainText(name)
})