Commit Graph

749 Commits

Author SHA1 Message Date
Ian Donahue
38b6629159
Merge pull request #69 from gitbutlerapp/ian/gb-125-changed-file-names-getting-truncated
Ian/gb 125 changed file names getting truncated
2023-03-28 13:19:49 +02:00
Ian Donahue
936a16e8ad Merge branch 'master' into ian/gb-125-changed-file-names-getting-truncated 2023-03-28 13:18:15 +02:00
Ian Donahue
eabe5d1c6a Added custome scrollbars back 2023-03-28 13:17:09 +02:00
Ian Donahue
6d8c1fbbdd Fixes ian/gb-125-changed-file-names-getting-truncated
Truncation was not working
2023-03-28 13:12:21 +02:00
Ian Donahue
ff21137cd3
Merge pull request #68 from gitbutlerapp/ian/testing-button-component
Button component improvements
2023-03-28 12:48:45 +02:00
Ian Donahue
c667511e29 Update style and minor refactoring in Storybook and components
Wer
2023-03-28 12:38:11 +02:00
Ian Donahue
7a2a0adb73 Added transition to button
Wer
2023-03-28 12:32:25 +02:00
Ian Donahue
0efc4c0c1c wer
wrer
2023-03-28 12:18:30 +02:00
Ian Donahue
ac66e946f2 Merge branch 'master' into ian/prettify-scroll-bar 2023-03-28 11:40:52 +02:00
Ian Donahue
c167eef29c Refactor scrollbar CSS and improve form layout
This commit refactors the CSS for the scrollbar by removing unnecessary margin and padding properties, and changing the background color to increase contrast for better usability. The form layout in the commit page of the Svelte app is also optimized by adjusting the input and textarea elements' styling and alignment to improve overall readability and consistency.

Changes:
- Update scrollbar width and height properties
- Change scrollbar background color to rgba(255, 255, 255, 0.2)
- Remove padding and width properties from ::-webkit-scrollbar-thumb
- Adjust layout of input and textarea elements in commit page
- Improve alignment and truncation of file paths in commit file list
2023-03-28 11:40:04 +02:00
Kiril Videlov
c61e49dd34 remove storybook example code 2023-03-28 11:34:02 +02:00
Kiril Videlov
a5f70df56a remove example button component from Storybook to avoid confusion 2023-03-28 11:23:14 +02:00
Kiril Videlov
ed8c23f9fe Introduce a reusable button 2023-03-28 11:23:14 +02:00
Kiril Videlov
66828d4621 add GitButler background color 2023-03-28 11:23:14 +02:00
Kiril Videlov
bb84c6979c make storybook work with tailwind 2023-03-28 11:23:14 +02:00
Ian Donahue
dbc04ed0fe Merge branch 'master' into ian/prettify-scroll-bar 2023-03-28 10:57:34 +02:00
Nikita Galaiko
e86aa11ef6 only apply webkit hacks to search page 2023-03-28 10:53:37 +02:00
Nikita Galaiko
6125d08e2a smart path collapse based on width 2023-03-28 10:42:14 +02:00
Nikita Galaiko
eed758a346
pnpm format 2023-03-28 09:51:09 +02:00
Nikita Galaiko
88411fe0e6
add discs for player files list 2023-03-28 09:50:43 +02:00
Nikita Galaiko
ebd988d699 say today for todays date 2023-03-28 08:49:20 +02:00
Nikita Galaiko
5e4b957fd9 store uri in nav history 2023-03-28 08:00:44 +02:00
Ian Donahue
2c76b6185b Shortcut to commit page
This commit enhances the display of command descriptions in the Command Palette by splitting the descriptions into separate tokens. This provides a more readable and organized presentation of the information. Additionally, a new keyboard shortcut has been added for easy navigation to the commit page of a project.

Changes:
- Split command descriptions into separate tokens in CmdK.svelte
- Add 'Shift+c' keyboard shortcut for accessing the commit page of a project in CommandPalette.svelte
2023-03-28 07:54:19 +02:00
Ian Donahue
8c4adf4d6b Add scrollbar hiding and improve command palette styling
This commit hides the scrollbar for better UI and updates the command palette styling including the addition of the "Quick commit" command. The diff also includes various improvements to the layout, class names, and keyboard navigability for a better user experience.

