Skip to content
Merged
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
12 changes: 0 additions & 12 deletions .changeset/add-body-requirement-prompt.md

This file was deleted.

14 changes: 0 additions & 14 deletions .changeset/add-command-aliases-and-help-improvements.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/add-commit-editor-support.md

This file was deleted.

15 changes: 0 additions & 15 deletions .changeset/add-keyboard-shortcuts.md

This file was deleted.

14 changes: 0 additions & 14 deletions .changeset/add-preview-toggle-functionality.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/fix-init-config-check-timing.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/fix-label-truncation.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/fix-preview-body-extraction.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/improve-commit-command-ux.md

This file was deleted.

74 changes: 74 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,79 @@
# @labcatr/labcommitr

## 0.2.0

### Minor Changes

- 5b707eb: feat: add body requirement prompt to init command
- New prompt in init flow to set commit body as required or optional
- "Yes" option marked as recommended for better commit practices
- Configuration properly respected in commit prompts
- When body is required, commit prompts show "required" and remove "Skip" option
- Defaults to optional for backward compatibility

- c435d38: feat: add init command alias and improve help text
- Add `i` alias for `init` command for faster access
- Update help examples to use `lab` instead of `labcommitr` consistently
- Add concise examples showing both full commands and aliases
- Add note clarifying both `lab` and `labcommitr` can be used
- Update README to document `init|i` alias
- Remove duplicate pagination text from preview and revert commands
- Improve help text clarity and consistency across all commands

- 5b707eb: feat: add editor support for commit body input
- Users can now open their preferred editor for writing commit bodies
- Supports both inline and editor input methods
- Automatically detects available editors (VS Code, Vim, Nano, etc.)
- Improved experience for multi-line commit bodies
- Configurable editor preference in configuration files

- 12b99b4: feat: add keyboard shortcuts for faster prompt navigation
- Add keyboard shortcuts module with auto-assignment algorithm
- Enable shortcuts by default in generated configurations
- Generate default shortcut mappings for commit types in init workflow
- Implement input interception for single-character shortcut selection
- Add shortcuts support to type, preview, and body input prompts
- Include shortcuts configuration in advanced section with validation
- Support custom shortcut mappings with auto-assignment fallback
- Display shortcut hints in prompt labels when enabled

- 8a8d29c: feat: add toggle functionality for body and files in preview
- Add toggle state for body and files visibility in commit detail view
- Implement `b` key to toggle body visibility on/off
- Implement `f` key to toggle files visibility on/off
- Reset toggles when viewing new commit or returning to list
- Update prompt text to indicate toggle behavior
- Fixes issue where pressing `b`/`f` caused repeated rendering
- Improves UX by allowing users to hide/show sections as needed

- 5b707eb: feat: enhance commit command user experience
- Terminal automatically clears at command start for maximum available space
- Improved staged file detection with support for renamed and copied files
- Color-coded Git status indicators (A, M, D, R, C) matching Git's default colors
- Connector lines added to files and preview displays for better visual flow
- More accurate file status reporting with copy detection using -C50 flag

### Patch Changes

- 43df95c: fix: move config existence check before Clef intro animation
- Perform early validation before any UI/animation in init command
- Check for existing config immediately after project root detection
- Only show Clef intro animation if initialization will proceed
- Provides better UX by failing fast with clear error message
- Prevents unnecessary animation when config already exists

- 5b707eb: fix: prevent label text truncation in prompts
- Increased label width from 6 to 7 characters to accommodate longer labels
- Fixes issue where "subject" label was being truncated to "subjec"
- Applied to both commit and init command prompts for consistency
- All labels now properly display full text with centered alignment

- 4597502: fix: exclude subject line from commit body extraction
- Split commit message by first blank line to separate subject and body
- Only return content after blank line as body in preview command
- Prevents subject line from appearing in body section
- Fixes incorrect display where commit subject was shown as part of body

## 0.1.0

### Minor Changes
Expand Down
Loading