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.
Updated the styling of the file list in the project page to enhance readability and consistency. Padding and spacing adjustments were made on both the file list and file activity components to provide a better user experience.
Changes made:
- Adjusted padding and spacing in the file list of the project page
- Updated padding and height in the FileActivity component
- Visual pretification
In this commit, the UI for the project files page is enhanced by restructuring the layout and improving the readability of the file activities. The file activity bars are redesigned to use a more visual and adaptable representation.
Changes include:
- Updated the layout and styling of `+page.svelte` for better readability.
- Refactored the file activities display in `FileActivity.svelte` with more descriptive bar styles and heights for different activity levels.
- Added styles to the file activity bars for a cleaner and more visually appealing look.
Refactored commit page behavior, enabled commit generation only when user is logged in, and selected at least one file. Removed the unused "fade" import, and added separate reactive variables for better readability and responsiveness in the commit page UI.
Changes:
- Removed unused "fade" import
- Added isLoggedIn, isSomeFilesSelected, and isGenerateCommitEnabled reactive variables
- Updated "disabled" condition for the "generate commit" button