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
This implements a simple terminal frontend using Xterm and backend using portable_pty. It will not yet record, but it should keep a separate terminal per project, resize properly, change directories to the project, etc.
https://docs.rs/portable-pty/latest/portable_pty/
The diff is mainly focused on updating the styling of the input fields, changing some class names, and removing extra spacing or unnecessary lines.
Changes include:
- Reformatting textarea and input element styling by breaking selectors into multiple lines for better readability.
- Updating input focus styles in `CommandPalette/Commit.svelte` to remove duplicate classes.
- Adjusting padding and margins for elements in `FileActivity.svelte` and `+page.svelte` for improved appearance and alignment.
- Tweaking and simplifying class names in `+page.svelte` for consistency and readability.