mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-22 21:50:34 +03:00
Tracker: hide inbox / views (#2224)
Signed-off-by: Sergei Ogorelkov <sergei.ogorelkov@xored.com>
This commit is contained in:
parent
ef8f7f3197
commit
6429908b73
@ -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',
|
||||
|
@ -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)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user