Make the home list clickable in chat#2879
Merged
Merged
Conversation
…ommand
Modifies home list display in IslandGoCommand, IslandSethomeCommand,
IslandDeletehomeCommand, and IslandRenamehomeCommand to use clickable
text components. Each home name now has a run_command click action
(/<topLabel> go <homeName>) and a hover tooltip ("Click to teleport").
Adds new locale key commands.island.sethome.click-to-teleport for
the translatable hover text.
Fixes #2458
Co-authored-by: tastybento <4407265+tastybento@users.noreply.github.com>
Agent-Logs-Url: https://github.com/BentoBoxWorld/BentoBox/sessions/58eb3b51-0d65-487c-8499-14dc4e4714a6
Copilot
AI
changed the title
[WIP] Add clickable functionality to home list
Make the home list clickable in chat
Mar 21, 2026
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Home names listed in chat (e.g. after an unknown home error or
sethome) were plain text. Now each entry is a clickable chat component that runs/<topLabel> go <homeName>with a hover tooltip.Changes
IslandGoCommand,IslandSethomeCommand,IslandDeletehomeCommand,IslandRenamehomeCommand— replacedsendMessagewithsendRawMessageusing[run_command:]and[hover:]inline markup for each home list entryen-US.yml— addedcommands.island.sethome.click-to-teleportlocale key for the hover textAdminDeleteCommand,AdminTeleportCommand,AdminTeleportUserCommandstill use plain text since the playergocommand isn't appropriate in admin contextApproach
Click markup is constructed in code rather than embedded in locale strings, so all existing translations get clickable behavior automatically without requiring updates from translators. The
home-list-syntaxlocale key is unchanged.Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.