Commit 72f72135 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Supress useless messages from web UI

parent d02ee1d7
......@@ -9,6 +9,8 @@ all: lakeFS-service lakeFS-config
tar xf lakeFS-1.32.1.tar.gz
patch -Np1 -d lakeFS-1.32.1 < lakeFS-1.32.1-fix_apache-arrow.patch
patch -Np1 -d lakeFS-1.32.1 < lakeFS-1.32.1-suppress_ACL_warnings.patch
patch -Np1 -d lakeFS-1.32.1 < lakeFS-1.32.1-suppress_new_version_notification.patch
cd lakeFS-1.32.1/webui && HOME=$(CURDIR)/lakefs-home npm install
cd lakeFS-1.32.1/webui && HOME=$(CURDIR)/lakefs-home npm run build
cd lakeFS-1.32.1 && cp api/swagger.yml docs/assets/js/swagger.yml
......
diff -uNr lakeFS-1.32.1/webui/src/lib/components/auth/layout.tsx lakeFS-1.32.1-suppress_ACL_warnings/webui/src/lib/components/auth/layout.tsx
--- lakeFS-1.32.1/webui/src/lib/components/auth/layout.tsx 2024-08-28 01:08:51.000000000 +0930
+++ lakeFS-1.32.1-suppress_ACL_warnings/webui/src/lib/components/auth/layout.tsx 2025-05-20 08:04:25.932852611 +0930
@@ -34,19 +34,6 @@
return (
<Container fluid="xl">
<Row className="mt-5">
- <div>
- {rbac === 'simplified' && displayACLDeprecation &&
- <Alert variant="warning" title="ACL Deprecation"><InfoIcon/>{" "}<b>ACLs are moving out of core lakeFS!</b>{" "}See the <Alert.Link href={"https://lakefs.io/blog/why-moving-acls-out-of-core-lakefs/"}>announcement</Alert.Link>{" "}
- to learn why and how to continue using your existing lakeFS installation in future versions.</Alert>
- }
- {rbac === 'simplified' && showRBACAlert &&
- <Alert variant="info" title="rbac CTA" dismissible onClose={() => {
- window.localStorage.setItem(rbacDismissedKey, "true");
- setShowRBACAlert(false);
- }}><InfoIcon/>{" "}Enhance Your Security with {" "}<Alert.Link href={"https://docs.lakefs.io/reference/security/rbac.html"}>Role-Based Access Control</Alert.Link>{" "}
- – Available on <Alert.Link href={"https://lakefs.cloud/register"}>lakeFS Cloud</Alert.Link> and <Alert.Link href={"https://docs.lakefs.io/understand/enterprise/"}>lakeFS Enterprise</Alert.Link>!</Alert>
- }
- </div>
<Col md={{span: 3}}>
<Card>
<Card.Header>
diff -uNr lakeFS-1.32.1/webui/src/lib/components/navbar.jsx lakeFS-1.32.1-suppress_new_version_notification/webui/src/lib/components/navbar.jsx
--- lakeFS-1.32.1/webui/src/lib/components/navbar.jsx 2024-08-28 01:08:51.000000000 +0930
+++ lakeFS-1.32.1-suppress_new_version_notification/webui/src/lib/components/navbar.jsx 2025-05-20 08:14:52.859142060 +0930
@@ -29,13 +29,6 @@
}
return (
<NavDropdown title={<NavBarTitle />} className="navbar-username" align="end">
- {notifyNewVersion && <>
- <NavDropdown.Item href={versionResponse.upgrade_url}>
- <>
- <div className="menu-item-notification-indicator"></div>
- New lakeFS version is available!
- </>
- </NavDropdown.Item><NavDropdown.Divider/></>}
<NavDropdown.Item
onClick={()=> {
auth.clearCurrentUser();
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment