Skip to content

Commit 72bb928

Browse files
committed
remove setting of route
1 parent 06a4040 commit 72bb928

File tree

16 files changed

+1
-1061
lines changed

16 files changed

+1
-1061
lines changed

viewer/packages/lowcoder/src/app.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import {
2121
ORG_AUTH_LOGIN_URL,
2222
ORG_AUTH_REGISTER_URL,
2323
QUERY_LIBRARY_URL,
24-
SETTING,
2524
TRASH_URL,
2625
USER_AUTH_URL,
2726
ADMIN_APP_URL,
@@ -322,7 +321,6 @@ class AppIndex extends React.Component<AppIndexProps, any> {
322321
FOLDERS_URL,
323322
FOLDER_URL,
324323
TRASH_URL,
325-
SETTING,
326324
MARKETPLACE_URL,
327325
ADMIN_APP_URL
328326
]}

viewer/packages/lowcoder/src/comps/comps/appSettingsComp.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import styled, { css } from "styled-components";
1010
import { trans } from "i18n";
1111
import { GreyTextColor } from "constants/style";
1212
import { default as Divider } from "antd/es/divider";
13-
import { THEME_SETTING } from "constants/routesURL";
1413
import { CustomShortcutsComp } from "./customShortcutsComp";
1514
import { DEFAULT_THEMEID } from "comps/utils/themeUtil";
1615
import { StringControl } from "comps/controls/codeControl";
@@ -304,11 +303,6 @@ function AppSettingsModal(props: ChildrenInstance) {
304303
itemNode={(value) => <DropdownItem value={value} />}
305304
preNode={() => (
306305
<>
307-
<CreateDiv onClick={() => window.open(THEME_SETTING)}>
308-
<StyledAddIcon />
309-
{trans("appSetting.themeCreate")}
310-
</CreateDiv>
311-
<DividerStyled />
312306
</>
313307
)}
314308
allowClear

viewer/packages/lowcoder/src/constants/routesURL.ts

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,6 @@ export const USER_PROFILE_URL = "/user/profile";
99
export const NEWS_URL = "/news";
1010
export const ORG_HOME_URL = "/org/home";
1111
export const COMPONENT_DOC_URL = "/components";
12-
export const SETTING = "/setting";
13-
export const PERMISSION_SETTING = "/setting/permission";
14-
export const ORGANIZATION_SETTING = "/setting/organization";
15-
export const SUBSCRIPTION_SETTING = "/setting/subscription";
16-
export const THEME_SETTING = "/setting/theme";
17-
export const PLUGINS_SETTING = "/setting/plugins";
18-
export const THEME_DETAIL = "/setting/theme/detail";
19-
export const THEME_DETAIL_URL = `${THEME_DETAIL}/:themeId`;
20-
21-
export const OAUTH_PROVIDER_SETTING = "/setting/oauth-provider";
22-
export const OAUTH_PROVIDER_DETAIL = "/setting/oauth-provider/detail";
23-
24-
export const PERMISSION_SETTING_DETAIL = `${PERMISSION_SETTING}/:groupId`;
25-
export const ORGANIZATION_SETTING_DETAIL = `${ORGANIZATION_SETTING}/:orgId`;
26-
export const SUBSCRIPTION_DETAIL = `${SUBSCRIPTION_SETTING}/:subscriptionId`;
2712

2813
export const ALL_APPLICATIONS_URL = "/apps";
2914
export const ADMIN_APP_URL = "/ee/:applicationId/:viewMode";
@@ -100,12 +85,4 @@ export const buildAppRouteWithState = (
10085

10186
export function preview(applicationId: string) {
10287
window.open(APPLICATION_VIEW_URL(applicationId, "preview"));
103-
}
104-
105-
export const buildGroupId = (groupId: string) =>
106-
`${PERMISSION_SETTING}/${groupId}`;
107-
108-
export const buildOrgId = (orgId: string) => `${ORGANIZATION_SETTING}/${orgId}`;
109-
110-
export const buildSubscriptionId = (subscriptionId: string) =>
111-
`${SUBSCRIPTION_SETTING}/${subscriptionId}`;
88+
}

viewer/packages/lowcoder/src/pages/ApplicationV2/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import {
88
MARKETPLACE_URL,
99
MODULE_APPLICATIONS_URL,
1010
QUERY_LIBRARY_URL,
11-
SETTING,
1211
TRASH_URL,
1312
// ADMIN_APP_URL,
1413
NEWS_URL,

viewer/packages/lowcoder/src/pages/editor/editorView.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ const LeftContent = lazy(
5858
() => import('./LeftContent')
5959
.then(module => ({default: module.LeftContent}))
6060
);
61-
const RightPanel = lazy(() => import('pages/editor/right/RightPanel'));
6261
const EditorTutorials = lazy(() => import('pages/tutorials/editorTutorials'));
6362
const CustomShortcutWrapper = lazy(
6463
() => import('pages/editor/editorHotKeys')
@@ -546,13 +545,6 @@ function EditorView(props: EditorViewProps) {
546545
</EditorHotKeys>
547546
</EditorWrapper>
548547
</MiddlePanel>
549-
{showRight && (
550-
<RightPanel
551-
uiComp={uiComp}
552-
onCompDrag={onCompDrag}
553-
showPropertyPane={editorState.showPropertyPane}
554-
onTabChange={setShowPropertyPane} />
555-
)}
556548
</Body>
557549
</EditorGlobalHotKeys>
558550
</Height100Div></>

viewer/packages/lowcoder/src/pages/editor/right/ExtensionPanel.tsx

Lines changed: 0 additions & 12 deletions
This file was deleted.

viewer/packages/lowcoder/src/pages/editor/right/InsertView.tsx

Lines changed: 0 additions & 86 deletions
This file was deleted.

viewer/packages/lowcoder/src/pages/editor/right/ModulePanel.tsx

Lines changed: 0 additions & 156 deletions
This file was deleted.

0 commit comments

Comments
 (0)