Commit Graph

841 Commits

Author SHA1 Message Date
Nikita Galaiko
09a8e80662 separate button component + stories 2023-03-31 14:35:14 +02:00
Nikita Galaiko
dcab13602b extract home icon 2023-03-31 14:35:14 +02:00
Nikita Galaiko
88ff861427 bring back usage of a button 2023-03-31 13:32:25 +02:00
Ian Donahue
1ddb96a760 Improved scroll bar and card interaction 2023-03-31 13:32:25 +02:00
Ian Donahue
99bab9e55b Improved the scroll bar layout of the main section of the project page 2023-03-31 13:32:25 +02:00
Ian Donahue
7d284065a0 Refactor Work in Progress sidebar and styles
Restructured the Work in Progress sidebar by introducing nesting for better readability and maintainability. Colors and styles have been updated as well to improve the overall look and feel of the interface.

Changes:
- Enclosed Work in Progress header and related items within a new 'recent-changes' div.
- Created new 'work-in-progress-sidebar' class for the containing div.
- Replaced the SVG icon with a new one for 'Everything is committed'.
- Improved styling for both committed and uncommitted statuses.
2023-03-31 13:32:25 +02:00
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