docs: tambah doc comment, logging, dan inline comments di semua 255 file
Meliputi: - File-level //! doc comment: tujuan file, alur kerja, komponen utama - Function-level /// doc comment: apa, parameter, return, flow, edge cases - Struct/enum/trait /// doc comment: peran, field docs - Tracing logging (tracing::info!/debug!/trace!/warn!/error!) di setiap fungsi - Inline comments untuk variable dan branching logic penting - Seluruh 8 crates di workspace: zesdex-backend, zesdex-cms, zesdex-entities, zesdex-iam, zesdex-infra, zesdex-ipc, zesdex-middleware, zesdex-utils - Build: 0 errors, 242/242 tests passed
This commit is contained in:
@@ -24,6 +24,7 @@ use ratatui::text::Span;
|
||||
use ratatui::widgets::{Block, Borders, Clear};
|
||||
use ratatui::Frame;
|
||||
use super::theme::Theme;
|
||||
use tracing;
|
||||
|
||||
/// Decorate an overlay block with a styled title and matching border color.
|
||||
///
|
||||
@@ -68,6 +69,7 @@ pub fn render_overlay(
|
||||
overlay: crate::app::state::types::Overlay,
|
||||
state: &crate::app::state::rest::AppStateRest,
|
||||
) {
|
||||
tracing::debug!("render_overlay: {:?}", overlay);
|
||||
let overlay_area = centered_rect(area, 75, 70);
|
||||
|
||||
// Clear the area behind the overlay (semi-transparent effect)
|
||||
|
||||
Reference in New Issue
Block a user