Skip to content

Commit 7dab71f

Browse files
[ci] release (#27)
2 parents fb621fc + 3e075d5 commit 7dab71f

39 files changed

+465
-274
lines changed

.changeset/add-body-requirement-prompt.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

.changeset/add-command-aliases-and-help-improvements.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

.changeset/add-commit-editor-support.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

.changeset/add-keyboard-shortcuts.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

.changeset/add-preview-toggle-functionality.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

.changeset/fix-init-config-check-timing.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

.changeset/fix-label-truncation.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

.changeset/fix-preview-body-extraction.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

.changeset/improve-commit-command-ux.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,79 @@
11
# @labcatr/labcommitr
22

3+
## 0.2.0
4+
5+
### Minor Changes
6+
7+
- 5b707eb: feat: add body requirement prompt to init command
8+
- New prompt in init flow to set commit body as required or optional
9+
- "Yes" option marked as recommended for better commit practices
10+
- Configuration properly respected in commit prompts
11+
- When body is required, commit prompts show "required" and remove "Skip" option
12+
- Defaults to optional for backward compatibility
13+
14+
- c435d38: feat: add init command alias and improve help text
15+
- Add `i` alias for `init` command for faster access
16+
- Update help examples to use `lab` instead of `labcommitr` consistently
17+
- Add concise examples showing both full commands and aliases
18+
- Add note clarifying both `lab` and `labcommitr` can be used
19+
- Update README to document `init|i` alias
20+
- Remove duplicate pagination text from preview and revert commands
21+
- Improve help text clarity and consistency across all commands
22+
23+
- 5b707eb: feat: add editor support for commit body input
24+
- Users can now open their preferred editor for writing commit bodies
25+
- Supports both inline and editor input methods
26+
- Automatically detects available editors (VS Code, Vim, Nano, etc.)
27+
- Improved experience for multi-line commit bodies
28+
- Configurable editor preference in configuration files
29+
30+
- 12b99b4: feat: add keyboard shortcuts for faster prompt navigation
31+
- Add keyboard shortcuts module with auto-assignment algorithm
32+
- Enable shortcuts by default in generated configurations
33+
- Generate default shortcut mappings for commit types in init workflow
34+
- Implement input interception for single-character shortcut selection
35+
- Add shortcuts support to type, preview, and body input prompts
36+
- Include shortcuts configuration in advanced section with validation
37+
- Support custom shortcut mappings with auto-assignment fallback
38+
- Display shortcut hints in prompt labels when enabled
39+
40+
- 8a8d29c: feat: add toggle functionality for body and files in preview
41+
- Add toggle state for body and files visibility in commit detail view
42+
- Implement `b` key to toggle body visibility on/off
43+
- Implement `f` key to toggle files visibility on/off
44+
- Reset toggles when viewing new commit or returning to list
45+
- Update prompt text to indicate toggle behavior
46+
- Fixes issue where pressing `b`/`f` caused repeated rendering
47+
- Improves UX by allowing users to hide/show sections as needed
48+
49+
- 5b707eb: feat: enhance commit command user experience
50+
- Terminal automatically clears at command start for maximum available space
51+
- Improved staged file detection with support for renamed and copied files
52+
- Color-coded Git status indicators (A, M, D, R, C) matching Git's default colors
53+
- Connector lines added to files and preview displays for better visual flow
54+
- More accurate file status reporting with copy detection using -C50 flag
55+
56+
### Patch Changes
57+
58+
- 43df95c: fix: move config existence check before Clef intro animation
59+
- Perform early validation before any UI/animation in init command
60+
- Check for existing config immediately after project root detection
61+
- Only show Clef intro animation if initialization will proceed
62+
- Provides better UX by failing fast with clear error message
63+
- Prevents unnecessary animation when config already exists
64+
65+
- 5b707eb: fix: prevent label text truncation in prompts
66+
- Increased label width from 6 to 7 characters to accommodate longer labels
67+
- Fixes issue where "subject" label was being truncated to "subjec"
68+
- Applied to both commit and init command prompts for consistency
69+
- All labels now properly display full text with centered alignment
70+
71+
- 4597502: fix: exclude subject line from commit body extraction
72+
- Split commit message by first blank line to separate subject and body
73+
- Only return content after blank line as body in preview command
74+
- Prevents subject line from appearing in body section
75+
- Fixes incorrect display where commit subject was shown as part of body
76+
377
## 0.1.0
478

579
### Minor Changes

0 commit comments

Comments
 (0)