chore: suppress dead_code warnings for future features

Mark unused message variants with #[allow(dead_code)] to indicate
they are intentionally kept for future implementation:
- OpenPath: for file dialog integration
- RefreshMetadata: for metadata panel updates
- ShowError/ClearError: for error handling UI
- NoOp: fallback/placeholder message
This commit is contained in:
mow 2026-01-15 18:21:50 +01:00
parent c132265d31
commit 00425fcf4b

View file

@ -12,6 +12,7 @@ use crate::app::ContextPage;
pub enum AppMessage {
// === File / Navigation ===
/// Open a file at the given path.
#[allow(dead_code)]
OpenPath(PathBuf),
/// Navigate to the next document in folder.
NextDocument,
@ -66,14 +67,18 @@ pub enum AppMessage {
// === Metadata ===
/// Refresh metadata from the current document.
#[allow(dead_code)]
RefreshMetadata,
// === Errors ===
/// Display an error message.
#[allow(dead_code)]
ShowError(String),
/// Clear the current error.
#[allow(dead_code)]
ClearError,
/// Fallback for unhandled or no-op cases.
#[allow(dead_code)]
NoOp,
}