A new chapter, src/devtools. ConnectionManager lists saved connections with their engine and address, or why one failed, and connects on Enter; ConnectionForm fills a connection with a port checked from 1 to 65535, tests it and saves it. SchemaTree shows schemas, tables, views and fields with keys marked; ERDiagram draws tables and their foreign keys on NodeGraph, whose fixed wires show only the sockets that hold one. QueryHistory finds past runs and runs one again; QueryPlanViewer shows each step's share of the cost. TableStructureEditor edits fields in place; IndexManager lists and draws up indexes; RedisKeyBrowser finds keys by glob and lays out each type. QueryEditor is editor::CodeEditor, whose lexer now knows SQL's words, and QueryResultGrid is tables::DataGrid. lists::row_action keeps a row's button its own.
30 lines
766 B
Rust
30 lines
766 B
Rust
mod directory;
|
|
mod files;
|
|
mod grouped;
|
|
mod item;
|
|
mod long;
|
|
mod outline;
|
|
mod sections;
|
|
mod select;
|
|
mod sortable;
|
|
mod swipe;
|
|
#[cfg(all(test, feature = "test-support"))]
|
|
mod tests;
|
|
mod tree;
|
|
|
|
pub use directory::{DirEntry, DirectoryListing};
|
|
pub(crate) use directory::{OnClimb, listed, path_bar};
|
|
pub(crate) use files::Folder;
|
|
pub use files::{FileTree, GitStatus};
|
|
pub use grouped::GroupedList;
|
|
pub use item::{List, ListItem};
|
|
pub use long::{InfiniteList, VirtualList};
|
|
pub use outline::Outline;
|
|
pub(crate) use sections::Sections;
|
|
pub use select::SelectableList;
|
|
pub(crate) use select::row_action;
|
|
pub(crate) use select::{Pick, picked};
|
|
pub use sortable::SortableList;
|
|
pub use swipe::{SwipeAction, SwipeableListItem};
|
|
pub use tree::{DropAt, Tree, TreeNode, TreeSelect};
|