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
Two icons for representing notification progress are confusing #91469
Comments
Agree. @misolori might need your help. I am fine having another bell icon that just has a different decoration. Maybe we leave the animation out for laters. |
Yeah that would be pretty cool. If the spinning is ike a spinning badge on the bell. |
I doubt we can animate just that part of the bell. It would be static and not spinning. Unless maybe with some tricks we can overlay 2. |
I ended up not using this icon as I felt it was too subtle. What I did instead is to simply use the bell with a dot whenever a notification is in progress. I think this is easier to understand because this indicates that "something" is going on in the hidden notification center. Verification: follow steps from #91163 and verify the bell shows a dot for as long as the notification is in progress. |
Are we sure this isn't too subtle? We have never finishing save operations that can be behind this... |
@jrieken the alternative is what I suggested earlier to promote a running save operation to the status bar where we usually show progress when not in notification. |
Went back to the original model where we would indicate the progress in the status bar whenever the notification is hidden: Verification:
class ProgressAction extends Action {
static readonly ID = 'workbench.action.ProgressAction';
static readonly LABEL = nls.localize('ProgressAction', "ProgressAction");
static counter = 0;
constructor(
id: string,
label: string,
@IProgressService private readonly progressService: IProgressService
) {
super(id, label);
ProgressAction.counter++;
}
run(): Promise<void> {
this.progressService.withProgress({
location: ProgressLocation.Notification,
title: `[${ProgressAction.counter}]Some long running operation`,
cancellable: true
}, progress => {
progress.report({ increment: 0, total: 100 });
let counter = 0;
setInterval(() => {
progress.report({ increment: 10, message: 'Increment from [microsoft.com](http://microsoft.com) ' + (++counter), total: 100 });
}, 1000);
return timeout(10000);
});
return Promise.resolve();
}
} |
@bpasero Fantastic verification steps! |
Thanks for verifying so fast 👍 |
Since we won't be using the subtle icon (which I agree with) I'll remove it from our library |
Refs: #91163
We showing notificatino progress we render two icons in the status bar. The ball and the spinner.
I am not a big fan of this appraoch as they seem like two disconnected icons to me. We should somehow marry them, or show a progress in some other way.
On the very least they should share some backgroun color / outline
The text was updated successfully, but these errors were encountered: