Commit Graph

935 Commits

Author SHA1 Message Date
Nikita Galaiko
bf0cecb8f4 commit disabled when no changes 2023-03-31 12:17:30 +02:00
Nikita Galaiko
57c1571be4 update some versions 2023-03-31 12:13:03 +02:00
Nikita Galaiko
94967bae47 sotrybook script things 2023-03-31 12:13:03 +02:00
Nikita Galaiko
ae0c116b4b update all icons 2023-03-31 11:47:58 +02:00
Nikita Galaiko
4fb2bde0ac use button for primary buttons 2023-03-31 11:45:20 +02:00
Nikita Galaiko
1a9630c36e button: use conditional classes 2023-03-31 11:45:20 +02:00
Ian Donahue
50e56cd019 Update tray icon image
Replace the old tray icon image with a new one to improve the visual appearance of the application in the system tray.

Changes:
- Removed old tray.png with outdated design
+ Added new tray.png with a more modern design
2023-03-31 10:38:15 +02:00
Nikita Galaiko
72f30de645 Add navigation between sessions in player page
Implemented navigation between sessions on the player page, allowing users to easily switch between previous and next sessions.
2023-03-31 09:30:59 +02:00
Nikita Galaiko
1cd7d11de9 tooptip: flex-auto 2023-03-31 08:19:59 +02:00
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