mirror of
https://github.com/hcengineering/platform.git
synced 2025-06-03 14:19:56 +00: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,
|
locationResolver: tracker.resolver.Location,
|
||||||
navigatorModel: {
|
navigatorModel: {
|
||||||
specials: [
|
specials: [
|
||||||
{
|
// {
|
||||||
id: 'inbox',
|
// id: 'inbox',
|
||||||
position: 'top',
|
// position: 'top',
|
||||||
label: tracker.string.Inbox,
|
// label: tracker.string.Inbox,
|
||||||
icon: tracker.icon.Inbox,
|
// icon: tracker.icon.Inbox,
|
||||||
component: tracker.component.Inbox
|
// component: tracker.component.Inbox
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
id: 'my-issues',
|
id: 'my-issues',
|
||||||
position: 'top',
|
position: 'top',
|
||||||
@ -470,13 +470,13 @@ export function createModel (builder: Builder): void {
|
|||||||
icon: tracker.icon.MyIssues,
|
icon: tracker.icon.MyIssues,
|
||||||
component: tracker.component.MyIssues
|
component: tracker.component.MyIssues
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
id: 'views',
|
// id: 'views',
|
||||||
position: 'top',
|
// position: 'top',
|
||||||
label: tracker.string.Views,
|
// label: tracker.string.Views,
|
||||||
icon: tracker.icon.Views,
|
// icon: tracker.icon.Views,
|
||||||
component: tracker.component.Views
|
// component: tracker.component.Views
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
id: 'roadmap',
|
id: 'roadmap',
|
||||||
position: 'top',
|
position: 'top',
|
||||||
|
@ -199,6 +199,7 @@ test('my-issues', async ({ page }) => {
|
|||||||
await openIssue(page, name)
|
await openIssue(page, name)
|
||||||
// click "Don't track"
|
// click "Don't track"
|
||||||
await page.click('.popupPanel-title :nth-child(3) >> button >> nth=1')
|
await page.click('.popupPanel-title :nth-child(3) >> button >> nth=1')
|
||||||
|
await page.waitForTimeout(100)
|
||||||
await page.keyboard.press('Escape')
|
await page.keyboard.press('Escape')
|
||||||
await expect(page.locator('.antiPanel-component')).not.toContainText(name)
|
await expect(page.locator('.antiPanel-component')).not.toContainText(name)
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user