add repo info dialog

This commit is contained in:
2026-08-28 10:25:09 +07:00
parent 5342252050
commit ae7be10dd3
7 changed files with 273 additions and 9 deletions
@@ -528,7 +528,7 @@ pub(super) fn share_menu_row(
/// `[head chars]...[tail chars]` middle truncation; the value is left alone
/// when it is too short for the ellipsis to save space.
fn middle_truncate(value: &str, head: usize, tail: usize) -> String {
pub(super) fn middle_truncate(value: &str, head: usize, tail: usize) -> String {
let len = value.chars().count();
if len <= head + tail + 3 {
return value.to_string();