Skip to content

Commit 1f8ba4a

Browse files
shakyShaneShane Osbourne
andauthored
ntp: favorites schemas+icons (#1191)
* ntp: favorites schemas+icons * fixed the icons * fixed the icons --------- Co-authored-by: Shane Osbourne <[email protected]>
1 parent da88691 commit 1f8ba4a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+369
-17
lines changed

special-pages/messages/new-tab/examples/stats.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ const privacyStatsData = {
1414
* @type {import("../../../types/new-tab").StatsConfig}
1515
*/
1616
const minimumConfig = {
17-
expansion: "expanded"
17+
expansion: "expanded",
18+
animation: { kind: "none" }
1819
}
1920

2021
/**
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#"
3+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#"
3+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"allOf": [
4+
{
5+
"$ref": "./types/favorites-config.json"
6+
}
7+
]
8+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#"
3+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"allOf": [
4+
{
5+
"$ref": "types/favorites-data.json"
6+
}
7+
]
8+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"title": "Favorites Move Action",
4+
"type": "object",
5+
"required": [
6+
"id",
7+
"targetIndex"
8+
],
9+
"properties": {
10+
"id": {
11+
"description": "Entity ID",
12+
"type": "string"
13+
},
14+
"targetIndex": {
15+
"description": "zero-indexed target",
16+
"type": "number"
17+
}
18+
}
19+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"allOf": [
4+
{
5+
"$ref": "./types/favorites-config.json"
6+
}
7+
]
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"allOf": [
4+
{
5+
"$ref": "types/favorites-data.json"
6+
}
7+
]
8+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"title": "Favorites Open Action",
4+
"type": "object",
5+
"required": [
6+
"id",
7+
"target"
8+
],
9+
"properties": {
10+
"id": {
11+
"description": "Entity ID",
12+
"type": "string"
13+
},
14+
"target": {
15+
"type": "string",
16+
"enum": ["same-tab", "new-tab", "new-window"]
17+
}
18+
}
19+
}

0 commit comments

Comments
 (0)