Skip to content

Conversation

nzaytsev
Copy link
Contributor

Description

  • handle push/pull actions
  • add link to pr
  • control force branches reloading

Checklist

  • I have followed the guidelines in the Contributing document
  • My changes follow the coding style of this project
  • My changes build without any errors or warnings
  • My changes have been formatted and linted
  • My changes include any required corresponding changes to the documentation (including CHANGELOG.md and README.md)
  • My changes have been rebased and squashed to the minimal number (typically 1) of relevant commits
  • My changes have a descriptive commit message with a short title, including a Fixes $XXX - or Closes #XXX - prefix to auto-close the issue that your PR addresses

@nzaytsev nzaytsev requested review from axosoft-ramint, d13 and eamodio and removed request for axosoft-ramint and d13 November 11, 2024 08:51
${when(overview.choices, () => html`<gl-change-repo .options=${overview.choices}></gl-change-repo>`)}
</h3>
${activeBranches.map(branch => this.renderRepoBranchCard(overview!.repository.name, branch))}
${repeat(activeBranches, branch => this.renderRepoBranchCard(overview.repository.name, branch))}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

repeat isn't really beneficial without adding a keyFn

Suggested change
${repeat(activeBranches, branch => this.renderRepoBranchCard(overview.repository.name, branch))}
${repeat(activeBranches, branch => branch.name, branch => this.renderRepoBranchCard(overview.repository.name, branch))}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, reverted it to reduce the changes. I believe it doesn't make sense on small-size lists

></gl-button>
<gl-button appearance="secondary" density="compact" tooltip=${forcePushTooltip}
<gl-button
href=${createWebviewCommandLink('gitlens.views.home.push', 'gitlens.views.home', '', {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a force push

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep

- handle push/pull actions
- add link to pr
- control force branches reloading
@nzaytsev nzaytsev merged commit b4b84c5 into main Nov 12, 2024
2 checks passed
@d13 d13 linked an issue Nov 13, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New Home View

2 participants