Commit Graph

1291 Commits

Author SHA1 Message Date
idonahue
350aed07d3 Refactor modal styling for better readability
This commit refactors the modal styling in the app.postcss file to improve readability and maintainability. The changes involve removing unnecessary indentation in the modal CSS class, which enhances the overall quality of the code.

- Removed unnecessary indentation in the modal CSS class
- No functional changes were made
2023-05-08 16:28:36 +02:00
idonahue
9e84f02565 Refactor CSS styles and add modal styling
This commit refactors the CSS code in the app.postcss file, with changes ranging from capitalization of sections, adding outline removal styling, and incorporating modal styles. The refactoring makes the code more consistent by using capital letters for the section comments. Additionally, the new modal styling is provided with a blur effect and a semi-transparent background for a more modern appearance.

Changes made in this commit:
- Capitalize section comments for consistency
- Add outline removal styling section
- Implement modal styling with backdrop-filter and semi-transparent background
2023-05-08 15:33:25 +02:00
dependabot[bot]
0417e36bcc Bump uuid from 1.3.1 to 1.3.2 in /src-tauri
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/1.3.1...1.3.2)

---
updated-dependencies:
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-08 15:16:55 +02:00
Nikita Galaiko
dc2315b56f configure dependabot [2] 2023-05-08 15:10:55 +02:00
Nikita Galaiko
6736bf2154 configure dependabot 2023-05-08 15:04:23 +02:00
dependabot[bot]
648c4507ec Bump tauri from 1.2.4 to 1.2.5 in /src-tauri
Bumps [tauri](https://github.com/tauri-apps/tauri) from 1.2.4 to 1.2.5.
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/tauri-v1.2.4...tauri-v1.2.5)

---
updated-dependencies:
- dependency-name: tauri
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-08 15:01:37 +02:00
Nikita Galaiko
cea80b5cb1 fetch remotes every 10 min 2023-05-08 14:54:55 +02:00
Nikita Galaiko
55fdb08b83 commit page hotkeys 2023-05-08 13:19:45 +02:00
Nikita Galaiko
37ec72121e cache stores 2023-05-08 11:20:38 +02:00
Nikita Galaiko
f9a15a5729 test searcher delete 2023-05-08 10:05:28 +02:00
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