| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Clear queried-element UI state only when unloading its source link, while preserving valid queries from other links. Add focused regression coverage for both behaviours. Generated with the assistance of an AI coding tool (OpenAI Codex), under jr's direction and manual validation.
| Back | FazBrowse Home | New Git URL |
Summary
Fixes #9322.
Root cause
UnloadLink removed the linked geometry but did not clear the associated queried-object properties or cached LinksData.linked_data. The Links panel could therefore continue displaying the identity of an element from an unloaded link. Reloading a link inherited the same problem because it uses the unload lifecycle internally.
User impact
After Unload Link or Reload Link, the Links panel no longer presents stale element identification. Query data belonging to another loaded link remains intact.
Validation
CI baseline note
The GitHub Actions ci-lint/lint-formatting job currently fails because psf/black@stable installed Black 26.5.1 and flagged these three pre-existing files from the unchanged v0.8.0 base:
None of these files is modified by this PR. Syntax checking, Ruff and both ty checks within the lint job passed. No unrelated formatting changes have been added to this patch.
AI assistance disclosure
The diagnosis, patch, regression tests and pull-request text were developed with OpenAI Codex/ChatGPT under the contributor's direction. The contributor reviewed the changes and performed the reported manual validation.