Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Origin/features/show progress in taskbar for push or pull #8587

Conversation

ChamodyaDias
Copy link
Contributor

Closes #8433

Description

  • Added the capability to show the progress on the Github Desktop Icon in the taskbar, when ever a Push / Pull / Fetch happens

Screenshots

Screenshot (99)
Screenshot (101)

Release notes

Notes:

@outofambit outofambit added electron Issues related to our use of Electron that may need updates to Electron or upstream fixes windows Issues specific Desktop usage on Windows labels Nov 12, 2019
outofambit
outofambit previously approved these changes Nov 12, 2019
Copy link
Contributor

@outofambit outofambit left a comment

Choose a reason for hiding this comment

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

hey @ChamodyaDias thanks for making this work, it looks great. ✨ I'm going to talk with the team to see which release this can go out in, and i'll update here!

@outofambit outofambit self-assigned this Nov 12, 2019
@ChamodyaDias
Copy link
Contributor Author

hi @outofambit thank you reviewing and approving the PR. This is my First Open Source contribution ever! Honestly it is really a small contribution but I'm really glad to help, and will be looking forward for the release. Thanks a lot.

Copy link
Contributor

@billygriffin billygriffin left a comment

Choose a reason for hiding this comment

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

Hi @ChamodyaDias, thanks for the PR! @outofambit and I talked about feature-flagging this for beta only initially so we can make sure there aren't any UX pitfalls that we're not thinking about in releasing it more broadly. Here's the documentation for feature flags: https://github.com/desktop/desktop/blob/development/docs/technical/feature-flagging.md#how-to-feature-flag

Are you comfortable making that change, or if not I think @outofambit would be able to knock it out prior to merging. Just let us know!

@@ -3362,8 +3362,9 @@ export class AppStore extends TypedBaseStore<IAppState> {
pushPullFetchProgress,
}))
if (pushPullFetchProgress !== null) {
log.info('setting progress' + pushPullFetchProgress.value)

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

ChandyCC
ChandyCC previously approved these changes Jan 25, 2020
@@ -3362,8 +3362,9 @@ export class AppStore extends TypedBaseStore<IAppState> {
pushPullFetchProgress,
}))
if (pushPullFetchProgress !== null) {
log.info('setting progress' + pushPullFetchProgress.value)

This comment was marked as spam.

@Rexogamer
Copy link
Contributor

@laro67 please stop

@billygriffin
Copy link
Contributor

Hi @ChamodyaDias, just following up on my previous comment to find out if you'd like to put this behind a feature flag for beta only to start with. Thanks!

@ChamodyaDias
Copy link
Contributor Author

@billygriffin Sorry for the delay, and yes of course its totally fine to put this behind feature flags. I'll try to implement it by following the instructions you shared.

@billygriffin
Copy link
Contributor

@ChamodyaDias Hi! Just following up here, are you planning to feature flag this? Please just let us know what you're thinking, and thank you! 😄

@ChamodyaDias ChamodyaDias dismissed stale reviews from ghost , ChandyCC, and outofambit via fc940a3 March 28, 2020 15:56
@ChamodyaDias
Copy link
Contributor Author

@billygriffin I've completed the feature flagging. Please check. Thank you.

Copy link
Contributor

@outofambit outofambit left a comment

Choose a reason for hiding this comment

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

thank you @ChamodyaDias !

@outofambit outofambit merged commit 946649b into desktop:development Apr 3, 2020
@@ -21,6 +21,10 @@ function enableDevelopmentFeatures(): boolean {
return false
}

export function enableProgressBarOnIcon(): boolean {
return enableDevelopmentFeatures()
Copy link
Member

@say25 say25 Apr 3, 2020

Choose a reason for hiding this comment

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

@billygriffin @outofambit I just noticed this feature @ChamodyaDias as a Windows user myself I'm super excited about it. However, I thought it was odd that it is enableDevelopmentFeatures instead of enableBetaFeatures due to the conversations below.

Copy link
Contributor

Choose a reason for hiding this comment

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

@say25 yep, that's a fair question! i'm planning to flip this feature flag before our next beta release (probably next week).

Copy link
Member

Choose a reason for hiding this comment

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

Awesome would be excited/interested in testing and potentially implementing additional Progress Bars for different workflows

Copy link
Contributor

Choose a reason for hiding this comment

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

@say25 i'm here for it!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
electron Issues related to our use of Electron that may need updates to Electron or upstream fixes windows Issues specific Desktop usage on Windows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: Show progress in the taskbar for push / pull
6 participants