- Update user and project profile settings
- Add validations for user name and profile picture
- Add input fields for project name and description
[src/routes/users/+page.svelte]
- Raise `userNameInput` variable and bind it to the input field
- Add `pictureChanged` variable to track if the picture has been changed
- Add a condition to the form submit button to check if `userNameInput` and `pictureChanged` are valid
- Add a placeholder to the name input field
- Add a valid file type check before setting `userPicture`
- Update the API call to include `userNameInput` and `pictureChanged`
-
[src/routes/projects/[projectId]/settings/+page.svelte]
- Add input fields for project name and description
- Add placeholder for project name
- Bind project name and description inputs to fields
- Disable update button if no changes are made
- Change button label from "Update profile" to "Update profile"
Improved the list style and highlight of the file list by making changes to the class properties in the player page. Modified padding, background color, and margins to create a more visually appealing and clearer display of the selected files.
Changes:
- Modified class property of the file list to set proper padding, remove default bullet points and add a right padding.
- Changed font-bold class to bg-[#3356C2] for selected file, making it more prominent and improved readability.
- Adjusted margins, padding and width for the list elements to better align and fit within the file list.
Changes:
- In Dialog.svelte, replaced hard-coded color values with class-based colors for better maintainability.
- Added padding to the paragraph elements in page.svelte for better spacing.
- Updated the font-semibold class to use consistent text color across elements.
- 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