Skip to content

Freeze and unfreeze view port - #1637

Merged
tanjjj merged 46 commits into
finos:mainfrom
tanjjj:support-freeze-viewport-at-backend
Aug 7, 2025
Merged

Freeze and unfreeze view port#1637
tanjjj merged 46 commits into
finos:mainfrom
tanjjj:support-freeze-viewport-at-backend

Conversation

@tanjjj

@tanjjj tanjjj commented Jul 29, 2025

Copy link
Copy Markdown
Contributor

Default columns of creation time and last updated time are added to each table.
When a viewport is frozen, filter out the rows with creation time newer than freeze timestamp.
When a viewport is unfrozen, remove the filter.
If a viewport is already frozen, reject new freeze request.

And fixed an issue with RowPermissionFilter - user could remove any column from the viewport/vpColumns, hence we should give RowPermissionFilter the entire row of data

Note this PR doesn't cover freezing unfreezing view ports on a join table. Will do that in another PR for #1653.

closes #1646

@netlify

netlify Bot commented Jul 29, 2025

Copy link
Copy Markdown

Deploy Preview for papaya-valkyrie-395400 canceled.

Name Link
🔨 Latest commit 16a9b8a
🔍 Latest deploy log https://app.netlify.com/projects/papaya-valkyrie-395400/deploys/689473351553da0008e8c5fa

@tanjjj
tanjjj marked this pull request as draft July 29, 2025 16:09
@tanjjj
tanjjj force-pushed the support-freeze-viewport-at-backend branch from b4d9d65 to 3a6cd15 Compare August 4, 2025 13:09
Comment thread vuu/src/main/scala/org/finos/vuu/api/TableDef.scala Outdated
Comment thread vuu/src/main/scala/org/finos/vuu/core/sort/FilterAndSort.scala Outdated
@tanjjj tanjjj mentioned this pull request Aug 5, 2025
@tanjjj
tanjjj marked this pull request as ready for review August 5, 2025 17:58
@tanjjj
tanjjj force-pushed the support-freeze-viewport-at-backend branch from 7b06ab1 to 8b13538 Compare August 5, 2025 18:25
Comment thread vuu/src/main/scala/org/finos/vuu/core/sort/FilterAndSort.scala Outdated
Comment thread vuu/src/main/scala/org/finos/vuu/core/table/InMemDataTable.scala Outdated
Comment thread vuu/src/main/scala/org/finos/vuu/viewport/ViewPortContainer.scala Outdated
Comment thread vuu/src/test/scala/org/finos/vuu/core/sort/FilterAndSortFixture.scala Outdated
@tanjjj
tanjjj force-pushed the support-freeze-viewport-at-backend branch from 14fcccb to 12fe963 Compare August 7, 2025 09:18
@tanjjj
tanjjj merged commit d90f637 into finos:main Aug 7, 2025
12 checks passed
@tanjjj
tanjjj deleted the support-freeze-viewport-at-backend branch August 7, 2025 10:11
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.

support freezing and unfreezing view port

2 participants