In this commit, a series of UI enhancements and changes have been made on some components. The modifications help to improve the user interaction experience and the organization of the code by refactoring some of the elements, improving their visibility and adding new interactive elements.
Changes include:
- Improved opacity state for the 'isFileLocked' feature.
- Added and integrated new Tooltip and IconLock classes.
- Refactored color configurations in the color config section.
- Introduced the creation of an SVG file for Icon elements rendering.
- Modified text to "No uncommitted changes on this branch" for better clarity.
- Added options to maximize and minimize in the PopupMenu.
- Changed modal title from "Update target" to "Merge Upstream Work", and expanded the explanation of the work's impact.
- Removed some redundant conditions in the checkbox state in the branches component.
- Added help icon library.
- Changed the modal confirmation button from "Update" to "Merge Upstream
This commit brings a significant update to the user interface text and includes a new badge icon. Changes mainly occur on how the app communicates with the users, especially when there are no commits or changes in their repository.
Changes:
- Added a new SVG badge icon to be displayed when there are no commits.
- Enhanced the messaging when no commits are made yet on the branch by replacing the 'No uncommitted changes' message with a more interactive message.
- Included a descriptive tooltip message for the 'Fetch' button.
- Adjusted the fetch button hover effect to change background color based on the `expanded` state.
- Added an indicator showing the number of unmerged upstream commits.
- Expanded the range of some color shades in the color configuration.
- Updated the code to handle singular or plural form of 'commit' based on the length of the array of commits.
- Corrected a typo: 'uncomitted' has been changed to 'uncommitted
This builds on work done by Kiril, now making FileCardNext the default
viewing component.
- hunks are currently not abbreviated to one line
- right click on hunk for context menu
- double click on hunk to toggle wide mode
- open in vs code is almost accurate
This commit is a bit of a relief, we now have less than 1/10th the
amount of code powering drag & drop.
Future work includes:
- extracting commonalities into a Svelte action
- applying css to new drop zone without using sibling selector
- styling
This commit refactors the button component styles by introducing a new `kind` prop to replace the `filled` and `outlined` props. The `kind` prop takes values "filled", "outlined", or "plain". It also updates the usage of the button component in other components, using the new `kind` prop. Additionally, the button stories have been updated to remove redundancy and use the new `kind` prop.
Changes:
- Introduce `kind` prop in Button component
- Remove `filled` and `outlined` props
- Update button usage in BackForwardButtons and Breadcrumbs components
- Update Button.stories to use new `kind` prop
This commit improves the visualization of diffs in the CodeViewer and makes several adjustments to the interface, which enhances the user experience.
Changes:
- Add padding to code lines and update line colors for context, split, and diff classes.
- Modify background color values for addition and deletion markers.
- Add contrasting text color to addition inner diffs: white.
- Update lineClass assignment in DiffViewer.svelte to reflect new colors.
- Reorganize project overview page: move work-in-progress sidebar to the right.
- Rename class "work-in-progress-sidebar" to "side-panel" for clearer naming convention.