Commit Graph

1317 Commits

Author SHA1 Message Date
Nikita Galaiko
fe61ffe042 project purging 2023-05-05 14:03:44 +02:00
Nikita Galaiko
a07d6c07a3 protect session id comparison with a lock too 2023-05-05 13:43:30 +02:00
Nikita Galaiko
b3edcbe4a8 properly export teminal icon from figma 2023-05-05 13:02:53 +02:00
Nikita Galaiko
25b54aaee0 format 2023-05-05 12:19:07 +02:00
Nikita Galaiko
21618f6073 differ: fix auto-scroll 2023-05-05 12:19:07 +02:00
Nikita Galaiko
f37fb7998a player: store current session id in a store 2023-05-05 12:19:07 +02:00
Nikita Galaiko
e046a7497b player: use store to track current filepath 2023-05-05 12:19:07 +02:00
Nikita Galaiko
0df3d2ab97 player: split sessions list into layout 2023-05-05 12:19:07 +02:00
Nikita Galaiko
71ed3e6bfb player: use links to move between sessions 2023-05-05 12:19:07 +02:00
Nikita Galaiko
d2e1f4f5fb player: move dates list to anohter layout 2023-05-05 12:19:07 +02:00
Scott Chacon
9196568558 Update file change message and add icons
This commit updates the message displayed when there are no file changes and adds new icons to the list of uses for GitButler. The message is now more informative and visually appealing with the inclusion of icons for different features.

Changes:
- Display a border and adjusted text for the "Waiting for file changes..." message
- Include IconPlayerPlayFilled, IconRewind, and IconSparkle as visual representations of GitButler features
2023-05-05 11:14:57 +02:00
Nikita Galaiko
92ec2a52a2 Revert "tauri 1.3"
This reverts commit 7a0b25e9dc.
2023-05-05 09:59:49 +02:00
Ian Donahue
dcb8be6036
Merge pull request #275 from gitbutlerapp/ian/gb-276-cmdk-ux-improvements-after-first
Ian/gb 276 cmdk ux improvements after first
2023-05-04 19:35:00 +02:00
idonahue
6d66b2de76 Improve QuickCommitModal layout and styling
In this commit, the layout and styling of the QuickCommitModal component have been improved. The main change is updating the div's flex layout to properly arrange its child elements, while also modifying the input element's class styling for better visual presentation. This results in a cleaner and more organized appearance for the QuickCommitModal.

- Rearranged flex layout properties in the first div to order child elements properly
- Modified the input element's class styling for a better visual presentation
2023-05-04 19:28:15 +02:00
idonahue
5fe3c3e9ea Add outline-none-important class for improved accessibility
In this commit, an outline-none-important class has been added to remove focus outlines from elements while maintaining accessibility across browsers. This update ensures that input fields and other interactive elements will have a unified appearance and reduce visual clutter when focused.

Changes include:
- Addition of .outline-none-important class with relevant styling
- Ensured code functions effectively in different browsers by applying multiple outline removal techniques within the new class
2023-05-04 19:07:37 +02:00
Nikita Galaiko
e0639b0024
return open project error reasons to frontend 2023-05-04 13:32:00 +02:00
Nikita Galaiko
964e627f8d use async stores 2023-05-04 12:49:49 +02:00
Nikita Galaiko
7a0b25e9dc tauri 1.3 2023-05-04 10:22:41 +02:00
Nikita Galaiko
0b582ede0a Add DiffContext component with persistent settings
Implement the DiffContext component that allows users to toggle the number of lines and the full context mode for diffs. The component stores these settings persistently in the browser's local storage. The changes involve creating a new Svelte component file, and adding the necessary script and HTML to handle the functionality.

Other things:
- Added new files for the DiffContext component
- Included logic to handle toggling the number of lines and full context mode
- Ensured persistence of the settings using local storage
- Defined and utilized stores for the persistent data
2023-05-04 08:25:08 +02:00
Nikita Galaiko
e795919da1 handle deletion of added staged file 2023-05-03 12:34:11 +02:00
Nikita Galaiko
f1818f78e6 minor refactoring 2023-05-03 12:34:11 +02:00
Nikita Galaiko
cc75786b50 move slider closer to where its used 2023-05-03 12:34:11 +02:00
Nikita Galaiko
303a249677 Optimize line numbering in Differ component
This commit improves the Differ component by removing unnecessary lines of code for determining the line number digits for both the original and current files. The general logic remains unchanged, but there's a cleaner approach for handling line numbering operations, resulting in a more concise and efficient implementation.

