Commit Graph

1146 Commits

Author SHA1 Message Date
Nikita Galaiko
cc75786b50 move slider closer to where its used 2023-05-03 12:34:11 +02:00
Nikita Galaiko
303a249677 Optimize line numbering in Differ component
This commit improves the Differ component by removing unnecessary lines of code for determining the line number digits for both the original and current files. The general logic remains unchanged, but there's a cleaner approach for handling line numbering operations, resulting in a more concise and efficient implementation.

Removed lines:
- Original and current line number digit calculation
2023-05-03 09:03:00 +02:00
Nikita Galaiko
559074ff20 store session_id hash mapping 2023-05-03 08:15:11 +02:00
Ian Donahue
7dd11e74fd
Merge pull request #266 from gitbutlerapp/ian/gb-243-higher-contrast-diff-viewer
Ian/code diff spacing line view
2023-05-02 15:46:50 +02:00
idonahue
4ae5903908 pnpm install 2023-05-02 15:44:02 +02:00
idonahue
39dd27a340 code diff left numbering easier to read 2023-05-02 15:39:28 +02:00
Nikita Galaiko
797b210c9d do not share repositories between requests 2023-05-02 15:00:53 +02:00
Ian Donahue
03273dffc5
Merge pull request #264 from gitbutlerapp/ian/gb-243-higher-contrast-diff-viewer
setup basic variables for diff viewer
2023-05-02 14:55:18 +02:00
idonahue
bdd04ab39c pnpm format 2023-05-02 14:50:10 +02:00
idonahue
7fed423bd2 setup basic variables for diff viewer 2023-05-02 14:49:19 +02:00
Ian Donahue
a4f7ed7ff5
Merge pull request #263 from gitbutlerapp/bug-terminal-sidebar-width
Bug terminal sidebar width
2023-04-28 20:01:28 +02:00
idonahue
faf5f22281 pnpm format 2023-04-28 19:57:57 +02:00
idonahue
0b062dbadf Add card background image and minor refactoring
This commit adds the `background-image` property to the `.card` class, using an external URL for a noise generated image. Also, the diff includes a simple refactoring in `+page.svelte` where the `enrichSession` function has been moved into a separate script context. These changes enhance the visual appearance of the card and improve code organization.

Details:
- Add `background-image` property to `.card` class in `app.postcss`
- Move `enrichSession` function into separate script context in `+page.svelte`
2023-04-28 19:56:55 +02:00
idonahue
936d5513e7 Pointers removed from next/back buttons for changes 2023-04-28 19:14:35 +02:00
idonahue
bfa191572c Moved things into cards 2023-04-28 19:14:08 +02:00
idonahue
b6b23d388a Refactored sidebar 2023-04-28 18:28:46 +02:00
idonahue
2594601e06 fixed terminal side width 2023-04-28 17:01:19 +02:00
Ian Donahue
e64019e924
Merge pull request #262 from gitbutlerapp/sidebar-width-consistant
Sidebar width consistant
2023-04-28 16:34:47 +02:00
idonahue
3acc396bff pnpm install 2023-04-28 16:30:58 +02:00
idonahue
5a48d60976 pnpm install 2023-04-28 16:30:20 +02:00
idonahue
27904caeeb Made the sidebar-width consistant 2023-04-28 16:30:02 +02:00
Nikita Galaiko
cd382bd9f7 set last session timestamp 2023-04-28 13:01:36 +02:00
Nikita Galaiko
d76c0607f1 differ: wrap text 2023-04-28 13:01:24 +02:00
Nikita Galaiko
932a51d271 commit page: add diff controls and navigation 2023-04-28 10:33:07 +02:00
Nikita Galaiko
7efdf0a5e7 use default differ component to render commit diff 2023-04-28 09:48:26 +02:00
Ian Donahue
c6ec0d9b77
Merge pull request #257 from gitbutlerapp/ian/prettify-2023-04-27-1653
ian/prettify 2023 04 27 1653
2023-04-27 19:01:54 +02:00
idonahue
35401e3d1a pnpm format 2023-04-27 18:58:26 +02:00
idonahue
69878096ef Update +page.svelte 2023-04-27 18:52:40 +02:00
idonahue
2249183b61 wer 2023-04-27 18:48:59 +02:00
idonahue
b0832faf9a Test 2023-04-27 16:57:17 +02:00
Ian Donahue
17c5b34dcc
Merge pull request #256 from gitbutlerapp/ian/CmdK---no-results
Ian/cmdk no results
2023-04-27 16:33:43 +02:00
idonahue
15c05edf42 pnpm format
wrw
2023-04-27 16:29:22 +02:00
idonahue
7ea7d68af1 Update command palette UI elements
Improved the overall appearance and spacing of command palette elements. This includes minor style adjustments, such as removing unnecessary padding, adding margins for better spacing between elements, and refining the selection visuals for better user experience.

Changes:
- Removed unnecessary rounded corners in command-palette class
- Removed unused padding at the bottom of command-pallet-content-container
- Added margin for better spacing between command groups
- Modified selected command item appearance for better visibility
2023-04-27 16:26:31 +02:00
Kiril Videlov
c64cadec9b command palettte with something when no results 2023-04-27 15:29:33 +02:00
Nikita Galaiko
484192d1ca cmdk: fix backspace 2023-04-27 15:02:50 +02:00
Nikita Galaiko
827a9bd26c autocomplete=off, autocorrect=off, spellcheck=true 2023-04-27 14:12:04 +02:00
Nikita Galaiko
7ff819c78a support hiding windows on non-macs 2023-04-27 13:46:58 +02:00
Nikita Galaiko
198c272175 hide and show app completely 2023-04-27 13:46:58 +02:00
Nikita Galaiko
13da9d8f87 handle strip_prefix error 2023-04-27 11:02:01 +02:00
Nikita Galaiko
4bfd84ee86 more logs 2023-04-27 11:02:01 +02:00
Nikita Galaiko
06c4590dc9 more info in error messages 2023-04-27 11:02:01 +02:00
Nikita Galaiko
617ae58013 do not return statuses for non utf file names 2023-04-27 11:02:01 +02:00
Nikita Galaiko
175aad9298 simplify events interface 2023-04-27 09:40:16 +02:00
Nikita Galaiko
3a5f43642f replace manual dynamic import with a lib 2023-04-27 09:40:16 +02:00
Nikita Galaiko
23069658b0 fix tinykeys ssr import 2023-04-27 08:54:29 +02:00
Nikita Galaiko
2ec56747da resolve import cycle 2023-04-27 08:54:29 +02:00
Nikita Galaiko
a08fe15b06 do not create sentry release locally 2023-04-27 08:54:29 +02:00
Nikita Galaiko
7e6c5061c7 quickCommitModal: add diffstat 2023-04-27 08:54:29 +02:00
Nikita Galaiko
25b44d7df6 introdue app-wide event bus 2023-04-27 08:54:29 +02:00
Nikita Galaiko
e94f23d6ce quickcommit: connect buttons 2023-04-27 08:54:29 +02:00