Commit Graph

1203 Commits

Author SHA1 Message Date
Nikita Galaiko
e926032e05 impl repo locking 2023-04-18 16:46:31 +02:00
Nikita Galaiko
2ceeebfe2e handle empty deltas 2023-04-18 16:04:54 +02:00
Nikita Galaiko
bd429ca64a cache deltas client side 2023-04-18 15:47:51 +02:00
Nikita Galaiko
b949b95adf do not return binary files 2023-04-18 15:28:34 +02:00
Nikita Galaiko
a9e9c1f361 run migrations 2023-04-18 15:28:34 +02:00
Nikita Galaiko
8ca339cf00 use reference when getting session reader 2023-04-18 15:28:34 +02:00
Nikita Galaiko
3d76bbe5ca more tests 2023-04-18 15:28:34 +02:00
Nikita Galaiko
84ab87db01 fix git alternate 2023-04-18 15:28:34 +02:00
Nikita Galaiko
be8b3e7560 add more tests 2023-04-18 15:28:34 +02:00
Nikita Galaiko
56ae8a9888 add list session deltas tests 2023-04-18 15:28:34 +02:00
Nikita Galaiko
d3a181a620 use new code 2023-04-18 15:28:34 +02:00
Nikita Galaiko
34046606ef implement flushing 2023-04-18 15:28:34 +02:00
Nikita Galaiko
807d68bc38 remove unused deps 2023-04-18 15:28:34 +02:00
Nikita Galaiko
0b3ad99a7c init flushing 2023-04-18 15:28:34 +02:00
Nikita Galaiko
198f5b55df cleanup gb_repository interface 2023-04-18 15:28:34 +02:00
Nikita Galaiko
da4ff14a34 make sure current session is created 2023-04-18 15:28:34 +02:00
Nikita Galaiko
f53397cf28 better structure 2023-04-18 15:28:34 +02:00
Nikita Galaiko
6f4336ff4c add more listeners 2023-04-18 15:28:34 +02:00
Nikita Galaiko
6988aef8e6 figure out a way to do concurrency 2023-04-18 15:28:34 +02:00
Nikita Galaiko
4fefeb26c0 define file change listener 2023-04-18 15:28:34 +02:00
Ian Donahue
614fcbee49
Merge pull request #195 from gitbutlerapp/ian/Fixed-height
Ian/fixed height
2023-04-18 13:02:49 +02:00
idonahue
99b9d2bf87 REAEME and pnpm format 2023-04-18 12:54:38 +02:00
idonahue
038df6d8ce gitbutler missed this change 2023-04-18 12:47:37 +02:00
idonahue
f84a668f6e Fix file list container height abd update documentation and
This commit enhances README.md readability with proper capitalization, clarifies Versioning and Releasing sections, and renames "Icon Preperation" to "Icon generation". Additionally, it introduces a dynamic height for the file list container in commit/+page.svelte based on the viewport height.
2023-04-18 12:47:37 +02:00
idonahue
fe23f4a7f1 gitbutler missed this change 2023-04-18 12:43:01 +02:00
idonahue
a3ab4212e9 Fix file list container height abd update documentation and
This commit enhances README.md readability with proper capitalization, clarifies Versioning and Releasing sections, and renames "Icon Preperation" to "Icon generation". Additionally, it introduces a dynamic height for the file list container in commit/+page.svelte based on the viewport height.
2023-04-18 12:42:44 +02:00
Kiril Videlov
67be2407b3 🔨 Refactor project commit page styling
- Improve styling of project commit page
- Add max-height and overflow-y-auto for statuses
- Update background color for list elements
2023-04-18 10:16:51 +02:00
Kiril Videlov
5d7064a6a1 🔨 Refactor terminal route and connection logic
- Improved terminal experience by handling 'Close' messages and reloading the page
- Added logic to send a Close message to the websocket when EOF is reached
- Changed the `terminal` function to a reactive declaration and added a `setupTerminal` function call
2023-04-18 00:06:43 +02:00
Kiril Videlov
f7a447ef61 💅 Improve UX with external links & icons
- Add support for external links in CommandPalette
- Add FileIcon component
- Update CommandPalette commands with additional icons and support groups
2023-04-17 23:08:17 +02:00
Ian Donahue
3b01711536
Merge pull request #191 from gitbutlerapp/ian/prettify-2023-04-17-1437
Ian/prettify 2023 04 17 1437
2023-04-17 18:08:48 +02:00
idonahue
20ba2395c5 pnpm format 2023-04-17 18:05:09 +02:00
idonahue
e10572ace7 Update gradient color and improve UI components
This commit updates the linear gradient color in FileActivity and makes UI improvements in player and settings pages. The changes include modifying input elements and button layouts for better organization and accessibility.

Changes:
- Changed gradient color to #9565FF in FileActivity.svelte
- Added hunk-controller-container div for better input organization in player page
- Updated footer layout in settings page to align the button to the right
2023-04-17 18:03:48 +02:00
idonahue
cffa299071 GB missed these commits 2023-04-17 17:04:04 +02:00
idonahue
a467eaab21 Improve diff visualization on the commit page.
This commit improves the visualization of diffs in the CodeViewer and makes several adjustments to the interface, which enhances the user experience. 

Changes:
- Add padding to code lines and update line colors for context, split, and diff classes.
- Modify background color values for addition and deletion markers.
- Add contrasting text color to addition inner diffs: white.
- Update lineClass assignment in DiffViewer.svelte to reflect new colors.
- Reorganize project overview page: move work-in-progress sidebar to the right.
- Rename class "work-in-progress-sidebar" to "side-panel" for clearer naming convention.
2023-04-17 17:03:50 +02:00
Kiril Videlov
565d1667f4 Project home: proportional histogram bars 2023-04-17 13:18:08 +02:00
Kiril Videlov
a7d283ff6f Make the project home file summaries reactive 2023-04-14 12:11:33 +02:00
Ian Donahue
7ca56b89be
Merge pull request #188 from gitbutlerapp/ian/gb-204-gitbutler-icon-update-client
Added icons
2023-04-13 13:50:34 +02:00
idonahue
19a3de030a Update README.md and remove extra line
This commit removes an unnecessary blank line from the README.md file. This change is minimal but helps maintain the consistency and cleanliness of the documentation.
2023-04-13 13:41:30 +02:00
idonahue
45b1ceb398 Added icons 2023-04-13 13:39:03 +02:00
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