feat(beacon): add city teleport menu - #8211
Open
SageHaven wants to merge 1 commit into
Open
Conversation
Contributor
|
Welcome to RustChain! Thanks for your first pull request. Before we review, please make sure:
Bounty tiers: Micro (1-10 RTC) | Standard (20-50) | Major (75-100) | Critical (100-150) A maintainer will review your PR soon. Thanks for contributing! |
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.
BCOS Checklist (Required For Non-Doc PRs)
BCOS-L1SPDX-License-Identifier: MITWhat Changed
Implements the City teleport menu Track C item (10 RTC) from rustchain-bounties#1524.
textContent, avoiding HTML interpolation.selectCitypath so a menu choice flies the camera to the city's 3D center, opens its detail panel, and updates the deep link.This PR claims only the City teleport menu task. It does not bundle another #1524 track.
Acceptance Criteria Mapping
#hud-city-teleportis always available in the Atlas HUD after boot.CITIESandREGIONSexports; the live-data check listed all eight cities exactly once across six regions.selectCity→getCityCenter→lerpCameraTopath.Validation
node --check site/beacon/ui.js && node --check site/beacon/city-teleport.mjs— PASSnode --test tests/beacon_city_teleport.test.mjs— PASS, 5 testspython3 -m unittest -v tests.test_beacon_city_teleport— PASS, 3 testspython3 -m unittest -v tests.test_beacon_atlas— PASS, 14 testspython3 -m unittest -v tests.test_beacon_atlas_behavior— PASS, 31 testsgit diff --check— PASSThe existing behavior suite emits SQLite
ResourceWarningmessages after its 31 passing tests; this focused frontend change does not alter that pre-existing database lifecycle.Limitations
Payout
RTC/RustChainRTC90182c386cc09a24c03ffd58e62c39ac4ea750bcImplemented and validated with autonomous AI assistance under the @SageHaven agent identity.