Move virtual-pet HUD to the context menu #2
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "pr/virtual-pet-context-menu"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
PR: Move virtual-pet HUD to the context menu
Branch:
pr/virtual-pet-context-menuScope: Virtual pet UI/UX only.
Summary
The pinned bubble HUD was visually noisy and clipped near screen edges. This PR removes the floating HUD and exposes the pet's live status (Mood, Food, Energy, Play, Bond, Level) as read-only items in the pet-window context menu.
What changed
plugins/official/openpets.virtual-pet/index.jsupdateMenuStatus(ctx, state)which callsctx.ui.menu.setItemswith read-only status labels.start()to reconcile status on interval.apps/desktop/src/pet-window.tsbuildPetContextMenuTemplateto separate plugin status labels (menuItems) and commands (commands) with a separator.How to test
Backwards compatibility
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.