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

chore: push eol notifications for windows 8 and 8.1 #177668

Merged
merged 1 commit into from
Mar 23, 2023
Merged

Conversation

deepak1556
Copy link
Collaborator

@deepak1556 deepak1556 commented Mar 20, 2023

Refs #177676

In preparation for Electron >=23, branch-off from #175818

@deepak1556 deepak1556 self-assigned this Mar 20, 2023
@deepak1556 deepak1556 added this to the March 2023 milestone Mar 20, 2023
isidorn
isidorn previously approved these changes Mar 20, 2023
Comment on lines +705 to +711
const eolReleases = new Map<string, Map<string, string>>([
['6', new Map<string, string>([
['1', 'Windows 7 / Windows Server 2008 R2'],
['2', 'Windows 8 / Windows Server 2012'],
['3', 'Windows 8.1 / Windows Server 2012 R2'],
])],
]);
Copy link
Member

Choose a reason for hiding this comment

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

Should this be extracted outside of this method?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Version mappings are different between Windows and MacOS, so keeping them separate is better for simplicity.

Comment on lines +721 to +727
this.bannerService.show({
id: 'windowseol.banner',
message,
ariaLabel: localize('windowseolarialabel', "{0}. Use navigation keys to access banner actions.", message),
actions,
icon: Codicon.warning
});
Copy link
Member

Choose a reason for hiding this comment

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

Nice 👌

Copy link

@lorand-horvath lorand-horvath Mar 24, 2023

Choose a reason for hiding this comment

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

@deepak1556 Please add a neverShowAgain option to the windowseol bannerService in line 721. It's annoying to have to close it every time I start Insiders. I know I'm running an unsupported Windows version and I don't really need a reminder every time. I want to be able to dismiss it forever. Is that possible to do?

Choose a reason for hiding this comment

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

@deepak1556 I second @lorand-horvath request, we do not need a nag every time a project is opened!

@deepak1556 deepak1556 merged commit d186a2b into main Mar 23, 2023
@deepak1556 deepak1556 deleted the robo/eol_win_8 branch March 23, 2023 11:15
@isidorn
Copy link
Contributor

isidorn commented Mar 23, 2023

Sorry that my review triggered an auto merge!

@github-actions github-actions bot locked and limited conversation to collaborators May 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants