Files
Ely-GPUI-Components/src/devtools/mod.rs
T
ZacharyZhang-NYandClaude Opus 5.5 e3f2d497f1 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>
2026-09-27 11:02:35 -04:00

47 lines
1.6 KiB
Rust

mod collection;
mod connection_form;
mod connections;
mod contrast;
mod datum;
mod document;
mod encode;
mod environment;
mod graphql;
mod json_editor;
mod machines;
mod monitor;
mod queries;
mod redis;
mod regex;
mod request;
mod response;
mod schema;
mod socket;
mod structure;
mod xml;
#[cfg(all(test, feature = "test-support"))]
mod tests;
pub use collection::{CollectionTree, Saved, moved};
pub use connection_form::{ConnectionForm, TestState};
pub use connections::{Connection, ConnectionManager, ConnectionState, Engine};
pub use contrast::{ColorContrastChecker, contrast, grades, luminance, over};
pub use datum::{Datum, Unread, read_json, read_yaml};
pub use document::{JsonViewer, YamlViewer};
pub use encode::{Code, Encoder, base64, hex, unbase64, unhex, unpercent};
pub use environment::{Environment, EnvironmentSelector};
pub use graphql::{GraphQLExplorer, SchemaType, TypeKind};
pub use json_editor::JsonEditor;
pub use machines::{Container, ContainerList, ContainerState, Pod, PodList, PodPhase};
pub use monitor::{Reading, ResourceMonitor};
pub use queries::{Outcome, PlanStep, QueryHistory, QueryPlanViewer, QueryRun};
pub use redis::{RedisKey, RedisKeyBrowser, RedisValue};
pub use regex::{Found, RegexFlag, RegexTester, find};
pub use request::{ApiRequest, ApiRequestBuilder, Auth, Method, percent, resolve};
pub use response::{ApiResponse, HeadersTable, ResponseViewer, reason, status_tone};
pub use schema::{DbTable, ERDiagram, Field, FieldKey, Schema, SchemaTree};
pub use socket::{Direction, SocketMessage, SocketState, WebSocketConsole};
pub use structure::{Index, IndexManager, TableStructureEditor};
pub use xml::{XmlElement, XmlNode, XmlViewer, read_xml};