Commit Graph

1235 Commits

Author SHA1 Message Date
Nikita Galaiko
72888bbf07 add rust api to fetch feedback archives 2023-05-12 11:51:55 +02:00
Nikita Galaiko
67334aa5e4 cleanup unused styles 2023-05-11 15:01:58 +02:00
Nikita Galaiko
03c3d2a287 move text editor styles to text editor 2023-05-11 14:40:58 +02:00
Nikita Galaiko
5181dab5b0 fixup connect to cloud dialog 2023-05-11 14:40:58 +02:00
Nikita Galaiko
d98583ea85 fixup delete confirmation modals 2023-05-11 14:40:58 +02:00
Nikita Galaiko
d88492735a fixup link project modal 2023-05-11 14:40:58 +02:00
Nikita Galaiko
4a08ee95ff use styles from figma 2023-05-11 14:40:58 +02:00
Nikita Galaiko
e8607ce380 move BackForwardButtons & Breadcrumbs 2023-05-11 13:21:55 +02:00
Nikita Galaiko
61e42755f6 move common diff functions to lib 2023-05-11 13:21:55 +02:00
Nikita Galaiko
faeb183171 move DiffViewer to where it used 2023-05-11 13:21:55 +02:00
Nikita Galaiko
ad0138d7ae mkdir Overlay 2023-05-11 13:21:55 +02:00
Nikita Galaiko
76cae65723 move QuickCommitModal to where it used 2023-05-11 13:21:55 +02:00
Nikita Galaiko
5b0b2d8389 move LinkProjectModal to where its used 2023-05-11 13:21:55 +02:00
Nikita Galaiko
68559dfe3e rename Dialog -> Modal 2023-05-11 13:21:55 +02:00
Nikita Galaiko
619a51c0c3 rename Modal -> Overlay 2023-05-11 13:21:55 +02:00
Nikita Galaiko
37f74e9ff9 better click outside detection 2023-05-11 11:02:21 +02:00
Nikita Galaiko
90f475d7e5 fix cmd+r redirects 2023-05-11 11:02:21 +02:00
Nikita Galaiko
f04505d8e7 do not open/close modal with no need 2023-05-11 11:02:21 +02:00
Nikita Galaiko
9c5c764330 make events and hotkeys global 2023-05-11 09:23:12 +02:00
Nikita Galaiko
990f6f3153 remove icon from the link dialog header 2023-05-11 08:52:44 +02:00
Nikita Galaiko
03171d648e bump typescript 2023-05-11 08:22:28 +02:00
dependabot[bot]
cf681f7b53 Bump tokio from 1.27.0 to 1.28.0 in /src-tauri
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.27.0 to 1.28.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.27.0...tokio-1.28.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-11 08:06:33 +02:00
Nikita Galaiko
b89b6219c4 correct session types 2023-05-11 08:06:20 +02:00
dependabot[bot]
d0041f81f6 Bump git2 from 0.16.1 to 0.17.1 in /src-tauri
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.16.1 to 0.17.1.
- [Changelog](https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.16.1...0.17.1)

---
updated-dependencies:
- dependency-name: git2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-11 08:06:10 +02:00
Nikita Galaiko
c44f87ca90 fix warnings 2023-05-10 16:17:04 +02:00
Nikita Galaiko
1d68fb946a simplify file summaries store juggling and achieve reactivity 2023-05-10 16:10:33 +02:00
Nikita Galaiko
1774ec4073 index sessions in background after fetch 2023-05-10 14:29:13 +02:00
Nikita Galaiko
f91061cc53 fetch project on update 2023-05-10 14:29:13 +02:00
Nikita Galaiko
fb1e8c807d unify event data 2023-05-10 14:29:13 +02:00
Nikita Galaiko
de8178d1b6 make event fields private 2023-05-10 14:29:13 +02:00
Nikita Galaiko
9eaef82393 send new sessions on fetch 2023-05-10 14:29:13 +02:00
Nikita Galaiko
0b977613b1 add link project modal 2023-05-10 14:29:13 +02:00
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