Skip to content

feat: Add ability to delete assets from environment (#111)#112

Merged
soovittt merged 1 commit into
masterfrom
sovitn-111-delete-asset-from-environment
Dec 2, 2025
Merged

feat: Add ability to delete assets from environment (#111)#112
soovittt merged 1 commit into
masterfrom
sovitn-111-delete-asset-from-environment

Conversation

@soovittt

@soovittt soovittt commented Dec 2, 2025

Copy link
Copy Markdown
Owner

Description

This PR adds the ability to delete assets from the environment by clicking on them.

Changes

  • Added tooltip UI that appears when clicking on placed objects/agents
  • Tooltip displays object information (type, position)
  • Added delete button in tooltip to remove assets
  • Tooltip can be closed by clicking outside or pressing Escape key
  • Updated click handlers to properly capture event coordinates for tooltip positioning
  • Improved tooltip styling with solid background for better visibility

Testing

  • Click on any placed object/agent in the grid environment
  • Tooltip should appear with object info and delete button
  • Click delete to remove the asset
  • Click outside or press Escape to close tooltip

Fixes #111

- Add tooltip that appears when clicking on placed objects/agents
- Display object info (type, position) in tooltip
- Add delete button in tooltip to remove assets from environment
- Support closing tooltip via click outside or Escape key
- Update click handlers to pass event coordinates for tooltip positioning
- Improve tooltip styling with solid background and better visibility

Fixes #111
@soovittt
soovittt merged commit 0972bfe into master Dec 2, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ability to delete an asset from the environment

1 participant