Skip to content

Commit 4e0aa26

Browse files
Remove link to the legacy UI (apache#47078)
We are in the process of ripping out the legacy UI, so now is the time to stop directing folks back 🎉
1 parent febde14 commit 4e0aa26

File tree

3 files changed

+1
-11
lines changed

3 files changed

+1
-11
lines changed

airflow/ui/.env.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,3 @@
1919

2020

2121
# This is an example. You should make your own `.env.local` file for development
22-
VITE_LEGACY_API_URL="http://localhost:28080/home"

airflow/ui/src/layouts/Nav/Nav.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919
import { Box, Flex, VStack, Link } from "@chakra-ui/react";
20-
import { FiCornerUpLeft, FiDatabase, FiHome } from "react-icons/fi";
20+
import { FiDatabase, FiHome } from "react-icons/fi";
2121

2222
import { useVersionServiceGetVersion } from "openapi/queries";
2323
import { AirflowPin } from "src/assets/AirflowPin";
@@ -56,11 +56,6 @@ export const Nav = () => {
5656
<AdminButton />
5757
</Flex>
5858
<Flex flexDir="column">
59-
<NavButton
60-
icon={<FiCornerUpLeft size="1.75rem" />}
61-
title="Legacy UI"
62-
to={import.meta.env.VITE_LEGACY_API_URL || "http://localhost:28080/home"}
63-
/>
6459
<DocsButton />
6560
<UserSettingsButton />
6661
<Link

airflow/ui/src/vite-env.d.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@
2020

2121
/// <reference types="vite/client" />
2222

23-
interface ImportMetaEnv {
24-
readonly VITE_LEGACY_API_URL: string;
25-
}
26-
2723
interface ImportMeta {
2824
readonly env: ImportMetaEnv;
2925
}

0 commit comments

Comments
 (0)