use std::time::Duration;
pub(super) const FINDER_POPUP_HEIGHT: u16 = 28;
pub(super) const SETTINGS_POPUP_WIDTH: u16 = 90;
pub(super) const CONFIRM_DIALOG_HEIGHT: u16 = 3;
pub(super) const CI_TIMESTAMP_WIDTH: u16 = 16;
pub(super) const MAX_FINDER_RESULTS: usize = 50;
pub(super) const PERF_LOG_FILE: &str = "cargo-port-tui-perf.log";
pub(super) const PREVIOUS_PERF_LOG_FILE: &str = "cargo-port-tui-perf.prev.log";
pub(super) const STARTUP_BAR_EMPTY: &str = "░";
pub(super) const STARTUP_BAR_FILLED: &str = "▓";
pub(super) const STARTUP_BAR_WIDTH: usize = 8;
pub(super) const STARTUP_ROW_MIN_VISIBLE: Duration = Duration::from_millis(400);
pub(super) const STARTUP_ROW_DETAIL_DELAY: Duration = Duration::from_secs(1);
pub(super) const STARTUP_ROW_TIMEOUT: Duration = Duration::from_mins(2);
pub(super) const STARTUP_PHASE_CRATES_IO: &str = "crates.io";
pub(super) const STARTUP_PHASE_DISK: &str = "Disk usage";
pub(super) const STARTUP_PHASE_GIT: &str = "Local git repos";
pub(super) const STARTUP_PHASE_GITHUB: &str = "GitHub repos";
pub(super) const STARTUP_PHASE_LANGUAGES: &str = "Languages";
pub(super) const STARTUP_PHASE_LINT: &str = "Lint history";
pub(super) const STARTUP_PHASE_METADATA: &str = "Cargo metadata";
pub(super) const STARTUP_PHASE_TESTS: &str = "Test counts";