DB & Dev Tools · Tools and machines: regex, encoders, contrast, containers, pods

RegexTester tries a pattern with its flags against a sample, washes
each match and lists it with its groups, zero-width ones too; a pattern
that does not compile says why. Encoder turns text into Base64, URL or
hex and back, says why a decode fails (Base64 pads end the text, twice
at most) and copies the result, drawn through typography::literal so no
ligature hides a character. ColorContrastChecker measures text on a
background, translucent text as it blends, and names the WCAG levels
met. ContainerList starts, stops, restarts and opens containers, each
button shown when the owner handles it. PodList sorts pods by any
column, ages by length through tables' new Cell::Duration, and narrows
them by namespace. ResourceMonitor shows each reading's latest value
beside its sparkline and, with a limit, how full it is.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-09-27 11:02:35 -04:00
1 parent 0cf33eea33
commit e3f2d497f1
17 files changed
+1698 -8

No files matched your search

+1 -1
View File
@@ -28,4 +28,4 @@ pub use link::{ExternalLink, Link};
pub use math::{Latex, MathError};
pub use rolling::AnimatedNumber;
pub use select::SelectableText;
pub use text::{Caption, Heading, Label, Overline, Paragraph, Subtitle, Title, tabular};
pub use text::{Caption, Heading, Label, Overline, Paragraph, Subtitle, Title, literal, tabular};
+10
View File
@@ -17,6 +17,16 @@ pub fn tabular<E: Styled>(mut element: E) -> E {
element
}
/// Each character drawn as itself, without ligatures: `==` stays two signs in encoded text and keys.
pub fn literal<E: Styled>(mut element: E) -> E {
let features = FontFeatures(Arc::new(vec![("calt".into(), 0), ("liga".into(), 0)]));
element
.text_style()
.get_or_insert_with(Default::default)
.font_features = Some(features);
element
}
struct Spec {
size: TextSize,
weight: FontWeight,