Commit Graph

1481 Commits

Author SHA1 Message Date
Nikita Galaiko
ed3ed7e84b add delete all data 2023-05-08 10:05:28 +02:00
Nikita Galaiko
b3aff720df do not delete project from cloud 2023-05-08 09:53:02 +02:00
Nikita Galaiko
b635b83b30 pnpm format 2023-05-08 08:32:15 +02:00
Nikita Galaiko
2969c24dfa Refactor button styles and update usage
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
2023-05-08 08:32:15 +02:00
Nikita Galaiko
5dd48b69ab extract reader to mod 2023-05-08 07:47:52 +02:00
Nikita Galaiko
4b92d52636 extract gb_repository to mod 2023-05-08 07:47:52 +02:00
Nikita Galaiko
8b0da72931 move the rest inside app 2023-05-08 07:38:29 +02:00
Nikita Galaiko
942b48914c move users inside app 2023-05-08 07:38:29 +02:00
Nikita Galaiko
39b3cc0698 reexport deltas 2023-05-08 07:38:29 +02:00
Nikita Galaiko
77bdd0650b move projects inside app 2023-05-08 07:38:29 +02:00
Nikita Galaiko
31f0b3a693 rm unused session.activity 2023-05-08 07:38:29 +02:00
Nikita Galaiko
014a4e0575 move deltas inside app 2023-05-08 07:38:29 +02:00
Nikita Galaiko
7b637ee527 move sessions inside app 2023-05-08 07:38:29 +02:00
Nikita Galaiko
eb835a4d56 also delete project from cloud 2023-05-05 14:44:06 +02:00
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