Commit Graph

960 Commits

Author SHA1 Message Date
Nikita Galaiko
e09e64c4ae use buttons in more places 2023-03-31 19:53:41 +02:00
Nikita Galaiko
1127203208 alert on stories click 2023-03-31 19:53:41 +02:00
Nikita Galaiko
375bbcda55 add loading state 2023-03-31 19:53:41 +02:00
Nikita Galaiko
9b564198d3 support left icons 2023-03-31 19:53:41 +02:00
Ian Donahue
421a24b15c pnpm format 2023-03-31 17:57:22 +02:00
Ian Donahue
8b02470b9c Fixing up the command palette 2023-03-31 17:57:22 +02:00
Ian Donahue
a48e22dd2d Basic prettify 2023-03-31 17:57:22 +02:00
Nikita Galaiko
ccafdd325b fix commit changes state 2023-03-31 17:21:06 +02:00
Nikita Galaiko
de015d2f8c redo buttons component 2023-03-31 17:21:06 +02:00
Nikita Galaiko
7f9d53822d allow label-less buttons 2023-03-31 17:21:06 +02:00
Nikita Galaiko
f56362929e support buttons with icons 2023-03-31 17:21:06 +02:00
Ian Donahue
b514bb4400 pnpm format 2023-03-31 16:52:21 +02:00
Ian Donahue
5fdd3e37d9 Add border and text shadow to commit message buttons
This commit enhances the UI of commit/+page.svelte by adding a border and text shadow to both the "Generating commit message..." and "Generate commit message" buttons. It improves their visibility, making it easier for users to interact with the buttons.

Changes:
- Added border-top, border-bottom, border-left, and border-right to the buttons.
- The border colors consist of rgba values for white and black with different opacities.
- Added a text-shadow to both buttons with a slight offset and a darker color.
2023-03-31 16:52:21 +02:00
Ian Donahue
99a8f53543 More updates that were not included in last commit?
Not really sure. I hit commit, but they were not included in the previous commit in GitButler.
2023-03-31 16:52:21 +02:00
Ian Donahue
545b2a51a4 Layout, checkboxs, player pages updated
Improved the visual layout and styling for the commit and player pages by refining form elements such as checkboxes, input fields, and background colors. Additionally, fixed element alignments and added responsive sizing for a better user experience.

Changes include:
- Updated styles of checkboxes and their sizes.
- Adjusted padding and alignments for input fields and labels.
- Modified background colors and borders for inputs and cards.
- Changed calendar card CSS class name for better semantics.
2023-03-31 16:52:21 +02:00
Nikita Galaiko
581728ee0f use svelte templates for storybook 2023-03-31 14:35:14 +02:00
Nikita Galaiko
a5a60d6976 separate tooltip component + stories 2023-03-31 14:35:14 +02:00
Nikita Galaiko
f7365466f2 separate dialog component + stories 2023-03-31 14:35:14 +02:00
Nikita Galaiko
df2dec662c separate button group component + stories 2023-03-31 14:35:14 +02:00
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