Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Diff view
6 changes: 5 additions & 1 deletion webapp/packages/core-ui/src/Form/FormPart.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2025 DBeaver Corp and others
* Copyright (C) 2020-2026 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -125,6 +125,10 @@
}

async load(): Promise<void> {
if (this.formState.savingPromise) {
return;
}

if (this.loading) {
return this.promise;
}
Expand Down Expand Up @@ -192,8 +196,8 @@
this.state = state;
}

protected format(data: IFormState<TFormState>, contexts: IExecutionContextProvider<IFormState<TFormState>>): void | Promise<void> {}

Check warning on line 199 in webapp/packages/core-ui/src/Form/FormPart.ts

View workflow job for this annotation

GitHub Actions / Frontend / Lint

'contexts' is defined but never used

Check warning on line 199 in webapp/packages/core-ui/src/Form/FormPart.ts

View workflow job for this annotation

GitHub Actions / Frontend / Lint

'data' is defined but never used
protected validate(data: IFormState<TFormState>, contexts: IExecutionContextProvider<IFormState<TFormState>>): void | Promise<void> {}

Check warning on line 200 in webapp/packages/core-ui/src/Form/FormPart.ts

View workflow job for this annotation

GitHub Actions / Frontend / Lint

'contexts' is defined but never used

Check warning on line 200 in webapp/packages/core-ui/src/Form/FormPart.ts

View workflow job for this annotation

GitHub Actions / Frontend / Lint

'data' is defined but never used

protected abstract loader(): Promise<void>;
protected abstract saveChanges(data: IFormState<TFormState>, contexts: IExecutionContextProvider<IFormState<TFormState>>): Promise<void>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2025 DBeaver Corp and others
* Copyright (C) 2020-2026 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -94,13 +94,13 @@
}

protected override async saveChanges(
data: IFormState<IConnectionFormState>,

Check warning on line 97 in webapp/packages/plugin-connections/src/ConnectionForm/SSH/ConnectionFormSSHPart.ts

View workflow job for this annotation

GitHub Actions / Frontend / Lint

'data' is defined but never used
contexts: IExecutionContextProvider<IFormState<IConnectionFormState>>,

Check warning on line 98 in webapp/packages/plugin-connections/src/ConnectionForm/SSH/ConnectionFormSSHPart.ts

View workflow job for this annotation

GitHub Actions / Frontend / Lint

'contexts' is defined but never used
): Promise<void> {}

protected override format(
data: IFormState<IConnectionFormState>,

Check warning on line 102 in webapp/packages/plugin-connections/src/ConnectionForm/SSH/ConnectionFormSSHPart.ts

View workflow job for this annotation

GitHub Actions / Frontend / Lint

'data' is defined but never used
contexts: IExecutionContextProvider<IFormState<IConnectionFormState>>,

Check warning on line 103 in webapp/packages/plugin-connections/src/ConnectionForm/SSH/ConnectionFormSSHPart.ts

View workflow job for this annotation

GitHub Actions / Frontend / Lint

'contexts' is defined but never used
): void | Promise<void> {
const urlType = this.optionsPart.state.configurationType === DriverConfigurationType.Url;

Expand Down
Loading