Removed lines:
- Original and current line number digit calculation
2023-05-03 09:03:00 +02:00
Nikita Galaiko
559074ff20 store session_id hash mapping 2023-05-03 08:15:11 +02:00
Ian Donahue
7dd11e74fd
Merge pull request #266 from gitbutlerapp/ian/gb-243-higher-contrast-diff-viewer
Ian/code diff spacing line view
2023-05-02 15:46:50 +02:00
idonahue
4ae5903908 pnpm install 2023-05-02 15:44:02 +02:00
idonahue
39dd27a340 code diff left numbering easier to read 2023-05-02 15:39:28 +02:00
Nikita Galaiko
797b210c9d do not share repositories between requests 2023-05-02 15:00:53 +02:00
Ian Donahue
03273dffc5
Merge pull request #264 from gitbutlerapp/ian/gb-243-higher-contrast-diff-viewer
setup basic variables for diff viewer
2023-05-02 14:55:18 +02:00
idonahue
bdd04ab39c pnpm format 2023-05-02 14:50:10 +02:00
idonahue
7fed423bd2 setup basic variables for diff viewer 2023-05-02 14:49:19 +02:00
Ian Donahue
a4f7ed7ff5
Merge pull request #263 from gitbutlerapp/bug-terminal-sidebar-width
Bug terminal sidebar width
2023-04-28 20:01:28 +02:00
idonahue
faf5f22281 pnpm format 2023-04-28 19:57:57 +02:00
idonahue
0b062dbadf Add card background image and minor refactoring
This commit adds the `background-image` property to the `.card` class, using an external URL for a noise generated image. Also, the diff includes a simple refactoring in `+page.svelte` where the `enrichSession` function has been moved into a separate script context. These changes enhance the visual appearance of the card and improve code organization.

Details:
- Add `background-image` property to `.card` class in `app.postcss`
- Move `enrichSession` function into separate script context in `+page.svelte`
2023-04-28 19:56:55 +02:00
idonahue
936d5513e7 Pointers removed from next/back buttons for changes 2023-04-28 19:14:35 +02:00
idonahue
bfa191572c Moved things into cards 2023-04-28 19:14:08 +02:00
idonahue
b6b23d388a Refactored sidebar 2023-04-28 18:28:46 +02:00
idonahue
2594601e06 fixed terminal side width 2023-04-28 17:01:19 +02:00
Ian Donahue
e64019e924
Merge pull request #262 from gitbutlerapp/sidebar-width-consistant
Sidebar width consistant
2023-04-28 16:34:47 +02:00
idonahue
3acc396bff pnpm install 2023-04-28 16:30:58 +02:00
idonahue
5a48d60976 pnpm install 2023-04-28 16:30:20 +02:00
idonahue
27904caeeb Made the sidebar-width consistant 2023-04-28 16:30:02 +02:00
Nikita Galaiko
cd382bd9f7 set last session timestamp 2023-04-28 13:01:36 +02:00
Nikita Galaiko
d76c0607f1 differ: wrap text 2023-04-28 13:01:24 +02:00
Nikita Galaiko
932a51d271 commit page: add diff controls and navigation 2023-04-28 10:33:07 +02:00
Nikita Galaiko
7efdf0a5e7 use default differ component to render commit diff 2023-04-28 09:48:26 +02:00
Ian Donahue
c6ec0d9b77
Merge pull request #257 from gitbutlerapp/ian/prettify-2023-04-27-1653
ian/prettify 2023 04 27 1653
2023-04-27 19:01:54 +02:00
idonahue
35401e3d1a pnpm format 2023-04-27 18:58:26 +02:00
idonahue
69878096ef Update +page.svelte 2023-04-27 18:52:40 +02:00
idonahue
2249183b61 wer 2023-04-27 18:48:59 +02:00