Skip to content

dbeaver/pro#7562 [CB] keep data editor filter state during session#4261

Open
SychevAndrey wants to merge 25 commits intodevelfrom
7562-cb-keep-data-editor-filter-state-during-session
Open

dbeaver/pro#7562 [CB] keep data editor filter state during session#4261
SychevAndrey wants to merge 25 commits intodevelfrom
7562-cb-keep-data-editor-filter-state-during-session

Conversation

@SychevAndrey
Copy link
Copy Markdown
Contributor

No description provided.

SychevAndrey and others added 25 commits March 24, 2026 17:33
replaced private restorePendingState()  with public restoreViewState(pinnedColumnNames, columnOrderNames?) that takes data directly as arguments
bug with skipping constraints if any without a position.
if (!prevColumn) {
        return;
      }
…of github.com:dbeaver/cloudbeaver into 7562-cb-keep-data-editor-filter-state-after-reconnect
…LDataFilter"

This reverts commit 3e0e86f.

Last test showed that we don't need any additional logic on BE. It handles all constraints properly.
@codacy-production
Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity

Metric Results
Complexity 0

View in Codacy

TIP This summary will be updated as you push new changes. Give us feedback

{
static dataFormat: ResultDataFormat[] | null = null;

private store: Record<string, unknown> = {};
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

please initialize it in the constructor and make it observable.ref

}

abstract getColumnName(key: IGridColumnKey): string | undefined;
abstract getColumnNameByPosition(attributePosition: number): string | undefined;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

abstract getColumnNameByPosition(attributePosition: number): string | undefined;
->
abstract getColumnNameAt(colIdx: number): string | undefined;

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants