Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/cortex-tui/src/cards/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ impl CommandCategory {
/// Returns the display name for the category.
pub fn display_name(&self) -> &'static str {
match self {
CommandCategory::Session => "Session",
CommandCategory::Session => "Sessions",
CommandCategory::Model => "Model",
CommandCategory::View => "View",
CommandCategory::Settings => "Settings",
Expand Down Expand Up @@ -425,7 +425,7 @@ mod tests {

#[test]
fn test_command_category_display_name() {
assert_eq!(CommandCategory::Session.display_name(), "Session");
assert_eq!(CommandCategory::Session.display_name(), "Sessions");
assert_eq!(CommandCategory::Model.display_name(), "Model");
assert_eq!(CommandCategory::View.display_name(), "View");
assert_eq!(CommandCategory::Settings.display_name(), "Settings");
Expand Down
5 changes: 3 additions & 2 deletions src/cortex-tui/src/commands/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ impl CommandCategory {
CommandCategory::General => "General",
CommandCategory::Auth => "Auth",
CommandCategory::Billing => "Billing",
CommandCategory::Session => "Session",
CommandCategory::Session => "Sessions",
CommandCategory::Navigation => "Navigation",
CommandCategory::Files => "Files",
CommandCategory::Model => "Model",
Expand All @@ -55,7 +55,7 @@ impl CommandCategory {
CommandCategory::General => "General application commands",
CommandCategory::Auth => "Authentication and account management",
CommandCategory::Billing => "Billing, usage, and subscription information",
CommandCategory::Session => "Session and conversation management",
CommandCategory::Session => "Sessions and conversation management",
CommandCategory::Navigation => "Navigate through content and history",
CommandCategory::Files => "File and context management",
CommandCategory::Model => "Model and provider configuration",
Expand Down Expand Up @@ -451,6 +451,7 @@ mod tests {
#[test]
fn test_command_category_name() {
assert_eq!(CommandCategory::General.name(), "General");
assert_eq!(CommandCategory::Session.name(), "Sessions");
assert_eq!(CommandCategory::Mcp.name(), "MCP");
}

Expand Down
4 changes: 2 additions & 2 deletions src/cortex-tui/src/modal/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ impl CommandCategory {
/// Returns the display name for the category.
pub fn display_name(&self) -> &'static str {
match self {
CommandCategory::Session => "Session",
CommandCategory::Session => "Sessions",
CommandCategory::Model => "Model",
CommandCategory::View => "View",
CommandCategory::Settings => "Settings",
Expand Down Expand Up @@ -712,7 +712,7 @@ mod tests {

#[test]
fn test_command_category_display_name() {
assert_eq!(CommandCategory::Session.display_name(), "Session");
assert_eq!(CommandCategory::Session.display_name(), "Sessions");
assert_eq!(CommandCategory::Model.display_name(), "Model");
assert_eq!(CommandCategory::View.display_name(), "View");
assert_eq!(CommandCategory::Settings.display_name(), "Settings");
Expand Down