Caleb Owens
dfb8eef044
Align changes with formatting; install browser deps
2024-09-26 00:36:46 +02:00
Caleb Owens
a0ed2bb3c8
Add playwright install as a test prerequisite
2024-09-26 00:27:47 +02:00
Caleb Owens
3c4cda739f
Update imports in relation to the 8.3 release
2024-09-26 00:24:21 +02:00
Caleb Owens
a0359486ad
Remove unrequired utils package
...
* Ref https://github.com/storybookjs/storybook/pull/29008
2024-09-25 00:17:59 +02:00
Caleb Owens
2793bc4f13
Bump to release versions
2024-09-25 00:17:45 +02:00
Jeppe Reinhold
f27050018a
Upgrade to Storybook 8.3.0-beta.0, introduce VItest testing to UI package
2024-09-25 00:09:06 +02:00
estib
6ce77554fe
Modal: Expose the open or closed state
...
Expose the state of whether the modal is open or not.
[Some more info about this pattern.](https://github.com/sveltejs/svelte/issues/11974#issuecomment-2157837477 )
2024-09-24 13:36:25 +02:00
Caleb Owens
9ed21936f5
fix: Correct condition for removing right column
2024-09-18 11:51:44 +02:00
Nico Domino
6476a1c754
feat: use new Tabs components to organise Preferences page ( #4906 )
2024-09-17 11:22:17 +02:00
Caleb Owens
b6a4f7cd35
Improve scrolling of update modal
2024-09-16 20:50:45 +02:00
Nico Domino
a0b83556d2
feat: create 'Apperance' settings page and add highlight branchlane setting ( #4921 )
...
Co-authored-by: Pavel Laptev <pawellaptew@gmail.com>
2024-09-16 12:49:28 +02:00
estib
08fb9effc4
Merge remote-tracking branch 'origin/master' into keyboard-shortcuts
2024-09-16 11:40:23 +02:00
Mattias Granlund
ba360d2e85
Base avatar bg color on srcUrl instead of tooltip ( #4903 )
...
* Base avatar bg color on srcUrl instead of tooltip
- consistent per author
---------
Co-authored-by: Pavel Laptev <pawellaptew@gmail.com>
2024-09-13 23:20:37 +00:00
estib
5395d00a1a
Merged origin/master into keyboard-shortcuts
2024-09-12 14:47:17 +02:00
Pavel Laptev
8723bd5c17
selected hunk colors update
2024-09-12 01:48:01 +02:00
estib
b8c60adc64
Merge branch 'master' into keyboard-shortcuts
2024-09-11 15:50:07 +02:00
estib
b08fb7d101
Commit Input: Close on 'Escape'
...
Pressing 'Escape' will close the commit input file
2024-09-11 14:30:29 +02:00
Pavel Laptev
85462206a4
Edit mode UI updates ( #4862 )
...
* Show full status tag only if file modified
* tooltip to the page added
2024-09-10 11:35:17 +02:00
estib
0a6493087b
FileListItem: Track whether all or some hunks have been selected
...
If only some of the hunks have been selected, display the file checkbox as indeterminate
2024-09-08 12:21:49 +02:00
estib
d3c1ed8ed4
Style: Checkbox indeterminate state
...
Make it so that the indeterminate state of the checkbox matches the selected style
2024-09-08 12:16:56 +02:00
Esteban Vega
d1462f1ea5
UI: Info Button component ( #4829 )
...
* UI: Info Button component
Info button that displays a custom component on hover.
* Extend tooltip
Optionally, toggle the tooltip on click.
If enabled, clicking outside will close the tooltip
* Click outside: Broaden the elements that can be ignored
Broaden the types of elements that can be ignored
* Info Button: Ignore the SVG when checking for clicking outside
* Info Button: Add Storybook
* Info Button: Use a separate component for the tooltip arrow
That way we can set the border-radius easliy, plus it's probably a bit more CSS-compatible with picky browser engines
* TooltipWrapper shared component
Factor out the common logic of the Tooltip and Info Button so that there is no duplicated functionality and so that the Info Button doesn't have to depend on the Tooltip
* Tooltip and the InfoButton use the TooltipWrapper
Use the shared component.
Also:
- Info button is opened (and stays open) on hover
* separate tooltip components
* icon transition effect added
* button tooltip to the body level + utils function
* Remove log
---------
Co-authored-by: Pavel Laptev <pawellaptew@gmail.com>
2024-09-07 22:12:52 +02:00
Nico Domino
32d766c2d6
fix: bump all svelte related dependencies ( #4828 )
2024-09-06 12:25:41 +02:00
Mattias Granlund
fe379de47c
Fix storybook build errors
2024-09-04 10:29:24 +03:00
Pavel Laptev
444b03ff38
style(sidebar): Update padding and color for PR tags in SidebarEntry ( #4811 )
...
* style(sidebar): Update padding and color for PR tags in SidebarEntry
* Tooltip update
2024-09-02 12:51:30 +02:00
Pavel Laptev
c820a33e41
Tooltip-refactoring-+-new-component ( #4804 )
...
* tooltip component + custom svelte transitions
* update some tooltips
* replace old toogle
* replace old tooltip hook
* remove old tooltip hook
* lint fixes
* design tokens update
2024-09-01 20:30:36 +02:00
Nico Domino
e62acb1192
fix: revert modal transition
back to animation
( #4805 )
2024-08-30 15:53:40 +02:00
Pavel Laptev
fe3c73ccfd
FileListItem fix ( #4799 )
...
* show lock icons and lock tooltip
* replace state with derived
* allow to drag files
2024-08-30 13:11:23 +02:00
Pavel Laptev
425136da20
Edit mode updates ( #4792 )
...
* Add `Scrollbar` and `ScrollableContainer` to the UI lib
* event fixes
* replace app components with UI
* Move `ContentWrapper` to the UI side
* update file status badge colors
* move scrollbar components back to to app
because of the user settings
* dummy commit card added to the edit mode
* add the commit line
* edit modal UI tweaks
* remove unused code
* lint fixes
* lint fixes
2024-08-30 11:21:11 +02:00
Nico Domino
0f48b53108
feat: add <form /> to Modal implementation ( #4780 )
2024-08-29 11:34:47 +02:00
Pavel Laptev
f4594dcfb4
disable hovers for file list items
2024-08-27 14:55:48 +02:00
Nico Domino
e52676c9b3
fix: rm mappings where the target file name is too common ( #4766 )
2024-08-27 09:57:52 +00:00
Pavel Laptev
681d118a1f
icon prop fix
2024-08-23 16:25:32 +02:00
Pavel Laptev
9ffe096323
badge component modified
2024-08-23 16:20:57 +02:00
Pavel Laptev
2b5b5c00aa
remove unused code
2024-08-23 15:49:49 +02:00
Pavel Laptev
964f700f04
update FileListItem and FileIcon components
2024-08-23 15:42:00 +02:00
Pavel Laptev
7ce3f35c12
Added to UI: FileIcon
2024-08-23 00:05:03 +02:00
Pavel Laptev
f8f20c2604
refactor: Change FileListItem story title to 'Misc / FileListItem' instead of 'Elements / FileListItem'
2024-08-22 23:35:00 +02:00
Pavel Laptev
29f9d3fb9d
casing issues fixes
2024-08-22 20:24:02 +00:00
Pavel Laptev
f93cec81dd
feat(ui): add FileListItem component and Storybook story
2024-08-22 22:19:23 +02:00
Pavel Laptev
18570f36ba
rename stories
2024-08-22 22:08:28 +02:00
Pavel Laptev
bbb2db580c
Badge styles update
2024-08-22 21:58:41 +02:00
Pavel Laptev
f05cca3572
button types import moved
2024-08-22 21:57:40 +02:00
Pavel Laptev
21eeb5f5c9
minor UI lib updates ( #4740 )
...
* button icons change
* Shorter copy
* checkbox updated to Svelte 5
- added `Checkbox` story
* Fix checkbox and badge props
* change story name
* segement color transition update
* illustrations update
* update SVG illustration colors
* style: Update button CSS variables for different button styles.
2024-08-22 15:39:09 +02:00
Mattias Granlund
9c100fca49
Visually distinguish draft prs in branch list
2024-08-22 13:46:33 +01:00
Pavel Laptev
daa285f41e
Login flow update and UI updated ( #4716 )
...
* UI: Fix disabled `WelcomeAction` state
* update stories structure
* update UI components structure
* fix path to icons.json
* fix path to `timeAgo` functions
* added `LinkButton` component and updated login functions
* copy change
* remove `console.log`
* lint: formatting fixes
* remove `console.log` from the `Modal` story
* casing change
* remove duplicated folders (casing issue)
2024-08-19 11:55:19 +02:00
Pavel Laptev
f4541cbb94
add new modal size
2024-08-17 09:02:00 +01:00
Pavel Laptev
5b2a58a35a
fix modal shadow
2024-08-17 09:02:00 +01:00
Pavel Laptev
c3f02e633c
added new text style
2024-08-17 09:02:00 +01:00
Nico Domino
7dc829960a
fix: tooltips when used in elevated contexts ( #4703 )
2024-08-16 12:17:43 +02:00
Pavel Laptev
fdea1cb0f5
UI lib: text utility classes ( #4684 )
2024-08-14 09:52:20 +02:00