From 922cfda58705eed927d4ceacbc0cee716d777e89 Mon Sep 17 00:00:00 2001 From: Casey Date: Sun, 3 Jul 2022 05:04:45 -0400 Subject: [PATCH 1/5] GitHub Workflows --- .github/ISSUE_TEMPLATE/map_report.md | 29 +++++++++++++++++++ .../{NtosRevelation.js => NtosRevelation.tsx} | 14 ++++++--- tools/ci/build_tgui.sh | 6 ++++ 3 files changed, 45 insertions(+), 4 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/map_report.md rename tgui/packages/tgui/interfaces/{NtosRevelation.js => NtosRevelation.tsx} (75%) diff --git a/.github/ISSUE_TEMPLATE/map_report.md b/.github/ISSUE_TEMPLATE/map_report.md new file mode 100644 index 0000000000..a3aa174357 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/map_report.md @@ -0,0 +1,29 @@ +--- +name: Map Bug report +about: Create a report, specific to any map related things. +title: '[MAPPING] ' +labels: ['Type: Bug', 'Type: Map'] +assignees: '' + +--- + + + + + + +#### Brief description of the bug + + +#### What you expected to happen + + +#### What actually happened + + +#### Code Revision +- (Found using the "Show Server Revision" verb under the OOC tab.) + + +#### Anything else you may wish to add: +- (Location if it's a mapping issue, screenshots, sprites, etc.) diff --git a/tgui/packages/tgui/interfaces/NtosRevelation.js b/tgui/packages/tgui/interfaces/NtosRevelation.tsx similarity index 75% rename from tgui/packages/tgui/interfaces/NtosRevelation.js rename to tgui/packages/tgui/interfaces/NtosRevelation.tsx index 381cc32835..cdd8bc0a33 100644 --- a/tgui/packages/tgui/interfaces/NtosRevelation.js +++ b/tgui/packages/tgui/interfaces/NtosRevelation.tsx @@ -1,9 +1,15 @@ import { Section, Button, LabeledList } from '../components'; import { useBackend } from '../backend'; import { NtosWindow } from '../layouts'; +import { BooleanLike } from 'common/react'; + +type Data = { + armed: BooleanLike; +}; export const NtosRevelation = (props, context) => { - const { act, data } = useBackend(context); + const { act, data } = useBackend(context); + const { armed } = data; return ( @@ -23,14 +29,14 @@ export const NtosRevelation = (props, context) => { label="Payload Status" buttons={