Skip to content

Commit

Permalink
Update extensions.xml, fix beta display
Browse files Browse the repository at this point in the history
  • Loading branch information
UnsignedArduino committed Mar 27, 2024
1 parent c372b51 commit 9bf7818
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 5 deletions.
11 changes: 10 additions & 1 deletion src/components/AwesomeArcadeList/extension.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Extension, ExtensionRef, URLLink } from "../../scripts/ParseListXML";
import { Extension, ExtensionRef, URLLink } from "@/scripts/ParseListXML";
import React from "react";
import "tippy.js/dist/tippy.css";
import { copyTextToClipboard } from "@/scripts/Utils/Clipboard";
Expand Down Expand Up @@ -196,6 +196,15 @@ export function AwesomeArcadeExtension({
</div>
</div>
) : undefined}
{ext.inBeta != undefined ? (
<div className="mt-3">
<div className="alert alert-warning mb-0" role="alert">
This extension is in beta since <b>{ext.inBeta.since}</b> because:
<br />
{ext.inBeta.text}
</div>
</div>
) : undefined}
</div>
</div>
);
Expand Down
11 changes: 10 additions & 1 deletion src/components/AwesomeArcadeList/tool.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Tool, ToolRef, URLLink } from "../../scripts/ParseListXML";
import { Tool, ToolRef, URLLink } from "@/scripts/ParseListXML";
import React from "react";
import Link from "next/link";
import { smoothScrollHash } from "@/components/Linkable/Header";
Expand Down Expand Up @@ -152,6 +152,15 @@ export function AwesomeArcadeTool({
</div>
</div>
) : undefined}
{tool.inBeta != undefined ? (
<div className="mt-3">
<div className="alert alert-warning mb-0" role="alert">
This tool is in beta since <b>{tool.inBeta.since}</b> because:
<br />
{tool.inBeta.text}
</div>
</div>
) : undefined}
</div>
</div>
);
Expand Down
6 changes: 3 additions & 3 deletions src/extensions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -516,15 +516,15 @@
<url label="Demo">https://arcade.makecode.com/S61849-21948-78184-39153</url>
</links>
</extension>
<extension repo="49dev/pxt-multicamera">
<description>Have you ever played a 2-player dungeon-like game and wondered how they made the camera? This extension does all the math, triangulating the camera based on the position of 2 sprites. .</description>
<extension repo="49dev/pxt-multicamera">
<description>Have you ever played a 2-player dungeon-like game and wondered how they made the camera? This extension does all the math, triangulating the camera based on the position of 2 sprites.</description>
<inBeta asOf="March 27th, 2024">
This is a very simple extension and is mostly unfinished, but the singular block does work. Not on version 1 yet.
</inBeta>
<links>
<url label="GitHub repo" isPrimary="true">https://github.com/49dev/pxt-multicamera</url>
<url label="Forum post">https://forum.makecode.com/t/my-personal-blog-and-stuff/18195/63?u=unsignedarduino</url>
</links>
</extension>

</extensionList>
</allExtensions>

0 comments on commit 9bf7818

Please sign in to comment.