Commit Graph

1273 Commits

Author SHA1 Message Date
Nikita Galaiko
a2c332302c frontend: refactor api structure 2023-04-25 10:16:12 +02:00
Nikita Galaiko
96bccad65e add back hidden cmdp options 2023-04-25 08:18:02 +02:00
Ian Donahue
117b273371
Merge pull request #233 from gitbutlerapp/fixed-height-cmdk-2
make cmdk fixed height
2023-04-24 17:42:20 +02:00
Nikita Galaiko
9a018e4fda
make cmdk fixed height 2023-04-24 17:24:48 +02:00
Nikita Galaiko
d362df49ec cleanup icons components 2023-04-24 16:23:12 +02:00
Nikita Galaiko
ac64f9f9cf pnpm format 2023-04-24 16:03:02 +02:00
Nikita Galaiko
92e6728483 cmdk: fix arrow navigation 2023-04-24 16:03:02 +02:00
Nikita Galaiko
1e33fc7974 cmdk: scroll to selection 2023-04-24 16:03:02 +02:00
Nikita Galaiko
b89ec9f1ce cmdk: add more help actions 2023-04-24 16:03:02 +02:00
Nikita Galaiko
a554eb94a1 cmdk: add navigation settings links 2023-04-24 16:03:02 +02:00
Nikita Galaiko
fc64db4c45 cmdk: add new project action 2023-04-24 16:03:02 +02:00
Nikita Galaiko
dd4e7fa109 cmdk: hide empty groups 2023-04-24 14:08:07 +02:00
Nikita Galaiko
39252bd455 sentry: identify frontend 2023-04-24 13:38:34 +02:00
Nikita Galaiko
e72d738d88 dialog,button: resolve preventDefault conflict 2023-04-24 13:22:48 +02:00
Ian Donahue
7d0725a450
Merge pull request #227 from gitbutlerapp/ian/gb-221-commit-page-list-scroll-bug
Ian/gb 221 commit page list scroll bug
2023-04-24 13:16:47 +02:00
idonahue
6c8f486d81 pnpm format 2023-04-24 13:12:44 +02:00
idonahue
f45efc1260 Commit page changes scroller works 2023-04-24 13:12:04 +02:00
Nikita Galaiko
24f08ea25b cmdk: use Meta as a hotkey modifier 2023-04-24 13:05:28 +02:00
Nikita Galaiko
0d21f17509 cmdk hotkeys work if input if focsed 2023-04-24 13:05:28 +02:00
Nikita Galaiko
70d61314a6 update .gitignore 2023-04-24 13:05:28 +02:00
Nikita Galaiko
6970c324c7 git_match_path: make it case insensitive 2023-04-24 10:51:51 +02:00
idonahue
9e03d0f6e1 Update +page.svelte 2023-04-24 10:28:58 +02:00
Nikita Galaiko
72f9c602fe fix commit page dialog 2023-04-24 10:22:01 +02:00
Nikita Galaiko
9ed0ab954a align dialog with requirements 2023-04-24 10:22:01 +02:00
Nikita Galaiko
a06c234e0c better sentry setup 2023-04-21 16:10:06 +02:00
Nikita Galaiko
28fd4d1127 better test 2023-04-21 12:51:42 +02:00
Nikita Galaiko
3690b99537 correctly handle unicode diffs 2023-04-21 12:51:42 +02:00
Nikita Galaiko
0153f3bc7e fix linter warning 2023-04-21 12:51:42 +02:00
Nikita Galaiko
6827ab6a00 better log messages 2023-04-21 12:51:42 +02:00
Nikita Galaiko
1f6c703869 cargo update 2023-04-21 12:51:42 +02:00
Nikita Galaiko
507cdd1277 extract statuses component 2023-04-21 09:59:40 +02:00
Nikita Galaiko
0c089e18c2 support partially staged files 2023-04-21 09:59:40 +02:00
Nikita Galaiko
6079036702 Refactor Autowrite button UI code
Simplify the UI code for the Autowrite button by replacing the conditional rendering block with a more generic Button component. This change helps to reduce duplicate code, improve readability and maintainability.

