Whiteboard: workspace/board navigation broken, delete fails with missing id #8

Open
opened 2026-04-28 12:19:45 +00:00 by mik-tf · 0 comments
Owner

Problem

Multiple issues reported in hero_whiteboard (April 9, 2026):

  1. Board navigation broken — workspace/board dropdown navigation is off, selecting boards does not work properly
  2. Delete fails — clicking delete on a board shows browser alert: "Failed to delete: missing 'id'" — the delete function is not passing the board ID to the RPC call
  3. AI Agent wrong board — when using the hero_router AI agent to create boxes, they end up on "Board 2" instead of "Board 1" (related to lhumina_code/home#107)
  4. General instability — workspaces and boards concept is buggy overall

Screenshots

  • Delete error: browser alert "Failed to delete: missing id" on 127.0.0.1:9988/hero_whiteboard/ui
  • AI Agent: created 10 colored boxes but placed on wrong board

Context

  • Reported by despiegk on 2026-04-09
  • Pre-existing issue (before sessions 17-18 refactoring)
  • hero_whiteboard UI uses JavaScript (static/web/js/) not native Dioxus yet
  • The delete bug is likely in the JS frontend not passing the object ID in the RPC request

Investigation

  1. Check hero_whiteboard/crates/hero_whiteboard_ui/static/web/js/ — find delete handler, verify it sends the object ID
  2. Check workspace/board dropdown JS — does it correctly switch context when selecting a different board?
  3. Check hero_router agent board targeting — does the RPC call specify the correct board_id?
  4. All code is now on development branch

Repos to check

  • hero_whiteboard (UI JavaScript, RPC handlers)
  • hero_router (agent board targeting — lhumina_code/home#107)

Previous comments from home#110

mik-tf — 2026-04-22T11:47:51Z

@AhmedHanafy725 Hi!

I saw you are working a lot on the whiteboard. What do you think of this issue? If you think it's worth it, can you have a look?
Or maybe it is not relevant anymore and we can close it? Maybe it's already fixed via your work. Thanks!

AhmedHanafy725 — 2026-04-22T14:28:37Z

Hi @mik-tf, thanks for the ping!

I believe this can be closed:

  • Board navigation & Delete "missing 'id'" — both fixed in 6374655 (Apr 16). They were fallout from the earlier UUID → u64 ID migration; home.html now coerces IDs with parseInt before RPC calls.
  • AI agent on wrong board — that's a hero_router issue, tracked separately in #107.
  • General instability — no longer reproducible on current development after the April polish pass.

Feel free to reopen if you still see any of the symptoms. Thanks!


Originally filed as home#110 on 2026-04-12 by mik-tf — moved to hero_demo as part of consolidating issue tracking.

## Problem Multiple issues reported in hero_whiteboard (April 9, 2026): 1. **Board navigation broken** — workspace/board dropdown navigation is off, selecting boards does not work properly 2. **Delete fails** — clicking delete on a board shows browser alert: "Failed to delete: missing 'id'" — the delete function is not passing the board ID to the RPC call 3. **AI Agent wrong board** — when using the hero_router AI agent to create boxes, they end up on "Board 2" instead of "Board 1" (related to https://forge.ourworld.tf/lhumina_code/home/issues/107) 4. **General instability** — workspaces and boards concept is buggy overall ## Screenshots - Delete error: browser alert "Failed to delete: missing id" on 127.0.0.1:9988/hero_whiteboard/ui - AI Agent: created 10 colored boxes but placed on wrong board ## Context - Reported by despiegk on 2026-04-09 - Pre-existing issue (before sessions 17-18 refactoring) - hero_whiteboard UI uses JavaScript (static/web/js/) not native Dioxus yet - The delete bug is likely in the JS frontend not passing the object ID in the RPC request ## Investigation 1. Check `hero_whiteboard/crates/hero_whiteboard_ui/static/web/js/` — find delete handler, verify it sends the object ID 2. Check workspace/board dropdown JS — does it correctly switch context when selecting a different board? 3. Check hero_router agent board targeting — does the RPC call specify the correct board_id? 4. All code is now on `development` branch ## Repos to check - hero_whiteboard (UI JavaScript, RPC handlers) - hero_router (agent board targeting — https://forge.ourworld.tf/lhumina_code/home/issues/107) --- ### Previous comments from home#110 #### mik-tf — 2026-04-22T11:47:51Z @AhmedHanafy725 Hi! I saw you are working a lot on the whiteboard. What do you think of this issue? If you think it's worth it, can you have a look? Or maybe it is not relevant anymore and we can close it? Maybe it's already fixed via your work. Thanks! #### AhmedHanafy725 — 2026-04-22T14:28:37Z Hi @mik-tf, thanks for the ping! I believe this can be closed: - **Board navigation & Delete "missing 'id'"** — both fixed in `6374655` (Apr 16). They were fallout from the earlier UUID → `u64` ID migration; `home.html` now coerces IDs with `parseInt` before RPC calls. - **AI agent on wrong board** — that's a `hero_router` issue, tracked separately in #107. - **General instability** — no longer reproducible on current `development` after the April polish pass. Feel free to reopen if you still see any of the symptoms. Thanks! --- *Originally filed as [home#110](https://forge.ourworld.tf/lhumina_code/home/issues/110) on 2026-04-12 by mik-tf — moved to hero_demo as part of consolidating issue tracking.*
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_demo#8
No description provided.