8000 [NO_MERGE][WIP] Startup time by kittaakos · Pull Request #1004 · arduino/arduino-ide · GitHub
[go: up one dir, main page]

Skip to content

[NO_MERGE][WIP] Startup time #1004

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

Closed
wants to merge 45 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
dc3b748
deferred contributions to start on app ready.
May 24, 2022
ab163a5
disabled "trick" for deferring menu update.
May 24, 2022
469159e
updated translation files.
May 24, 2022
08f6b27
i18n fixup.
May 24, 2022
c81d1c5
removed native grpc dependencies.
May 24, 2022
71bbeda
Can start the IDE with content tracing.
May 25, 2022
ad76045
Skip loading extensions for the Theia about dialog
May 25, 2022
47620ef
Defer running the FW updates.
May 25, 2022
bc3aee6
Do not require the current window on IDE2 start.
May 25, 2022
313c96c
Do not explicitly initialize the layout on start.
May 25, 2022
68afacf
Added missing protobuf dep.
May 27, 2022
c7f2f4f
asynchronous core and lib index update.
May 27, 2022
e27b9f1
:lipstick: improved dev comments.
May 27, 2022
79503ef
removed debug log.
May 27, 2022
8ffee32
run core and lib index updates parallel.
May 27, 2022
efe7399
Use nightly (20220527) CLI and 2.2.0 FW uploader.
May 27, 2022
05af641
Defer loading boards until the app is ready.
May 27, 2022
b947be0
Open devtools when tracing.
May 27, 2022
2fbf3cb
Resolve and cache current sketch.
May 27, 2022
0e4881c
Reverted titleBarStyling for Windows/Linux.
May 31, 2022
644bf14
workaround for the non realpath.
May 31, 2022
ab56005
Relaxed prettier on Windows.
Jun 1, 2022
8a04d47
Workaround for non-realpaths on Windows.
Jun 1, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
8000
Diff view
Prev Previous commit
Next Next commit
Defer running the FW updates.
Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
  • Loading branch information
Akos Kitta committed May 25, 2022
commit 47620ef0eb4b67774bfa0e780661558eabf28b2f
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
} from '../../../common/protocol/arduino-firmware-uploader';
import { FirmwareUploaderComponent } from './firmware-uploader-component';
import { UploadFirmware } from '../../contributions/upload-firmware';
import { FrontendApplicationStateService } from '@theia/core/lib/browser/frontend-application-state';

@injectable()
export class UploadFirmwareDialogWidget extends ReactWidget {
Expand All @@ -24,6 +25,9 @@ export class UploadFirmwareDialogWidget extends ReactWidget {
@inject(ArduinoFirmwareUploader)
protected readonly arduinoFirmwareUploader: ArduinoFirmwareUploader;

@inject(FrontendApplicationStateService)
private readonly appStatusService: FrontendApplicationStateService;

protected updatableFqbns: string[] = [];
protected availableBoards: AvailableBoard[] = [];
protected isOpen = new Object();
Expand All @@ -38,7 +42,8 @@ export class UploadFirmwareDialogWidget extends ReactWidget {

@postConstruct()
protected init(): void {
this.arduinoFirmwareUploader.updatableBoards().then((fqbns) => {
this.appStatusService.reachedState('ready').then(async () => {
const fqbns = await this.arduinoFirmwareUploader.updatableBoards();
this.updatableFqbns = fqbns;
this.update();
});
Expand Down
0