Skip to content

[#11335] web(ui): setting web v2 ui as default#11344

Open
LauraXia123 wants to merge 2 commits into
apache:mainfrom
LauraXia123:issue-11335
Open

[#11335] web(ui): setting web v2 ui as default#11344
LauraXia123 wants to merge 2 commits into
apache:mainfrom
LauraXia123:issue-11335

Conversation

@LauraXia123
Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

  1. setting web v2 ui as default
  2. update md and readme
image

Why are the changes needed?

N/A

Fix: #11335

Does this PR introduce any user-facing change?

N/A

How was this patch tested?

manually

Copilot AI review requested due to automatic review settings June 2, 2026 06:36
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Switches the default Gravitino Web UI from V1 to V2 by replacing the opt-in GRAVITINO_USE_WEB_V2 flag with an opt-out GRAVITINO_USE_WEB_V1 flag, and updates docs, env template, launch script, build, and CI accordingly.

Changes:

  • Invert UI selection in bin/gravitino.sh.template and build.gradle.kts (deploy/embedded test paths) so V2 is preferred unless GRAVITINO_USE_WEB_V1=true.
  • Update gravitino-env.sh.template, README, docs/webui-v2.md, web-v2/web/README.md, and the V1 banner in Layout.js to reflect the new flag and default.
  • Drop GRAVITINO_USE_WEB_V2=true from the frontend integration test workflow since V2 is now the default.

Reviewed changes

Copilot reviewed 6 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
bin/gravitino.sh.template Default to V2 war; honor GRAVITINO_USE_WEB_V1=true to fall back to V1.
build.gradle.kts Switch deploy/embedded test war path selection to V2-by-default.
conf/gravitino-env.sh.template Replace V2 opt-in comment/var with V1 opt-out (GRAVITINO_USE_WEB_V1).
.github/workflows/frontend-integration-test.yml Remove GRAVITINO_USE_WEB_V2=true prefixes; rely on new default.
README.md Document V2 as default and how to switch to legacy V1.
docs/webui-v2.md Update Web V2 docs to describe the inverted flag/default.
web-v2/web/README.md Add note explaining V2-default behavior and GRAVITINO_USE_WEB_V1 opt-out.
web/web/src/app/rootLayout/Layout.js Update V1 banner copy to reference GRAVITINO_USE_WEB_V1=false.

Comment thread web/web/src/app/rootLayout/Layout.js Outdated
Comment thread docs/webui-v2.md Outdated
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 2, 2026

Code Coverage Report

Overall Project 66.76% 🟢
Files changed No Java source files changed -

Module Coverage
aliyun 1.72% 🔴
api 46.82% 🟢
authorization-common 85.96% 🟢
aws 3.66% 🔴
azure 2.47% 🔴
catalog-common 10.04% 🔴
catalog-fileset 80.33% 🟢
catalog-glue 66.08% 🟢
catalog-hive 79.55% 🟢
catalog-jdbc-clickhouse 80.02% 🟢
catalog-jdbc-common 45.31% 🟢
catalog-jdbc-doris 80.28% 🟢
catalog-jdbc-hologres 54.03% 🟢
catalog-jdbc-mysql 79.23% 🟢
catalog-jdbc-oceanbase 78.38% 🟢
catalog-jdbc-postgresql 82.29% 🟢
catalog-jdbc-starrocks 78.51% 🟢
catalog-kafka 77.01% 🟢
catalog-lakehouse-generic 44.89% 🟢
catalog-lakehouse-hudi 79.1% 🟢
catalog-lakehouse-iceberg 85.66% 🟢
catalog-lakehouse-paimon 79.29% 🟢
catalog-model 77.72% 🟢
cli 44.51% 🟢
client-java 77.91% 🟢
common 49.99% 🟢
core 82.47% 🟢
filesystem-hadoop3 76.97% 🟢
flink 0.0% 🔴
flink-common 41.2% 🟢
flink-runtime 0.0% 🔴
gcp 14.12% 🔴
hadoop-common 10.39% 🔴
hive-metastore-common 53.26% 🟢
iceberg-common 56.75% 🟢
iceberg-rest-server 72.26% 🟢
idp-basic 85.99% 🟢
integration-test-common 0.0% 🔴
jobs 66.17% 🟢
lance-common 20.83% 🔴
lance-rest-server 60.27% 🟢
lineage 53.02% 🟢
optimizer 82.95% 🟢
optimizer-api 21.95% 🔴
server 85.73% 🟢
server-common 73.66% 🟢
spark 32.79% 🔴
spark-common 39.75% 🔴
trino-connector 39.44% 🔴

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.

[Improvement] Setting web v2 UI as default

2 participants