- Update hotkeys for Command Palette commands
- Update 'Quick commit' hotkey from `c` to `C`
- Update 'Commit' hotkey from `Shift+c` to `Shift C`
- Update 'Terminal' hotkey from `Shift+t` to `Shift T`
- Update 'Replay History' hotkey from `r` to `R`
[src/lib/components/CommandPalette/CommandPalette.svelte]
- Split the command.hotkey into separate keys and display them
[src/lib/components/CommandPalette/commands.ts]
- Change the hotkey for 'Quick commit' from `c` to `C`
- Change the hotkey for 'Commit' from `Shift+c` to `Shift C`
- Change the hotkey for 'Terminal' from `Shift+t` to `Shift T`
- Change the hotkey for 'Replay History' from `r` to `R`
Changes:
- Re-ordered classes in the "modal-overlay" div for better readability.
- Split the inner "modal" div properties onto multiple lines to improve readability.
Modified the modal component to include a new structure with an overlay wrapper for improved styling and positioning. The diff includes changes to the class names, additional div wrappers and updated CSS property values.
Changes:
- Remove fixed modal width and height, apply 100vh height to overlay
- Add modal-overlay div wrapper for improved positioning and styling
- Move modal styles to new inner modal div
- Make the outer dialog element transparent
Enhance the "Summarizing changes" UI element in the commit page by modifying its position, border, and background. This update improves the appearance and visibility of the message during the commit process.
Changes:
- Shift display to the top-right corner and adjust the positioning.
- Change the border and background to better highlight the message.
- Nest the original elements inside a new container for better styling.
- Improve accessibility of project page
- Add a11y-click-events-have-key-events comment
- Change click event to preventDefault
- Change class of div to remove cursor-text
- Add span tag with path and conditionally add opacity-50 class
- Remove button tag with collapsable
- Update repository diffs to include untracked content
- Recurse into untracked directories
- Include ignored files in diffs
[src-tauri/src/repositories/repository.rs]
- Include untracked content in diffs
- Recurse into untracked directories
- Include ignored files in diffs
Changes:
- Change text size in [projectId]/+page.svelte and commit/+page.svelte to "text-sm" for better readability.
- Update background color in FileActivity.svelte from a custom purple color to the predefined "bg-blue-500" class.
- Replace "bg-gb-700" with a custom color "bg-[#3356C2]" in commit/+page.svelte for the file-changed-item background.
- Adjust padding in commit/+page.svelte to enhance the file-changed-item appearance.
Refactored the CommandPalette component's CSS and structure to improve readability and maintainability. Restructured the code to achieve more flexibility and conform to established best practices.
Changes include:
- Removed duplicated styles from app.postcss.
- Reorganized styles and class names in CommandPalette.svelte.
- Applied appropriate CSS classes and styles directly to input fields and icons.
- Moved styles to dedicated sections within the style tag.
- Made minor changes to QuickCommit.svelte for consistency.
- Add shortcuts to project pages
- Add date-fns import for date formatting
[src/routes/projects/[projectId]/+layout.svelte]
- Add `format` import from `date-fns`
- Add `Shift+p` shortcut to go to project page
- Add `Meta+Shift+p` shortcut to go to project settings page
- Add `Shift+r` shortcut to go to project player page
- Add `a i p` shortcut to go to AI playground page