-
Notifications
You must be signed in to change notification settings - Fork 3k
/
Copy pathhomescreenFeature.yaml
41 lines (40 loc) · 1.28 KB
/
homescreenFeature.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
features:
homescreenFeature:
description: The homescreen that the user goes to when they press home or new tab.
variables:
sections-enabled:
description: >
This property provides a lookup table of whether or not the given section should be enabled.
If the section is enabled, it should be toggleable in the settings screen, and on by default.
type: Map<HomeScreenSection, Boolean>
default:
{
"recent-explorations": false,
}
prefer-switch-to-open-tab:
description: >
Enables the feature to automatically switch to an existing tab
with the same content instead of opening a new one.
type: Boolean
default: false
defaults:
- channel: developer
value: {
"sections-enabled": {
"recent-explorations": false,
},
"prefer-switch-to-open-tab": true
}
- channel: beta
value: {
"sections-enabled": {
"recent-explorations": false,
},
"prefer-switch-to-open-tab": false
}
enums:
HomeScreenSection:
description: The identifiers for the sections of the homescreen.
variants:
recent-explorations:
description: The tab groups