* Add stack footer
* add `Toggle` story
* refactor styles and copy: update context menu components
* feat(prFooter): update footer format to enhance clarity
* remove extra `PR` word from the PR card context menu
* simplify labels in SeriesHeaderContextMenu + add a section title
* refactor: replace StackingCommitCard with CommitCard component
* refactor: replace parent.close() with menu.close() in context menu
* refactor: replace onopen/onclose with ontoggle in context menus
* refactor(contextmenu): streamline toggle event handling
* refactor: update context menu to support right- and left-click triggers
* Update DropDownButton.svelte
* copy and title style update
* added series header right click menu
* do not allow interactions until the animation ends
* fix typo
* improve `setTransformOrigin` function readability
* simplify `setHorizontalAlign`
* remove "title" from the PR context menu
* copy fix
* remove commented out code
* leave the "Reload PR" action only on the PR card
* do not show the rename action if it is no longer available
---------
Co-authored-by: Mattias Granlund <mtsgrd@gmail.com>
* fix: bold target branch name in divergence message
* feat: update IntegrationSeriesRow to use series data instead of title
* feat(ui): add tooltip for additional series in labels row
* feat: add SeriesLabelsRow component to IntegrationSeriesRow
* feat: add SeriesLabelsRow component and update imports
Introduce the SeriesLabelsRow component to display a list of series
with an optional counter label. Update the CollapsedLane and HeaderMetaSection
to use the new component. Create stories for SeriesLabelsRow in Storybook
to facilitate testing and documentation. This enhances the UI by providing
a clearer representation of series data.
* feat: refactorEntry to use series instead of title
Remove title prop from SidebarEntry and replace it with a series
array. Update related components and stories to reflect this change.
This enhances the component's flexibility by allowing it to handle
multiple series, improving the overall user experience.
* style: update hover background color in SidebarEntry
* feat: add tooltip to series labels for clarity
* refactor: move wiggle animation to utility styles
Also removes unused DefaultTargetButton component code.
* Merge branch 'master' into sidebar-update-for-stacking
* feat: enhance SidebarEntry with title and optional series
Fix: PR sidebar entry
Users that hava AI enabled through their GitButler cloud account will get streamed responses.
Also:
- Commit generation is stremed into the message input
Make the modal closing function a promise as it's done asynchronously.
Add another optional callback that's called only in the case when clicking outside the modal.
Apparently buttons without a type inside a form default to `submit`.
In order to open the links in the commit list and not trigger the upstream to be integrated, we need to set the type of the button to `button`
* added "disabled" prop to Tooltip
* don't show tooltips when the context menu is activated
* correct context menu positioning
* fixes: menu toggling, hold the active card state when the ctx menu is opened
* added new overflowMenu
* refactor(StackingSeriesHeader): Remove redundant code for opening link and context menu options
* commit context menu added
* refactor: Improve click outside handler in ContextMenu.svelte
* feat(commit): Add ability to insert blank commit above or below existing commit
* refactor(contextmenu): Refactor align logic, remove el and add clientHeight/Width binding
* added: "Activated" state for overflow menu and buttons
* added: conditions for "kebab" buttons when context menu is opened
* fixing context menu positioning
* feat: Add preventDefault to context menu in OverflowMenuItem
* fix: Toggle button label
* added "copy PR" item
* Update OverflowMenuItem.svelte
* Update InsertEmptyCommitAction.svelte
* adde more itrm to the commit context menu
* Update StackingCommitList.svelte
* Update Button.svelte
* fix checks
* change context menu trigger area
* components rename
* restrict context menu actions to the commit type
* Update CommitContextMenu.svelte
* add missing prop
* rearrange buttons
* Update apps/desktop/src/lib/branch/StackingSeriesHeader.svelte
* some buttons had missing kind prop
* move new components to UI
---------
Co-authored-by: Nico Domino <yo@ndo.dev>