Changes:
- Add '.scrollbar-hidden::-webkit-scrollbar' CSS definition to hide scrollbar
- Update and refactor CSS classes for command palette, e.g., '.quick-command-item' and '.quick-command-key'
- Add new "Quick commit" command entry along with its action
- Reorganize commandGroups in 'CmdK.svelte' for more logical ordering
- Replace hard-coded heights with 'max-h' class to better handle different screen sizes
2023-03-28 07:54:19 +02:00
Ian Donahue
d461d670d7 Update commit icon in CommandPalette
This commit updates the icon used for the commit action within the CommandPalette component. Previously, it used the RewindIcon which seemed inappropriate for the action. The GitCommitIcon has been added to the icons index and used as a replacement. Additionally, an unnecessary class attribute was removed from the RewindIcon component.

Changes:
- Add GitCommitIcon to icons index
- Replace RewindIcon with GitCommitIcon in CommandPalette
- Remove unnecessary class attribute from RewindIcon
2023-03-28 07:54:19 +02:00
Kiril Videlov
26440211ab fix things 2023-03-28 07:54:19 +02:00
Ian Donahue
0e16fcbe5e I broke everything!
Trying to add a rewind icon but I broke everything
2023-03-28 07:54:19 +02:00
Ian Donahue
d3f15431c5 Add scrollbar styling and command palette UI
This commit introduces a custom scrollbar styling and updates the Command Palette UI by adding the necessary CSS classes and styling rules. 

Changes include:
- Added custom scrollbar styling with width, track, handle, and hover properties.
- Introduced a "scrollbar-hidden" class for hiding the scrollbar.
- Updated Command Palette classes such as "result-section-header", "quick-command-item", and "quick-command-key" to improve the overall UI experience.
2023-03-27 20:48:03 +02:00
Kiril Videlov
c5d124a98e format 2023-03-27 17:31:27 +02:00
Kiril Videlov
d8b044cf3b add storybook again 2023-03-27 17:31:27 +02:00
Kiril Videlov
14ced0d544 Revert "add Storybook dev dependency"
This reverts commit 615f0092a6.
2023-03-27 17:25:19 +02:00
Nikita Galaiko
3653ae6a31 cache date on the client 2023-03-27 17:16:06 +02:00
Kiril Videlov
615f0092a6 add Storybook dev dependency 2023-03-27 17:09:32 +02:00
Nikita Galaiko
d8af16f0cf better file filter 2023-03-27 16:38:32 +02:00
Nikita Galaiko
2057c9216e fix url encoding 2023-03-27 16:38:32 +02:00
Nikita Galaiko
3cec588eef fix layout 2023-03-27 16:38:32 +02:00
Nikita Galaiko
a35d875aa1 dynamic file filter 2023-03-27 16:38:32 +02:00
Nikita Galaiko
e955f4a786 format 2023-03-27 16:38:32 +02:00
Nikita Galaiko
8cadaed8a0 link file 2023-03-27 16:38:32 +02:00
Nikita Galaiko
b9363aed1f add file filter back 2023-03-27 16:38:32 +02:00
Nikita Galaiko
b19e1ebb76 link player from search 2023-03-27 16:38:32 +02:00
Nikita Galaiko
c45819cc6b flip sessions 2023-03-27 16:38:32 +02:00
Nikita Galaiko
5aabfac420 scroll sessions list 2023-03-27 16:38:32 +02:00
Nikita Galaiko
b1d881247c scroll code viewer 2023-03-27 16:38:32 +02:00
Nikita Galaiko
fa58493f49 make player linkable 2023-03-27 16:38:32 +02:00
Ian Donahue
9410eafd92
Merge pull request #48 from gitbutlerapp/ian/gb-112-spacing-in-search-results
Ian/gb 112 spacing in search results
2023-03-24 16:05:17 +01:00
Nikita Galaiko
34cfd571d6 player: use session to calculate duration 2023-03-24 16:00:09 +01:00
Nikita Galaiko
f146e9d33d player: drop editsCount 2023-03-24 16:00:09 +01:00
Nikita Galaiko
06301d2853 player store date in the same way 2023-03-24 16:00:09 +01:00
Nikita Galaiko
1e9a187e4b player: auto-update file filter 2023-03-24 16:00:09 +01:00