Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[ATL-1294] At first ide startup invoke installation of arduino:avr #497

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

Merged
AlbyIanna merged 1 commit into main from atl-1294--install-avr-first-startup
Sep 2, 2021

Conversation

@AlbyIanna
Copy link
Contributor

@AlbyIanna AlbyIanna commented Sep 1, 2021

HOW

Use LocalStorageService to know if it's the first IDE startup, and in that case launch arduino:avr installation.

@postConstruct()
protected async init(): Promise<void> {
const notFirstStartup = await this.localStorageService.getData(
'notFirstStartup'
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd use a const rather than just a string.
I'm also wondering if a more expressive string that relates to it's purpose is better

something like

const INIT_AVR_PACKAGES = 'initializedAvrPackages';

AlbyIanna reacted with thumbs up emoji
@AlbyIanna AlbyIanna force-pushed the atl-1294--install-avr-first-startup branch from c080392 to 90046c9 Compare September 2, 2021 08:46
Copy link
Contributor

@rsora rsora left a comment

Choose a reason for hiding this comment

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

Win 🆗
Linux 🆗

@AlbyIanna AlbyIanna merged commit bfb90a8 into main Sep 2, 2021
@AlbyIanna AlbyIanna deleted the atl-1294--install-avr-first-startup branch September 2, 2021 10:50
Copy link

ShineUnM commented Sep 4, 2021

Maybe, Let user to choose installing the AVR core lib or not is better?
For example, I never use AVR, now I have to wait it installing and remove it, and install my target core lib

Copy link
Contributor

fstasi commented Sep 6, 2021

Maybe, Let user to choose installing the AVR core lib or not is better?
For example, I never use AVR, now I have to wait it installing and remove it, and install my target core lib

@ShineUnM this PR is meant to close the gap between the IDE2 beta and the current IDE. The latter ships with AVR core pre-installed in order to make the experience as forgiving as possible for newcomers.

I'll discuss your comment with the UX team and evaluate if we can find a suitable solution for more advanced users.

Feel free to open an issue so that we can track your request and collect other feedback.

thanks a lot

ubidefeo reacted with thumbs up emoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

2 more reviewers

@fstasi fstasi fstasi left review comments

@rsora rsora rsora approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

topic: code Related to content of the project itself type: enhancement Proposed improvement

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /