Commit Graph

1203 Commits

Author SHA1 Message Date
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
Nikita Galaiko
1f4bf04f98 rm extra prints 2023-04-20 09:14:34 +02:00
Nikita Galaiko
5ea9c5282a log reindex failure 2023-04-20 09:14:34 +02:00
Nikita Galaiko
eb050fe428 stop debug tantivy logs 2023-04-20 09:14:34 +02:00
Nikita Galaiko
80c72dbf8a avoid overflow when checking session ts 2023-04-20 08:47:00 +02:00
Kiril Videlov
8e5259ce84 chatGBT: use gitbutler aws deployment 2023-04-20 00:17:31 +02:00
Ian Donahue
bce0f1671f
Merge pull request #210 from gitbutlerapp/ian/gb-212-make-chatgbtlr-a-little-less-ugly
Updated visual style subtly and added a way to have a "greeting" bef…
2023-04-19 22:37:44 +02:00
idonahue
3e6ca41971 Updated visual style subtlly and added a way to have a "greeting" before you typing anything 2023-04-19 22:33:29 +02:00
Nikita Galaiko
92b1c00e58 fix deltas calcuation & add more tests 2023-04-19 20:04:37 +02:00
Ian Donahue
f866538b4f
Merge pull request #208 from gitbutlerapp/ian/gb-212-make-chatgbtlr-a-little-less-ugly
Ian/gb 212 make chatgbtlr a little less ugly
2023-04-19 18:30:41 +02:00
idonahue
408b2b7f09 Ppm 2023-04-19 18:25:00 +02:00
idonahue
b790a5457f Improve GitButler chat UI and structure
This commit enhances the GitButler chat user interface by refining the layout, adding clearer chat messages, and improving the overall structure. The changes include a more organized display with chat history and new messages, better styling for chat messages, and the introduction of a chat container for easier navigation through the chat.

Changes:
- Wrap chat components in a GitBTLR-container for better organization
- Add chat-container with better styling and layout for chat history and messages
- Modify the appearance of chat messages with new styling, colors, and icons
- Use distinguishable message bubbles for user and GitButler messages for improved readability
2023-04-19 18:24:17 +02:00
Nikita Galaiko
8af8bc2806 bring back session/wd usage 2023-04-19 17:12:23 +02:00
Nikita Galaiko
fb41de695c calculate session files based on deltas 2023-04-19 16:09:54 +02:00
Nikita Galaiko
14bcfaa94d handle file deletion 2023-04-19 15:47:20 +02:00
Nikita Galaiko
9cce6199de player: show diffs for new files 2023-04-19 15:30:48 +02:00
Kiril Videlov
1fc5614385 Introducing ChatGBTLR
To try this, there use secret code below.
Within the app, navigate to any project and press the following sequence
of characters `aip` (make sure a text field is not selected)
2023-04-19 13:52:19 +02:00
Nikita Galaiko
c374ccd6f8 event loop 2023-04-19 12:24:39 +02:00
Nikita Galaiko
224784a9f2 strict filter path 2023-04-19 08:14:27 +02:00
Nikita Galaiko
72310d6a84 fix deltas cache 2023-04-19 08:14:27 +02:00
Nikita Galaiko
c0048936aa fix deltas calcultion 2023-04-18 19:21:47 +02:00