Skip to content

Commit 7fc0f73

Browse files
authored
Merge pull request #5 from GLINCKER/feat/improvements
Feat/improvements
2 parents 34b72ce + 836b8c6 commit 7fc0f73

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+3743
-1270
lines changed

.prettierignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
dist/
2+
node_modules/
3+
vscode-extension/node_modules/
4+
vscode-extension/out/
5+
*.js.map
6+
*.d.ts.map
7+
CHANGELOG.md

.prettierrc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"semi": true,
3+
"trailingComma": "none",
4+
"singleQuote": true,
5+
"printWidth": 100,
6+
"tabWidth": 2,
7+
"useTabs": false,
8+
"bracketSpacing": true,
9+
"arrowParens": "avoid",
10+
"endOfLine": "lf"
11+
}

CLAUDE.md

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This file provides comprehensive context for Claude AI sessions working on the C
77
**CommitWeave** is a modern CLI tool for creating smart, structured, and beautiful git commit messages with emoji support, conventional commit rules, AI-powered summaries, and built-in hooks.
88

99
### Key Details
10-
- **Version**: 1.0.3
10+
- **Version**: 1.1.0
1111
- **Package**: @typeweaver/commitweave
1212
- **Language**: TypeScript (100%)
1313
- **Runtime**: Node.js >= 18.0.0
@@ -51,6 +51,8 @@ commitweave/
5151
│ ├── types/ # TypeScript definitions
5252
│ │ └── ai.ts # AI provider types and custom error classes
5353
│ ├── ui/ # User interface components
54+
│ │ ├── banner.ts # ASCII art banners and branding
55+
│ │ └── progress.ts # Progress indicators and loading animations
5456
│ ├── utils/ # Utilities (git, ai)
5557
│ │ ├── ai.ts # AI integration with enhanced error handling
5658
│ │ ├── configStore.ts # Configuration loading and saving
@@ -101,6 +103,15 @@ commitweave/
101103
- **Validation**: Commit message format and length validation
102104
- **TypeScript**: 100% type coverage with comprehensive interfaces
103105

