Commit Graph

826 Commits

Author SHA1 Message Date
Nikita Galaiko
e9405f9342 Improve commit message parsing
Refactor the parsing of commit messages in the `+page.svelte` file to trim unnecessary whitespace from the summary and description fields. This change makes sure the processed commit message is more readable and concise.

Changes:
- Trim the summary and description lines after slicing the message
2023-03-31 08:15:14 +02:00
Ian Donahue
929e008811 pnpm format 2023-03-31 07:51:22 +02:00
Ian Donahue
e8bf77d604 Add border and text-shadow to Button; simplify button styles
This commit modifies the styling of the Button component by adding a border and text-shadow to the .btn-base CSS class. It also simplifies button styles by removing unnecessary border declarations in the .btn-primary, .btn-primary:hover, and .btn-basic classes. Additionally, the commit removes the 'text-lg' class from buttons in several other components and replaces the 'border-gb-700' class with 'border-zinc-700' in the player layout component.

Changes:
- Add border and text-shadow to .btn-base class
- Remove unnecessary border declarations in Button component
- Remove 'text-lg' class from buttons in Commit.svelte, +page.svelte, and +layout.svelte
- Replace 'border-gb-700' with 'border-zinc-700' in +layout.svelte
2023-03-31 07:51:22 +02:00
Ian Donahue
9b6a740832 pnpm format 2023-03-31 07:51:22 +02:00
Ian Donahue
833776bbf1 Updated tool tip just a little bit 2023-03-31 07:51:22 +02:00
Ian Donahue
952e50bc91 pnpm format 2023-03-30 18:55:26 +02:00
Ian Donahue
c766b6bffa Play buttons don't have hover 2023-03-30 18:55:26 +02:00
Ian Donahue
8e408e0069 Fixed <a> so you can't drag them 2023-03-30 18:55:26 +02:00
Ian Donahue
1eda2630bd Update app.postcss 2023-03-30 18:55:26 +02:00
Kiril Videlov
7b3a2b96fb debounce collapsable paths 2023-03-30 17:19:53 +02:00
Nikita Galaiko
16d3821624 refactor project page 2023-03-30 17:00:39 +02:00
Kiril Videlov
5e827d912b box shadow instead of drop shadow for performance reasons 2023-03-30 15:57:26 +02:00
Ian Donahue
b50f9790aa
Merge pull request #101 from gitbutlerapp/ian/gb-145-some-things-should-probably-not-have-its
Ian/gb 145 some things should probably not have its
2023-03-30 15:23:15 +02:00
Ian Donahue
e648849b6d Refactor cursor and selection styles in components 2023-03-30 15:17:48 +02:00
Ian Donahue
3b598163db Improve cursor UX
Updated various elements with improved cursor styles and applied the select-none class to reduce cases of unwanted text selection. This enhances the user experience by providing appropriate mouse cursors and preventing accidental text highlighting.

Changes include:
- Added 'cursor-default' and 'select-none' classes to body and anchor tags.
- Updated BackForwardButtons, Breadcrumbs, and CommandPalette components with 'cursor-default' and 'select-none' classes where applicable.
- Modified '.token-attribute' class in the text editor with 'cursor-default' and 'select-none'.
- Updated '+page.svelte' with 'pointer-events-none' and 'select-none' for project titles and descriptions.
2023-03-30 15:14:21 +02:00
Nikita Galaiko
115e841b35 add props support to cmd-k 2023-03-30 15:00:29 +02:00
Nikita Galaiko
16b3be9278 pnpm format 2023-03-30 11:04:30 +02:00
Nikita Galaiko
96070b11b3 fix generate commit message button 2023-03-30 11:04:30 +02:00
Nikita Galaiko
c2e4c42754 make cmdk commit use new apis 2023-03-30 11:04:30 +02:00
Nikita Galaiko
6cb7456f15 show staged / not staged on the project page 2023-03-30 11:04:30 +02:00
Nikita Galaiko
10da421c10 commit: make commit work 2023-03-30 11:04:30 +02:00
Nikita Galaiko
b9265ccdef commit: truncate long paths 2023-03-30 08:11:30 +02:00
Nikita Galaiko
3bd74735fa enumerate all colors 2023-03-30 08:11:18 +02:00
Kiril Videlov
383c2920f3 tooltip has 200ms delay 2023-03-29 18:00:16 +02:00
Ian Donahue
8547e4c1a7 Added new icon 2023-03-29 17:33:17 +02:00
Kiril Videlov
6162383cef tooltip for new project 2023-03-29 17:29:37 +02:00
Kiril Videlov
f948f0d24f implement a tooltip which always floats correctly 2023-03-29 17:18:02 +02:00
Nikita Galaiko
af8cd41476 pnpm format 2023-03-29 16:23:20 +02:00
Nikita Galaiko
831a9c606b commit: connect api 2023-03-29 16:23:20 +02:00
Nikita Galaiko
7807296918 add more error messages 2023-03-29 16:23:20 +02:00
Nikita Galaiko
4b86d3ca49 commit: re-do ui from scratch 2023-03-29 16:23:20 +02:00
Nikita Galaiko
4ac7f3a80e bring back player controls overflow + blur 2023-03-29 15:16:36 +02:00
Nikita Galaiko
c34b224ac3 pnpm format 2023-03-29 12:43:01 +02:00
Nikita Galaiko
88c731c50a make git information reactive 2023-03-29 12:43:01 +02:00
Nikita Galaiko
1f70f359d7 rm unused function 2023-03-29 12:43:01 +02:00
Nikita Galaiko
dde4d4a525 get filenames from deltas, not files 2023-03-29 09:02:03 +02:00
Nikita Galaiko
bd1bf81c88 fix selector for the webkit hack 2023-03-29 08:42:59 +02:00
Kiril Videlov
f1339b97ca implement reusable dialog 2023-03-28 23:54:35 +02:00
Ian Donahue
d5bde0647a
Merge pull request #84 from gitbutlerapp/rename-replay-button
Added titles/accessibility labels to buttons
2023-03-28 20:01:15 +02:00
Ian Donahue
67978c2334 pnpm format/lint 2023-03-28 19:55:49 +02:00
Ian Donahue
740764462a Added titles/accessibility labels to buttons 2023-03-28 19:46:23 +02:00
Ian Donahue
9b190184fd
Merge pull request #83 from gitbutlerapp/ian/gb-135-bug-changed-files-not-left-aligned
Ian/gb 135 bug changed files not left aligned
2023-03-28 18:01:54 +02:00
Ian Donahue
95ef5bf555 pnpm format and lint 2023-03-28 17:57:39 +02:00
Ian Donahue
b2f5f28d93 Some visual updates to the commit page’s changed file section 2023-03-28 17:55:46 +02:00
Kiril Videlov
d599875eea chromatic ci 2023-03-28 17:48:23 +02:00
Ian Donahue
4ce203b355
Merge pull request #81 from gitbutlerapp/btn-grp
Refactoring the button component and button group
2023-03-28 17:17:16 +02:00
Ian Donahue
b4cda6a5e8 pnpm format 2023-03-28 17:11:03 +02:00
Kiril Videlov
00bb8e39aa Revert "warm up the cache on mount"
This reverts commit 20c03d6e96.
2023-03-28 17:05:32 +02:00
Ian Donahue
e8468fa137 Merge branch 'master' into btn-grp 2023-03-28 17:04:50 +02:00
Ian Donahue
984fb6bb54 Refactored the button component woerjowier 2023-03-28 17:00:46 +02:00