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`
When getting the branch listings, compare the branches to the remote target branch.
This is necessary because of two reasons:
- GitButler doesn't really care about what your local target branch (e.g. main) does, and also doesn't update it as we merge upstream (e.g. origin/main).
- In some cases, a repository might not have a local branch pusgin to the remote target branch (especially in the cases in which branches are merged through a forge)
* 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>