NewChat '+' doesn't add participants #46
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_archipelagos#46
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Two related bugs in
islands/chat_form.rs:props.contactsinto a signal at mount but never updated it afterwards — Dioxus'use_signalinit closure only runs once. When the parent loaded contacts asynchronously, the form's internal copy stayed empty and the '+' onclick handler couldn't find the target contact.all_contacts.read()to compare againstprops.contacts, which establishes a reactive subscription and defeats the guard (every signal tick re-triggers the conditional).Fix: sync on every render using
.peek()so the guard is non-subscribing.zaelgohary referenced this issue2026-04-19 08:29:02 +00:00
bug: NewChat '+' doesn't add participants; prop sync subscribes unnecessarilyto NewChat '+' doesn't add participantszaelgohary referenced this issue from lhumina_code/hero_os2026-04-19 09:26:23 +00:00
Fixed by #56.