Commit Graph

1203 Commits

Author SHA1 Message Date
Nikita Galaiko
5e20cdaeb5 delete project from store on delete 2023-05-10 14:29:13 +02:00
Nikita Galaiko
cf08bb8a24 rename api -> cloud 2023-05-10 14:29:13 +02:00
Nikita Galaiko
3fcdaa2104 extract open new project modal 2023-05-10 14:29:13 +02:00
Nikita Galaiko
a47b0dda1f Add event_sender to App and update function signatures
Implemented the addition of an event_sender property to the App struct which is used by the start_watcher and init functions. Updated the new, init, and start_watcher functions to work with the new event_sender, and removed the now unnecessary events argument.

Changes:
- Added event_sender property to App struct.
- Added event_sender argument to new function.
- Removed events argument from init_project, init, and start_watcher functions.
- Updated start_watcher and init functions to use the new event_sender.
2023-05-10 13:21:57 +02:00
Nikita Galaiko
2856d51979 add test for remote sync sessions order 2023-05-10 08:00:07 +02:00
Nikita Galaiko
f41413cbde add tests for remote syncronization 2023-05-10 08:00:07 +02:00
Nikita Galaiko
1c62a7976f rm react from deps 2023-05-09 10:03:00 +02:00
Nikita Galaiko
eef6c6374e replace storybook with histoire 2023-05-09 09:57:59 +02:00
Ian Donahue
42b3ec371e
Merge pull request #302 from gitbutlerapp/ian/updated-settings-external-icon-button-height
Ian/updated settings external icon button height
2023-05-08 16:56:42 +02:00
Ian Donahue
d3d3b22b9a
Merge pull request #301 from gitbutlerapp/ian/gb-289-make-all-modals-have-the-same-visual
Refactor CSS styles and add modal styling
2023-05-08 16:53:33 +02:00
idonahue
3d7bf5915b pnpm format 2023-05-08 16:53:01 +02:00
idonahue
f26b01934e Increase icon and loading spinner size in Button
This commit increases the size of icons and the loading spinner in Button components. The IconLoading component's class size has been updated from "h-4 w-4" to "h-5 w-5", and the icon component's class size has also been updated from "h-4 w-4" to "h-5 w-5". Additionally, some related styling adjustments have been made, such as removing the underline from button hover states and updating some background color values.

Changes:
- Update IconLoading size from "h-4 w-4" to "h-5 w-5" in Button component
- Update icon size from "h-4 w-4" to "h-5 w-5" in Button component
- Remove underline from button hover states
- Adjust background color values for button states
2023-05-08 16:52:18 +02:00
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