Changes:
- Replaced conditional rendering block for isGeneratingCommitMessage with a single Button component
- Passed the necessary props for enabling, disabling, and displaying the loading state of the button
2023-04-21 08:50:15 +02:00
Nikita Galaiko
6e1c827ecf add purple button 2023-04-21 08:50:15 +02:00
Ian Donahue
59c7df620b
Merge pull request #218 from gitbutlerapp/ian/command-palette-tweak
Improve CommandPalette style and focus outline
2023-04-20 16:54:26 +02:00
idonahue
9459a28486 Improve CommandPalette style and focus outline
Updated the styles in CommandPalette to enhance user experience. The changes include making the command title font medium, removing the default focus outline for the input field, and adding a custom box-shadow for the input focus state. Additionally, adjusted the section header color for better visibility.

Changes:
- Set command title font to medium
- Remove default focus outline in the input field
- Apply custom box-shadow for the input focus state
- Update section header text color
2023-04-20 16:42:51 +02:00
Ian Donahue
19212e5bbf
Merge pull request #217 from gitbutlerapp/ian/gb-216-text-alignment-of-player-skipped-lines
Ian/gb 216 text alignment of player skipped lines
2023-04-20 16:12:26 +02:00
idonahue
ec82549fd8 Fix CSS formatting and class order issues
This commit addresses minor CSS formatting issues and rearranges class orders in some elements for consistency. The diff resolved a misaligned comment and modified class declarations for improved readability and maintainability.

Changes:
- Fixed alignment of CSS comment in diff.css
- Modified class order for readability in generating-commit-message element
- Rearranged class order in description textarea
- Changed class order in span element for visual consistency
2023-04-20 16:08:07 +02:00
idonahue
ab312b45f3 Increase commit description height and update styles
This commit increases the height of the commit-description-container, which allows users to view more of their commit message at once. Additionally, the styling for the generating-commit and generating-commit-message classes were updated to improve UI.

Changes:
- Height of commit-description-container changed from h-28 to h-36
- Updated border color of generating-commit class
- Added background gradient for generating-commit-message class
- Changed button text from "Generate commit message" to "Autowrite"
2023-04-20 16:07:11 +02:00
idonahue
2d714b9a58 Improve UI styling for commit message and player
This commit enhances the visual appearance of several UI components, specifically in the CodeViewer, commit page, and player sections. Changes include adjusting colors, text alignment, padding, background styling, and adding shadows and borders for a cleaner look.

Changes:
- Update diff.css to change the diff-line-spacer style
- Modify commit/+page.svelte to change commit-description-container size and styling
- Update player/+page.svelte to improve info box styling and text coloring
- Modify Slider.svelte to adjust slider appearance
2023-04-20 16:06:37 +02:00
Nikita Galaiko
7a3b5d6921 return clones from caches to ensure data integrity 2023-04-20 13:31:58 +02:00
Nikita Galaiko
e2a77749a9 reset model before showing it 2023-04-20 13:08:34 +02:00
Nikita Galaiko
3c2e167bc2 rm unused QuickCommit.svelte 2023-04-20 13:08:34 +02:00
Nikita Galaiko
11f4ae57f3 rm debug information 2023-04-20 13:08:34 +02:00
Nikita Galaiko
4b66b76d40 rm unused selectors 2023-04-20 13:08:34 +02:00
Nikita Galaiko
479785868b min context=0 2023-04-20 12:09:55 +02:00
Nikita Galaiko
848b6b5dc7 add comments 2023-04-20 10:48:16 +02:00
Nikita Galaiko
2c87b383ba newline 2023-04-20 10:48:16 +02:00
Nikita Galaiko
5736009c4c on file change: flush session if head changed 2023-04-20 10:48:16 +02:00
Nikita Galaiko
4e51eb1f80 refuse to flush session when dir is not there 2023-04-20 10:48:16 +02:00