Commit Graph

964 Commits

Author SHA1 Message Date
Scott Chacon
8af108c734 update the rest of the icons 2023-04-13 09:40:25 +02:00
Ian Donahue
2564f48803
Merge pull request #186 from gitbutlerapp/updated-app-icons
Added icons
2023-04-12 23:35:13 +02:00
Ian Donahue
1df8f4bfeb Added icons 2023-04-12 23:27:16 +02:00
Kiril Videlov
f70a9a690a 🔨 Refactor CommandPalette hotkeys
- Update hotkeys for `Commit` and `Terminal` commands
- Remove `Quick commit` command
- Add `Replay History` command
- Update hotkey split from ` ` to `+`

[src/lib/components/CommandPalette/commands.ts]
- Change the hotkey for `Commit` from `Shift C` to `Shift+C`
- Change the hotkey for `Terminal` from `Shift T` to `Shift+T`
- Remove the `Quick commit` command
- Add a `Replay History` command with no hotkey
[src/lib/components/CommandPalette/CommandPalette.svelte]
- Change the hotkey split from ` ` to `+`
2023-04-12 19:45:08 +02:00
Ian Donahue
dd27bede66
Merge pull request #182 from gitbutlerapp/expolore-higlight-of-player
Update list style and highlight in player page
2023-04-12 19:07:36 +02:00
Kiril Videlov
41cb4ead46 🔨 Refactor user and project settings
- Update user and project profile settings
- Add validations for user name and profile picture
- Add input fields for project name and description

[src/routes/users/+page.svelte]
- Raise `userNameInput` variable and bind it to the input field
- Add `pictureChanged` variable to track if the picture has been changed
- Add a condition to the form submit button to check if `userNameInput` and `pictureChanged` are valid
- Add a placeholder to the name input field
- Add a valid file type check before setting `userPicture`
- Update the API call to include `userNameInput` and `pictureChanged`
-
[src/routes/projects/[projectId]/settings/+page.svelte]
- Add input fields for project name and description
- Add placeholder for project name
- Bind project name and description inputs to fields
- Disable update button if no changes are made
- Change button label from "Update profile" to "Update profile"
2023-04-12 19:06:45 +02:00
idonahue
504eabdc0f Update list style and highlight in player page
Improved the list style and highlight of the file list by making changes to the class properties in the player page. Modified padding, background color, and margins to create a more visually appealing and clearer display of the selected files.

