Speed up IDE startup time.

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
This commit is contained in:
Akos Kitta
2022-05-20 12:11:23 +02:00
committed by Akos Kitta
parent cb50d3a70d
commit 4c55807392
179 changed files with 2692 additions and 2022 deletions

View File

@@ -7,7 +7,7 @@ import { codicon } from '@theia/core/lib/browser';
const PerfectScrollbar = require('react-perfect-scrollbar');
export class NotificationCenterComponent extends TheiaNotificationCenterComponent {
render(): React.ReactNode {
override render(): React.ReactNode {
const empty = this.state.notifications.length === 0;
const title = empty
? nls.localize(

View File

@@ -4,7 +4,7 @@ import { nls } from '@theia/core/lib/common';
import { codicon } from '@theia/core/lib/browser';
export class NotificationComponent extends TheiaNotificationComponent {
render(): React.ReactNode {
override render(): React.ReactNode {
const { messageId, message, type, collapsed, expandable, source, actions } =
this.props.notification;
return (

View File

@@ -3,7 +3,7 @@ import { NotificationComponent } from './notification-component';
import { NotificationToastsComponent as TheiaNotificationToastsComponent } from '@theia/messages/lib/browser/notification-toasts-component';
export class NotificationToastsComponent extends TheiaNotificationToastsComponent {
render(): React.ReactNode {
override render(): React.ReactNode {
return (
<div
className={`theia-notifications-container theia-notification-toasts ${

View File

@@ -8,7 +8,7 @@ import { NotificationManager as TheiaNotificationManager } from '@theia/messages
@injectable()
export class NotificationManager extends TheiaNotificationManager {
async reportProgress(
override async reportProgress(
messageId: string,
update: ProgressUpdate,
originalMessage: ProgressMessage,
@@ -34,7 +34,7 @@ export class NotificationManager extends TheiaNotificationManager {
this.fireUpdatedEvent();
}
protected toPlainProgress(update: ProgressUpdate): number | undefined {
protected override toPlainProgress(update: ProgressUpdate): number | undefined {
if (!update.work) {
return undefined;
}

View File

@@ -7,7 +7,7 @@ import { NotificationsRenderer as TheiaNotificationsRenderer } from '@theia/mess
@injectable()
export class NotificationsRenderer extends TheiaNotificationsRenderer {
protected render(): void {
protected override render(): void {
ReactDOM.render(
<div>
<NotificationToastsComponent