Commit Graph

8635 Commits

Author SHA1 Message Date
Nikita Galaiko
4add646d2e Improve commit page behavior and UI
Refactored commit page behavior, enabled commit generation only when user is logged in, and selected at least one file. Removed the unused "fade" import, and added separate reactive variables for better readability and responsiveness in the commit page UI.

Changes:
- Removed unused "fade" import
- Added isLoggedIn, isSomeFilesSelected, and isGenerateCommitEnabled reactive variables
- Updated "disabled" condition for the "generate commit" button
2023-04-04 12:35:47 +02:00
Nikita Galaiko
d5126fbe3e use button component in more places 2023-04-04 12:11:32 +02:00
Nikita Galaiko
7d4d0883ff tooptip: whitespace nowrap 2023-04-04 12:11:32 +02:00
Nikita Galaiko
226a369d58 add target and rel to button 2023-04-04 12:11:32 +02:00
Nikita Galaiko
9a6068737d ensure sessions are never undefined [2] 2023-04-04 11:55:04 +02:00
Ian Donahue
b3c76f1785 pnpm install 2023-04-04 11:49:17 +02:00
Ian Donahue
4a29c592bd Added a nice animation 2023-04-04 11:49:17 +02:00
Nikita Galaiko
15201d9f8d make sure invalid deltas do not break the app 2023-04-04 11:23:32 +02:00
Nikita Galaiko
1a2266cff9 only show description placeholder when generating changes 2023-04-04 09:32:01 +02:00
Ian Donahue
9e9caff60f pnpm format 2023-04-03 20:40:37 +02:00
Ian Donahue
e5de6bcf7b Buttons, user settings page, command K input size. 2023-04-03 20:40:37 +02:00
Nikita Galaiko
7266f1a854 align slider with figma 2023-04-03 17:05:25 +02:00
Ian Donahue
dae2f6f7ef pnpm format 2023-04-03 17:04:58 +02:00
Ian Donahue
a8e4c4c692 Fixed buttons and made them pretty again 2023-04-03 17:04:58 +02:00
Nikita Galaiko
5426f1db1d ensure sessions are never undefined 2023-04-03 14:15:32 +02:00
Nikita Galaiko
422eb18f1b inline source maps 2023-04-03 14:15:32 +02:00
Ian Donahue
c6bc097f66 pnpm format 2023-04-03 12:34:04 +02:00
Ian Donahue
89445fa122 Added changed files back to project page 2023-04-03 12:34:04 +02:00
Ian Donahue
c1e057edeb Revert "pnpm format"
This reverts commit 6f40b6565ab00747d165de75afe91b8e51fb1017.
2023-04-03 12:34:04 +02:00
Ian Donahue
a59d4c2c44 Improved scroll bar and card interaction 2023-04-03 12:34:04 +02:00
Ian Donahue
7d99628996 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-04-03 12:34:04 +02:00
Nikita Galaiko
e46333051a fix production build 2023-04-03 10:40:53 +02:00
Nikita Galaiko
e15676ae49 add player keybindings 2023-04-03 09:19:44 +02:00
Nikita Galaiko
a0e2c2efa0 support plain buttons 2023-04-03 08:56:15 +02:00
Nikita Galaiko
a868292fa5 properly reset commit page 2023-04-03 08:55:59 +02:00
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