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
Restructured the Work in Progress sidebar by introducing nesting for better readability and maintainability. Colors and styles have been updated as well to improve the overall look and feel of the interface.
Changes:
- Enclosed Work in Progress header and related items within a new 'recent-changes' div.
- Created new 'work-in-progress-sidebar' class for the containing div.
- Replaced the SVG icon with a new one for 'Everything is committed'.
- Improved styling for both committed and uncommitted statuses.
This commit enhances the UI of commit/+page.svelte by adding a border and text shadow to both the "Generating commit message..." and "Generate commit message" buttons. It improves their visibility, making it easier for users to interact with the buttons.
Changes:
- Added border-top, border-bottom, border-left, and border-right to the buttons.
- The border colors consist of rgba values for white and black with different opacities.
- Added a text-shadow to both buttons with a slight offset and a darker color.
Improved the visual layout and styling for the commit and player pages by refining form elements such as checkboxes, input fields, and background colors. Additionally, fixed element alignments and added responsive sizing for a better user experience.
Changes include:
- Updated styles of checkboxes and their sizes.
- Adjusted padding and alignments for input fields and labels.
- Modified background colors and borders for inputs and cards.
- Changed calendar card CSS class name for better semantics.
Restructured the Work in Progress sidebar by introducing nesting for better readability and maintainability. Colors and styles have been updated as well to improve the overall look and feel of the interface.
Changes:
- Enclosed Work in Progress header and related items within a new 'recent-changes' div.
- Created new 'work-in-progress-sidebar' class for the containing div.
- Replaced the SVG icon with a new one for 'Everything is committed'.
- Improved styling for both committed and uncommitted statuses.