Description
When updating a previously defined persistent element (such as an NPC, PC, or Location) a second interation is created and the new tags are appended to the entity in the UI.
Steps to Reproduce
- Declare an NPC/PC/Location
- Later in the same note, perform an entity update on that previously declared entity
Expected Behavior
UI should update as per the spec (excerpt below) when tags are updated for a specific entity. If an entity is referenced using # e.g. [#N:myNPC] then the tags should not update.
When an NPC's status changes, you can either:
- Restate with new tags: [N:Jonah|captured|wounded]
- Show just the change: [N:Jonah|captured] (assumes other tags persist)
- Use explicit updates: [N:Jonah|friendly→hostile]
- Add + or -: [N:Jonah|+captured] or [N:Jonah|-wounded]_
See NPCs for the above reference, and Reference Tags for the # referencing.
Actual Behavior
In the UI when the entity is updated, the Story elements UI will append the new tags to the entity without deleting the old ones, and increase the count of the entity (display an x2).
Environment
- OS: Windows 25H2 (OS Build 26200.8328)
- Obsidian Version: 1.12.7
- Python version: N/A
- lonelog version: latest
Additional Context
I've tested and confirmed the tags aren't updating as expected for Location, NPC, and PC tags - Events and Threads seem to be working as expected, but I haven't thoroughly tested those!
Screenshots
- Story elements UI
- PC / NPC declaration and update

Description
When updating a previously defined persistent element (such as an NPC, PC, or Location) a second interation is created and the new tags are appended to the entity in the UI.
Steps to Reproduce
Expected Behavior
UI should update as per the spec (excerpt below) when tags are updated for a specific entity. If an entity is referenced using
#e.g.[#N:myNPC]then the tags should not update.When an NPC's status changes, you can either:
See NPCs for the above reference, and Reference Tags for the
#referencing.Actual Behavior
In the UI when the entity is updated, the
Story elementsUI will append the new tags to the entity without deleting the old ones, and increase the count of the entity (display anx2).Environment
Additional Context
I've tested and confirmed the tags aren't updating as expected for Location, NPC, and PC tags - Events and Threads seem to be working as expected, but I haven't thoroughly tested those!
Screenshots