Changes:
- Modified class property of the file list to set proper padding, remove default bullet points and add a right padding.
- Changed font-bold class to bg-[#3356C2] for selected file, making it more prominent and improved readability.
- Adjusted margins, padding and width for the list elements to better align and fit within the file list.
2023-04-12 18:51:15 +02:00
Ian Donahue
ad1a01573d
Merge pull request #181 from gitbutlerapp/ian/gb-201-quick-visual-fix-to-the-gitbutler-cloud
Refactor Dialog and Commit page styling
2023-04-12 18:21:51 +02:00
idonahue
105c9a284e pnpm format 2023-04-12 18:17:56 +02:00
idonahue
89955fcbbd Refactor Dialog and Commit page styling
Changes:
- In Dialog.svelte, replaced hard-coded color values with class-based colors for better maintainability.
- Added padding to the paragraph elements in page.svelte for better spacing.
- Updated the font-semibold class to use consistent text color across elements.
2023-04-12 17:38:47 +02:00
Nikita Galaiko
4fc2f424e8 data migration preparations 2023-04-12 16:03:15 +02:00
Kiril Videlov
490e696da5 🔨 Refactor command hotkeys
- Update hotkeys for Command Palette commands
- Update 'Quick commit' hotkey from `c` to `C`
- Update 'Commit' hotkey from `Shift+c` to `Shift C`
- Update 'Terminal' hotkey from `Shift+t` to `Shift T`
- Update 'Replay History' hotkey from `r` to `R`

[src/lib/components/CommandPalette/CommandPalette.svelte]
- Split the command.hotkey into separate keys and display them
[src/lib/components/CommandPalette/commands.ts]
- Change the hotkey for 'Quick commit' from `c` to `C`
- Change the hotkey for 'Commit' from `Shift+c` to `Shift C`
- Change the hotkey for 'Terminal' from `Shift+t` to `Shift T`
- Change the hotkey for 'Replay History' from `r` to `R`
2023-04-12 12:31:45 +02:00
Kiril Videlov
2a3cd985da improve client stack traces 2023-04-12 12:12:14 +02:00
Ian Donahue
9c54f77446
Merge pull request #175 from gitbutlerapp/ian/gb-195-bug-dialog-is-1-pixel-on-the-top-of-the
Ian/gb 195 bug dialog is 1 pixel on the top of the
2023-04-12 11:11:32 +02:00
Nikita Galaiko
f8c04842e5 pty: save pty input as-is 2023-04-12 08:15:51 +02:00
Nikita Galaiko
eee42bfd44 pty: use different port for dev 2023-04-12 08:15:51 +02:00
Kiril Videlov
be682c7e21 User name ands avatar source should be reactive 2023-04-12 07:56:13 +02:00
Ian Donahue
40a0a1345f pnpm format
Changes:
- Re-ordered classes in the "modal-overlay" div for better readability.
- Split the inner "modal" div properties onto multiple lines to improve readability.
2023-04-11 19:04:15 +02:00
Ian Donahue
b06f68a6b3 Refactor modal styling and structure
Modified the modal component to include a new structure with an overlay wrapper for improved styling and positioning. The diff includes changes to the class names, additional div wrappers and updated CSS property values.

Changes:
- Remove fixed modal width and height, apply 100vh height to overlay
- Add modal-overlay div wrapper for improved positioning and styling
- Move modal styles to new inner modal div
- Make the outer dialog element transparent
2023-04-11 19:03:06 +02:00
Ian Donahue
6a54567fd1
Merge pull request #174 from gitbutlerapp/ian/gb-194-remove-purple-for-bars-for-blue-and
Update commit summary UI display
2023-04-11 17:07:37 +02:00
Ian Donahue
635346ffaf pnpm format 2023-04-11 17:04:20 +02:00
Ian Donahue
1394aaea0e Update commit summary UI display
Enhance the "Summarizing changes" UI element in the commit page by modifying its position, border, and background. This update improves the appearance and visibility of the message during the commit process.

Changes:
- Shift display to the top-right corner and adjust the positioning.
- Change the border and background to better highlight the message.
- Nest the original elements inside a new container for better styling.
2023-04-11 17:01:40 +02:00
Ian Donahue
9e890def73
Merge pull request #172 from gitbutlerapp/ian/gb-194-remove-purple-for-bars-for-blue-and
Ian/gb 194 remove purple for bars for blue and
2023-04-11 16:54:07 +02:00
Kiril Videlov
1cb7c9827a GitButler does not track files larger than 100K
It can still show these files on the commit page though
2023-04-11 16:52:41 +02:00
Ian Donahue
9bdf0493ff
Merge branch 'master' into ian/gb-194-remove-purple-for-bars-for-blue-and 2023-04-11 16:48:05 +02:00
Kiril Videlov
ce80a187b1 🔨 Refactor: Project Layout Improvements
- Update keyboard shortcut in project layout page
- Update ⌘K to ⌘ K
2023-04-11 16:05:01 +02:00
Kiril Videlov
78ae3c6cff use collapseable 2023-04-11 16:01:47 +02:00
Kiril Videlov
7a6a970f5d 🔨 Refactor project page click events
- Improve accessibility of project page
- Add a11y-click-events-have-key-events comment
- Change click event to preventDefault
- Change class of div to remove cursor-text
- Add span tag with path and conditionally add opacity-50 class
- Remove button tag with collapsable
2023-04-11 16:01:47 +02:00
Kiril Videlov
2b71cfd2ef 🔨 Refactor repository diffing
- Update repository diffs to include untracked content
- Recurse into untracked directories
- Include ignored files in diffs

[src-tauri/src/repositories/repository.rs]
- Include untracked content in diffs
- Recurse into untracked directories
- Include ignored files in diffs
2023-04-11 15:31:59 +02:00
Ian Donahue
20ee550f1f Ppm format and min-hight for cards on the porjects page 2023-04-11 14:17:43 +02:00
Ian Donahue
71ed4cda4a Update UI styles and improve visual clarity
Changes:
- Change text size in [projectId]/+page.svelte and commit/+page.svelte to "text-sm" for better readability.
- Update background color in FileActivity.svelte from a custom purple color to the predefined "bg-blue-500" class.
- Replace "bg-gb-700" with a custom color "bg-[#3356C2]" in commit/+page.svelte for the file-changed-item background.
- Adjust padding in commit/+page.svelte to enhance the file-changed-item appearance.
2023-04-11 14:14:09 +02:00
Ian Donahue
00d5933c20 WIP - broken command palette 2023-04-11 11:37:08 +02:00
Ian Donahue
bc636c3786 Revert "Merge branch 'master' into ian/gb-187-cmdpal-icons-for-repository-and-files"
This reverts commit 6b74d3f0f9, reversing
changes made to 57e6db78ad.
2023-04-11 11:37:08 +02:00
Ian Donahue
ee184ebe8e GB missed this content 2023-04-11 11:37:08 +02:00
Ian Donahue
f9997f9273 Refactor CommandPalette CSS and structure
Refactored the CommandPalette component's CSS and structure to improve readability and maintainability. Restructured the code to achieve more flexibility and conform to established best practices.

Changes include:
- Removed duplicated styles from app.postcss.
- Reorganized styles and class names in CommandPalette.svelte.
- Applied appropriate CSS classes and styles directly to input fields and icons.
- Moved styles to dedicated sections within the style tag.
- Made minor changes to QuickCommit.svelte for consistency.
2023-04-11 11:37:08 +02:00
Nikita Galaiko
2ecf0dbadd pty: run reader in a separate thread 2023-04-11 10:59:14 +02:00
Nikita Galaiko
771166968e pty-ws: log error when fail to listen 2023-04-11 10:59:14 +02:00
Nikita Galaiko
2cb0d11199 use localhost for prod 2023-04-11 10:59:14 +02:00
Nikita Galaiko
decd0511ba pty: server side prettyfy 2023-04-11 10:59:14 +02:00
Nikita Galaiko
d312981f29 fix csp 2023-04-11 10:59:14 +02:00
Nikita Galaiko
57dfd89a28 return http error from handshake 2023-04-06 16:31:54 +02:00
Nikita Galaiko
27fdd591d7 make pty connections project aware 2023-04-06 15:32:07 +02:00
Kiril Videlov
c782262570 fit more text in terminal 2023-04-06 15:27:50 +02:00
Kiril Videlov
d544c26a44 button component shouldnt prevent default 2023-04-06 15:10:11 +02:00
Kiril Videlov
1b4f3833c2 no spell check on the Command K input 2023-04-06 14:45:57 +02:00
Kiril Videlov
7111ac0a3b 🔨 Refactor shortcuts in project layout page
- Add shortcuts to project pages
- Add date-fns import for date formatting

[src/routes/projects/[projectId]/+layout.svelte]
- Add `format` import from `date-fns`
- Add `Shift+p` shortcut to go to project page
- Add `Meta+Shift+p` shortcut to go to project settings page
- Add `Shift+r` shortcut to go to project player page
- Add `a i p` shortcut to go to AI playground page
2023-04-06 14:31:31 +02:00
Nikita Galaiko
1ff5d46e7b do not close terminal sessions 2023-04-06 13:06:59 +02:00
Kiril Videlov
44a2ddf7ad 🔨 Refactor: Keyboard Shortcuts & Navigation
- Improve keyboard shortcuts navigation in the project layout
- Add `onMount` for keyboard shortcuts
- Add `tinykeys` for keyboard shortcuts
- Add `statuses` derived store
- Add `Shift+c` and `Shift+t` keyboard shortcuts
- Add `a i p` keyboard shortcut

[src/routes/+layout.svelte]
- Remove the `goto` import
- Remove 3 key bindings
- Add an `a i p` key binding
[src/routes/projects/[projectId]/+layout.svelte]
- Add `onMount` for keyboard shortcuts
- Add `tinykeys` for keyboard shortcuts
- Add `statuses` derived store
- Add `Shift+c` keyboard shortcut to navigate to commit page
- Add `Shift+t` keyboard shortcut to navigate to terminal page
- Add `a i p` keyboard shortcut to navigate to AI Playground page
2023-04-06 12:53:36 +02:00
Kiril Videlov
837e8f8014 wire up the connect to cloud dialog 2023-04-06 11:56:43 +02:00
Nikita Galaiko
9b2ea25a7a cleanup terminal 2023-04-06 11:17:09 +02:00