Skip to content

Conversation

axosoft-ramint
Copy link
Contributor

No description provided.

package.json Outdated
Comment on lines 8094 to 8099
{
"command": "gitlens.views.home.account.refresh",
"title": "Refresh",
"category": "GitLens",
"icon": "$(refresh)"
},
Copy link
Member

Choose a reason for hiding this comment

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

Unless a command needs to show up in VS Code controlled UI (command palette, menus) we don't need to register them here.

So in this case we can nuke this.

package.json Outdated
Comment on lines 11491 to 11494
{
"command": "gitlens.views.home.account.refresh",
"when": "false"
},
Copy link
Member

Choose a reason for hiding this comment

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

Same as above

Comment on lines 222 to 228
<gl-button
appearance="toolbar"
href="command:gitlens.views.home.account.refresh"
tooltip="Refresh"
aria-label="Refresh"
><code-icon icon="refresh"></code-icon
></gl-button>
Copy link
Member

Choose a reason for hiding this comment

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

Should we think of this as a "refresh" or a "re-sync"? @justinrobots

If "refresh" then this is good, but I'd change the tooltip to "Refresh Account Status"
If "re-sync" then maybe, use the sync icon and the tooltip to be "Synchronize Account Status"

Copy link
Member

Choose a reason for hiding this comment

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

Sync does seem a little more concise and it would add a better distinction from the view's refresh.

@axosoft-ramint axosoft-ramint requested a review from eamodio October 3, 2024 19:18
@axosoft-ramint
Copy link
Contributor Author

@eamodio @d13 Updated the command name, tooltip and icon, and removed it from package.JSON.

Copy link
Member

@d13 d13 left a comment

Choose a reason for hiding this comment

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

LGTM

@axosoft-ramint axosoft-ramint merged commit 5e03bf9 into main Oct 3, 2024
3 checks passed
@axosoft-ramint axosoft-ramint deleted the feature/account-section-refresh branch October 3, 2024 22:22
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.

3 participants