pipeworks_mud_mapper.callbacks.workspace_callbacks

Workspace panel callbacks.

These callbacks keep the Workspace card up to date with SQLite metadata.

Functions

update_workspace_db(_, __, ___, ____, _____, ______, ...)

Refresh SQLite DB summary and map overview table.

update_workspace_room_table(selected_file, _, __, ___, ...)

Render a table of rooms for the selected map in the Workspace tab.

handle_workspace_room_click(room_clicks, current_room)

Select a room when a Workspace table row is clicked.

queue_workspace_db_tool(backup_clicks, ...)

Queue a workspace DB tool job and surface immediate feedback.

poll_workspace_jobs(n_intervals, workspace_jobs)

Poll background workspace jobs and surface completion feedback.

update_workspace_world_json(_, __)

Render the configured world.json payload in the Workspace tab.

Module Contents

pipeworks_mud_mapper.callbacks.workspace_callbacks.update_workspace_db(_, __, ___, ____, _____, ______, selected_file)[source]

Refresh SQLite DB summary and map overview table.

pipeworks_mud_mapper.callbacks.workspace_callbacks.update_workspace_room_table(selected_file, _, __, ___, selected_room)[source]

Render a table of rooms for the selected map in the Workspace tab.

pipeworks_mud_mapper.callbacks.workspace_callbacks.handle_workspace_room_click(room_clicks, current_room)[source]

Select a room when a Workspace table row is clicked.

pipeworks_mud_mapper.callbacks.workspace_callbacks.queue_workspace_db_tool(backup_clicks, export_map_clicks, export_zone_clicks, export_sql_clicks, workspace_jobs, selected_map)[source]

Queue a workspace DB tool job and surface immediate feedback.

Each button click spawns an asynchronous job so the UI stays responsive while backups/exports run. A short alert confirms the action immediately.

pipeworks_mud_mapper.callbacks.workspace_callbacks.poll_workspace_jobs(n_intervals, workspace_jobs)[source]

Poll background workspace jobs and surface completion feedback.

Completed jobs are removed from the store, pending jobs are kept, and the newest alert is shown in the Workspace tab.

pipeworks_mud_mapper.callbacks.workspace_callbacks.update_workspace_world_json(_, __)[source]

Render the configured world.json payload in the Workspace tab.