mud_server.admin_tui.screens.database_tabs ========================================== .. py:module:: mud_server.admin_tui.screens.database_tabs .. autoapi-nested-parse:: Tab handlers for the Admin TUI database screen. These classes isolate per-tab setup and data loading so the main screen can focus on orchestration and user input. Classes ------- .. autoapisummary:: mud_server.admin_tui.screens.database_tabs.UsersTab mud_server.admin_tui.screens.database_tabs.TombstonedTab mud_server.admin_tui.screens.database_tabs.WorldsTab mud_server.admin_tui.screens.database_tabs.CharacterLocationsTab mud_server.admin_tui.screens.database_tabs.ConnectionsTab mud_server.admin_tui.screens.database_tabs.SessionsTab mud_server.admin_tui.screens.database_tabs.ChatTab mud_server.admin_tui.screens.database_tabs.TablesListTab mud_server.admin_tui.screens.database_tabs.TableDataTab Module Contents --------------- .. py:class:: UsersTab(screen) Users tab handler (account list and sorting). .. py:method:: setup() Configure the users DataTable columns. .. py:method:: load() :async: Fetch and display users from the database. .. py:method:: sort_by_column(column_index) Sort users by the selected column, toggling direction. .. py:method:: resolve_user(user_id) Return the cached user dict matching the given id. .. py:method:: toggle_tombstoned_visibility() Toggle whether tombstoned users are shown in the users table. .. py:class:: TombstonedTab(screen) Tombstoned users tab handler. .. py:method:: setup() Configure the tombstoned users DataTable columns. .. py:method:: load() :async: Fetch and display tombstoned users from the database. .. py:class:: WorldsTab(screen) Worlds catalog tab handler. .. py:method:: setup() Configure the worlds DataTable columns. .. py:method:: load() :async: Fetch and display worlds from the database. .. py:class:: CharacterLocationsTab(screen) Character locations tab handler. .. py:method:: setup() .. py:method:: load() :async: .. py:class:: ConnectionsTab(screen) Active connections tab handler. .. py:method:: setup() .. py:method:: load() :async: .. py:class:: SessionsTab(screen) Sessions tab handler. .. py:method:: setup() .. py:method:: load() :async: .. py:class:: ChatTab(screen) Chat messages tab handler. .. py:method:: setup() .. py:method:: load() :async: .. py:class:: TablesListTab(screen) Database tables list tab handler. .. py:method:: setup() .. py:method:: load() :async: .. py:class:: TableDataTab(screen) Generic table data viewer tab handler. .. py:method:: setup() .. py:method:: load(table_name, *, limit = 200) :async: