Skip to content

Commit 03dd6b1

Browse files
authored
Merge pull request #834 from rgantzos/main
Bump to v3.8.0
2 parents b20bab7 + 7d53a23 commit 03dd6b1

File tree

4 files changed

+16
-14
lines changed

4 files changed

+16
-14
lines changed

changelog/changes.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"NOTE": "THERE IS NO NEED TO UPDATE THIS YOURSELF, IT WILL BE UPDATED WHEN RELEASED.",
3-
"version": "3.7.0",
3+
"version": "3.8.0",
44
"enhanced": [
5-
"Improve code quality.",
6-
"Remove ScratchTools Awards ads.",
7-
"Added Spanish as a language."
5+
"Update contributor names.",
6+
"Add clicker game."
87
],
98
"fixed": [
10-
"Fix Flag on Profile feature."
9+
"Fix protect mention text.",
10+
"Fix search bar."
1111
]
1212
}

changelog/script.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ document.querySelector("title").textContent = "What's New in v" + version;
33
document.querySelector("h1").textContent = "What's New in v" + version;
44

55
async function getChanges() {
6-
var newFeatures = await (await fetch("/features/features.json")).json();
6+
var newFeatures = (await (await fetch("/features/features.json")).json()).reverse();
7+
let soFarI = 0
78
for (var i in newFeatures) {
89
var feature = newFeatures[i];
910
if (feature.versionAdded === "v" + version || feature.versionUpdated === "v" + version) {
@@ -24,13 +25,14 @@ async function getChanges() {
2425
var design = document.createElement("div");
2526
design.className = "colorful-design";
2627
div.prepend(design);
27-
if (i > 2) {
28+
if (soFarI > 2) {
2829
div.className = "wide-feature feature";
2930
document.querySelector(".new-features-full").prepend(div);
3031
} else {
3132
div.className = "feature";
3233
document.querySelector(".new-features").prepend(div);
3334
}
35+
soFarI += 1
3436
}
3537
}
3638
const changes = await (await fetch("./changes.json")).json();

features/features.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
[
22
{
33
"version": 2,
4-
"id": "fullscreen-explorer",
4+
"id": "sidebar",
55
"versionAdded": "v3.8.0"
66
},
77
{
88
"version": 2,
9-
"id": "total-stats",
9+
"id": "project-version-detector",
1010
"versionAdded": "v3.8.0"
1111
},
1212
{
1313
"version": 2,
14-
"id": "project-miniplayer",
14+
"id": "fullscreen-explorer",
1515
"versionAdded": "v3.8.0"
1616
},
1717
{
@@ -21,17 +21,17 @@
2121
},
2222
{
2323
"version": 2,
24-
"id": "pin-comments",
24+
"id": "total-stats",
2525
"versionAdded": "v3.8.0"
2626
},
2727
{
2828
"version": 2,
29-
"id": "sidebar",
29+
"id": "project-miniplayer",
3030
"versionAdded": "v3.8.0"
3131
},
3232
{
3333
"version": 2,
34-
"id": "project-version-detector",
34+
"id": "pin-comments",
3535
"versionAdded": "v3.8.0"
3636
},
3737
{

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"short_name": "ScratchTools",
44
"manifest_version": 3,
55
"version": "3.8.0",
6-
"version_name": "3.8.0-beta",
6+
"version_name": "3.8.0",
77
"default_locale": "en",
88
"description": "__MSG_extDescription__",
99
"author": "rgantzos",

0 commit comments

Comments
 (0)