106+
### Enhanced UX Features (Latest) ✅
107+
- **Native Check Command**: Full validation with detailed error messages and actionable solutions
108+
- **Progress Indicators**: Spinning animations with contextual status updates for all async operations
109+
- **Command Shortcuts**: Power user aliases (v, ls, ai, health, etc.) for faster workflow
110+
- **Enhanced Error Messages**: Multiple solution paths with copy-paste commands for quick fixes
111+
- **Diff Analysis**: Smart statistics showing file changes, additions, and deletions
112+
- **UI Configuration**: Granular control over ASCII art, animations, colors, and fancy UI elements
113+
- **Graceful Fallbacks**: Elegant error handling with informative guidance messages
114+
104115
### Performance Optimizations (Latest) ✅
105116
- **Ultra-fast Cold-start**: 23ms average startup time (13x better than 300ms target)
106117
- **Lazy Loading**: Heavy dependencies loaded only when needed
@@ -195,6 +206,13 @@ interface Config {
195206
model: string;
196207
maxTokens: number;
197208
};
209+
ui?: { // UI configuration options (new)
210+
fancyUI: boolean; // Enable/disable fancy UI elements
211+
asciiArt: boolean; // Show ASCII art banners
212+
animations: boolean; // Enable loading animations
213+
colors: boolean; // Use terminal colors
214+
emoji: boolean; // Display emojis in output
215+
};
198216
maxSubjectLength: number;
199217
maxBodyLength: number;
200218
hooks?: {
@@ -229,15 +247,21 @@ commitweave --ai # AI-powered commit generation
229247
commitweave --plain # Disable fancy UI (for performance)
230248
commitweave --debug-perf # Enable performance reporting
231249
commitweave init # Initialize configuration
232-
commitweave check # Validate latest commit message
250+
commitweave check # Validate latest commit message (aliases: validate, v)
233251
commitweave --help # Show help
234252

235253
# Configuration Management Commands
236254
commitweave export [options] # Export current configuration
237255
commitweave import <source> [opts] # Import configuration from file/URL
238-
commitweave list # Display current configuration
239-
commitweave reset [options] # Reset configuration to defaults
240-
commitweave doctor # Validate and diagnose configuration
256+
commitweave list # Display current configuration (aliases: ls, show)
257+
commitweave reset [options] # Reset configuration to defaults (alias: clear)
258+
commitweave doctor # Validate and diagnose configuration (aliases: health, check-config)
259+
260+
# Command Shortcuts (Power User Aliases)
261+
commitweave ai # Direct AI commit (no -- flag needed)
262+
commitweave v # Quick validate (shortcut for check)
263+
commitweave ls # Quick list config (shortcut for list)
264+
commitweave health # Quick health check (shortcut for doctor)
241265

242266
# Performance Commands
243267
npm run bench # Run cold-start performance benchmark
@@ -441,6 +465,6 @@ CommitWeave has been thoroughly tested across multiple dimensions:
441465
---
442466

443467
**Last Updated**: Generated on 2025-08-07
444-
**Context Version**: 4.0
468+
**Context Version**: 4.1
445469
**For**: Claude AI development sessions
446-
**Recent Changes**: Enhanced VS Code extension with 5 commands, tabbed settings panel, Quick Commit workflow, commit history visualization, template system, real-time validation, Source Control integration, professional theming, and comprehensive git operations
470+
**Recent Changes**: Enhanced UX with native check command, progress indicators, command shortcuts, enhanced error messages, diff analysis, UI configuration options, and graceful fallbacks. All UI elements now configurable via UI config schema with ASCII art enabled by default.

README.md

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ commitweave --ai
103103
- 🔧 **Git Integration** - stage and commit seamlessly
104104
- 📦 **TypeScript First** with full IntelliSense
105105
- 🛡️ **Cross-Platform** (Windows, macOS, Linux)
106+
-**Command Shortcuts** for power users
106107

107108
</td>
108109
<td valign="top" width="50%">
@@ -111,10 +112,12 @@ commitweave --ai
111112
- 🤖 **AI Commit Generation** (OpenAI & Claude)
112113
- 🧩 **VS Code Extension** with native integration
113114
- 📋 **Team Config Sharing** via export/import
114-
-**Message Validation** with helpful suggestions
115-
- 📊 **Commit Analytics** and history visualization
115+
-**Message Validation** with actionable solutions
116+
- 📊 **Diff Analysis** with smart statistics
117+
- 🎯 **Progress Indicators** for all operations
116118
- 🔄 **Version Control** for configurations
117119
- 🏥 **Health Monitoring** with doctor command
120+
- 🎨 **UI Configuration** - customize all visual elements
118121

119122
</td>
120123
</tr>
@@ -127,10 +130,19 @@ commitweave --ai
127130
| Command | Description | Example |
128131
|---------|-------------|---------|
129132
| `commitweave` | Interactive commit creation | Creates commits with guided prompts |
130-
| `commitweave --ai` | AI-powered commit generation | Analyzes changes, suggests commits |
133+
| `commitweave ai` | AI-powered commit generation | Analyzes changes, suggests commits |
131134
| `commitweave init` | Initialize project configuration | Sets up `glinr-commit.json` |
132135
| `commitweave check` | Validate your last commit | Checks conventional commit compliance |
133136

137+
### ⚡ Command Shortcuts (Power Users)
138+
139+
| Shortcut | Full Command | Description |
140+
|----------|-------------|-------------|
141+
| `commitweave v` | `commitweave check` | Quick validate last commit |
142+
| `commitweave ls` | `commitweave list` | Quick list configuration |
143+
| `commitweave ai` | `commitweave --ai` | Direct AI commit (no flag) |
144+
| `commitweave health` | `commitweave doctor` | Quick health check |
145+
134146
### Configuration Management
135147

136148
| Command | Description | Use Case |
@@ -179,6 +191,13 @@ commitweave --ai
179191
"ai": {
180192
"provider": "openai",
181193
"model": "gpt-4"
194+
},
195+
"ui": {
196+
"fancyUI": true,
197+
"asciiArt": true,
198+
"animations": true,
199+
"colors": true,
200+
"emoji": true
182201
}
183202
}
184203
```

0 commit comments

Comments
 (0)