From ec7afeab7249574cb99abe977cb9d952e71f88b0 Mon Sep 17 00:00:00 2001 From: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com> Date: Sat, 5 Oct 2024 06:40:00 -0700 Subject: [PATCH] Adds a Map Changelog Entry Category (#87034) ## About The Pull Request This should hopefully cut down on mappers using the add:/fix:/del: tag I've talked to the maptainers about this and they seem to not be concerned about gbp in their own system, so we should be trying to push mappers away from using add/remove/(maybe? closing issues is cool) fix tags and such to avoid overlap. I've intentionally not linked this to a label due to the Map Edit label autodetecting anyway. Should be directed only at players. This does mean less label resolution on mapping prs, not sure how I feel about that but I didn't want to duplicate the old image add/remove/change labels. Requesting wider input on this and also pinging to notify. @tgstation/commit-access @tgstation/maptainers ## Changelog :cl: map: added a map specific changelog entry /:cl: --- .github/PULL_REQUEST_TEMPLATE.md | 1 + tgui/packages/tgui/interfaces/Changelog.jsx | 1 + tools/pull_request_hooks/changelogConfig.js | 7 +++++++ 3 files changed, 9 insertions(+) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 9d11a114733..f63a030c882 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -22,6 +22,7 @@ balance: rebalanced something fix: fixed a few things sound: added/modified/removed audio or sound effects image: added/modified/removed some icons or images +map: added/modified/removed map content spellcheck: fixed a few typos code: changed some code refactor: refactored some code diff --git a/tgui/packages/tgui/interfaces/Changelog.jsx b/tgui/packages/tgui/interfaces/Changelog.jsx index 7c1ed8b933c..9d5bc3c70b8 100644 --- a/tgui/packages/tgui/interfaces/Changelog.jsx +++ b/tgui/packages/tgui/interfaces/Changelog.jsx @@ -37,6 +37,7 @@ const icons = { soundadd: { icon: 'tg-sound-plus', color: 'green' }, sounddel: { icon: 'tg-sound-minus', color: 'red' }, spellcheck: { icon: 'spell-check', color: 'green' }, + map: { icon: 'map', color: 'green' }, tgs: { icon: 'toolbox', color: 'purple' }, tweak: { icon: 'wrench', color: 'green' }, unknown: { icon: 'info-circle', color: 'label' }, diff --git a/tools/pull_request_hooks/changelogConfig.js b/tools/pull_request_hooks/changelogConfig.js index c4672c87907..0d8413c47cc 100644 --- a/tools/pull_request_hooks/changelogConfig.js +++ b/tools/pull_request_hooks/changelogConfig.js @@ -53,6 +53,13 @@ export const CHANGELOG_ENTRIES = [ }, ], + [ + ["map"], + { + placeholders: ["added/modified/removed map content"], + }, + ], + [ ["spellcheck", "typo"], {