Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copyright OceanBase #41

Closed
wants to merge 90 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
6169a89
PullRequest: 366 bug fix
bluesky-xyh Mar 12, 2024
e4fbbdb
PullRequest: 367 Fixes oceanbase/odc#1853
UnknownAdventurer Mar 12, 2024
47c94a8
fix: connection popup
HSunboy Mar 13, 2024
6ec6782
fix: remove blob text disable mode
HSunboy Mar 13, 2024
78b0884
PullRequest: 368 feat: append overLimitStrategy to channel's detail d…
UnknownAdventurer Mar 13, 2024
fe95c91
PullRequest: 369 bug fixed and PartitionTask (details page API change…
bluesky-xyh Mar 13, 2024
f5c517a
PullRequest: 370 Fixes oceanbase/odc#1884
UnknownAdventurer Mar 13, 2024
a2ae866
PullRequest: 371 feat: AsyncTask (add task retry)
bluesky-xyh Mar 14, 2024
aa66447
PullRequest: 372 fix: modify DatabaseSelect's default width
UnknownAdventurer Mar 14, 2024
ee00272
chore: mds
HSunboy Mar 14, 2024
4d111da
PullRequest: 373 fix: modify notification's message content
UnknownAdventurer Mar 14, 2024
17fbb59
PullRequest: 374 feat: PartitionTask (add configured policy backfill …
bluesky-xyh Mar 15, 2024
4b583f7
PullRequest: 375 feat: RecordPage (add audit event)
bluesky-xyh Mar 15, 2024
0c8f8bb
PullRequest: 376 style: ApplyDatabasePermission(fix style)
bluesky-xyh Mar 18, 2024
f91a3b9
add error resolve
HSunboy Mar 18, 2024
5ca4a4d
Merge branch 'dev-4.2.4' of https://code.alipay.com/oceanbase/oceanba…
HSunboy Mar 18, 2024
9a65024
feat: open oracle anonymousBlock run btn
HSunboy Mar 18, 2024
11a0c43
fix: set correct default organization
HSunboy Mar 19, 2024
7f13a85
PullRequest: 377 fix style & api change sync
bluesky-xyh Mar 19, 2024
9472776
fixes oceanbase/odc#1958
HSunboy Mar 19, 2024
5cd6e0f
Merge branch 'dev-4.2.4' of https://code.alipay.com/oceanbase/oceanba…
HSunboy Mar 19, 2024
a4f5b9d
PullRequest: 379 ResourceTree (add task entry)
bluesky-xyh Mar 20, 2024
3bafe2d
PullRequest: 378 feat: switch in drawer
UnknownAdventurer Mar 20, 2024
40ba3d4
PullRequest: 380 fix: PartitionTask (when submitting a created strate…
bluesky-xyh Mar 20, 2024
e4ed50e
PullRequest: 385 Fixes oceanbase/odc#1964
UnknownAdventurer Mar 22, 2024
1b41481
PullRequest: 381 fix style
bluesky-xyh Mar 22, 2024
3496793
PullRequest: 382 feat: encrypt channel's sign
UnknownAdventurer Mar 22, 2024
1dea9ca
PullRequest: 383 feat: disabled some feature in SSOLogin on ver.4.2.4
UnknownAdventurer Mar 22, 2024
0c76182
PullRequest: 384 Fixes oceanbase/odc#1976
UnknownAdventurer Mar 22, 2024
da58d75
PullRequest: 386 design change sync
bluesky-xyh Mar 22, 2024
0268b54
fixes oceanbase/odc#2019
HSunboy Mar 22, 2024
7c3f608
Merge branch 'dev-4.2.4' of https://code.alipay.com/oceanbase/oceanba…
HSunboy Mar 22, 2024
e79dfe7
fixes oceanbase/odc#1380
HSunboy Mar 25, 2024
88ac048
fixes oceanbase/odc#1747, fixes oceanbase/odc#1798
HSunboy Mar 25, 2024
fa462c7
PullRequest: 387 PartitionTask (api and design change sync)
bluesky-xyh Mar 25, 2024
ed33e1a
fixes oceanbase/odc#1949, fixes oceanbase/odc#1950, fixes oceanbase/o…
HSunboy Mar 25, 2024
19716ef
Merge branch 'dev-4.2.4' of https://code.alipay.com/oceanbase/oceanba…
HSunboy Mar 25, 2024
4856964
PullRequest: 388 Fixes oceanbase/odc#2012
UnknownAdventurer Mar 25, 2024
52b695d
intl extract
HSunboy Mar 25, 2024
95f097e
Merge branch 'dev-4.2.4' of https://code.alipay.com/oceanbase/oceanba…
HSunboy Mar 25, 2024
694fccb
fix(database) when create doris database, add default character refs …
ISADBA Mar 25, 2024
1071e31
Merge pull request #46 from ISADBA/dev-4.2.4
HSunboy Mar 25, 2024
017dccc
PullRequest: 389 Fixes oceanbase/odc#1946
UnknownAdventurer Mar 25, 2024
81f26a3
PullRequest: 390 feat: PartitionTask (interactive change sync - suppo…
bluesky-xyh Mar 25, 2024
edc2931
PullRequest: 391 feat: PartitionTask (validate change sync)
bluesky-xyh Mar 26, 2024
1c3bcdf
PullRequest: 392 fix/dev-4.2.4-bugs-xyh-032602
bluesky-xyh Mar 26, 2024
683c721
PullRequest: 393 Task (SQLPlan subtask loading adjusted to server-sid…
bluesky-xyh Mar 26, 2024
cdea4d5
fix(database) when create doris database, charset is disabled
ISADBA Mar 27, 2024
790a154
chore: mds
HSunboy Mar 27, 2024
f5d46e5
PullRequest: 395 bug fixed
bluesky-xyh Mar 27, 2024
c3a412f
PullRequest: 396 fix: ignore notification's template when oic extract
UnknownAdventurer Mar 27, 2024
6947f9e
PullRequest: 397 fix: modify template content
UnknownAdventurer Mar 27, 2024
d8a5139
add locale
HSunboy Mar 28, 2024
58fec71
clear
HSunboy Mar 28, 2024
5d22e70
chore: update oic
HSunboy Mar 28, 2024
94b7bd7
fix: locale style
HSunboy Mar 28, 2024
74f93cf
PullRequest: 398 Fixes oceanbase/odc#2102
UnknownAdventurer Mar 28, 2024
ab3a10f
PullRequest: 400 Fixes oceanbase/odc#2084
UnknownAdventurer Mar 28, 2024
0855789
PullRequest: 399 fix styles
bluesky-xyh Mar 28, 2024
bed8838
PullRequest: 401 Fixes oceanbase/odc#2069
UnknownAdventurer Mar 28, 2024
b69e026
fixes oceanbase/odc#1444
HSunboy Mar 28, 2024
af7af41
Merge branch 'dev-4.2.4' of https://code.alipay.com/oceanbase/oceanba…
HSunboy Mar 28, 2024
eb8289e
PullRequest: 402 Fixes oceanbase/odc#1379
bluesky-xyh Mar 28, 2024
c17f2a6
fix: remove oracle copy uri
HSunboy Mar 28, 2024
2199b8d
Merge branch 'dev-4.2.4' of https://code.alipay.com/oceanbase/oceanba…
HSunboy Mar 28, 2024
474764a
PullRequest: 403 Fixes oceanbase/odc#2071
UnknownAdventurer Mar 29, 2024
77ad728
PullRequest: 404 Fixes oceanbase/odc#2070
UnknownAdventurer Mar 29, 2024
f9d946a
PullRequest: 405 Fixes oceanbase/odc#2100
UnknownAdventurer Mar 29, 2024
568485e
chore: oic
HSunboy Mar 29, 2024
7b550ef
PullRequest: 406 Fixes oceanbase/odc#2110
UnknownAdventurer Mar 29, 2024
8547d08
PullRequest: 407 style: PartitionTask (fix style)
bluesky-xyh Mar 29, 2024
0a9ceb4
chore: sync mds
HSunboy Mar 29, 2024
3ec9be2
Merge branch 'dev-4.2.4' of https://code.alipay.com/oceanbase/oceanba…
HSunboy Mar 29, 2024
ad4e9d6
PullRequest: 410 feat: DataArchiveTask (form default value change)
bluesky-xyh Mar 29, 2024
d8de1de
PullRequest: 409 fixes oceanbase/odc#2108
UnknownAdventurer Mar 30, 2024
9c31a25
feat: support remove duplicated table
HSunboy Mar 30, 2024
b821eda
PullRequest: 411 Fixes oceanbase/odc#2123
UnknownAdventurer Apr 1, 2024
e67881a
fixes oceanbase/odc#2120
HSunboy Apr 1, 2024
09ab4c2
fixes oceanbase/odc#1490
HSunboy Apr 1, 2024
244edc7
PullRequest: 408 Fixes oceanbase/odc#2038
yezaoshu Apr 1, 2024
f3a89f4
chore: oic
HSunboy Apr 1, 2024
221dd90
fix: remove unused code
HSunboy Apr 1, 2024
82dbc3e
feat: add doc url
HSunboy Apr 1, 2024
9fe5a48
chore: mds
HSunboy Apr 1, 2024
b128e3c
PullRequest: 412 fix: notification document link
UnknownAdventurer Apr 2, 2024
c81a606
PullRequest: 413 Fixes oceanbase/odc#2131
UnknownAdventurer Apr 2, 2024
720b1c1
PullRequest: 414 Fixes oceanbase/odc#2140
yezaoshu Apr 2, 2024
ff703cc
PullRequest: 415 Fixes oceanbase/odc#2144
yezaoshu Apr 2, 2024
c593c66
Merge pull request #47 from ISADBA/dev-4.2.4
HSunboy Apr 8, 2024
173cc44
Copyright
HSunboy Apr 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
"devDependencies": {
"@ant-design/icons": "^4.0.0",
"@oceanbase-odc/monaco-plugin-ob": "^0.2.2",
"@oceanbase-odc/ob-intl-cli": "^2.0.4",
"@oceanbase-odc/ob-parser-js": "^3.0.1",
"@oceanbase-odc/ob-intl-cli": "^2.0.6",
"@oceanbase-odc/ob-parser-js": "^3.0.2",
"@oceanbase-odc/ob-react-data-grid": "^3.0.10",
"@sentry/react": "^7.88.0",
"@svgr/webpack": "^6.5.1",
Expand Down
476 changes: 393 additions & 83 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/common/datasource/doris/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ const items: Record<ConnectType.DORIS, IDataSourceModeConfig> = {
task: [
TaskType.ASYNC,
TaskType.SQL_PLAN,
TaskType.DATA_DELETE,
TaskType.IMPORT,
TaskType.EXPORT,
TaskType.EXPORT_RESULT_SET,
Expand All @@ -93,6 +92,7 @@ const items: Record<ConnectType.DORIS, IDataSourceModeConfig> = {
sql: {
language: 'mysql',
escapeChar: '`',
caseSensitivity: true,
},
},
};
Expand Down
1 change: 1 addition & 0 deletions src/common/datasource/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ export interface IDataSourceModeConfig {
plEdit?: boolean;
anonymousBlock?: boolean;
supportOBProxy?: boolean;
disableTriggerSwitch?: boolean;
plRun?: boolean;
export: {
fileLimit: boolean;
Expand Down
1 change: 1 addition & 0 deletions src/common/datasource/oracle/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ const items: Record<ConnectType.ORACLE, IDataSourceModeConfig> = {
recycleBin: false,
sqlExplain: false,
sessionManage: true,
disableTriggerSwitch: true,
compile: false,
plEdit: true,
anonymousBlock: true,
Expand Down
16 changes: 16 additions & 0 deletions src/common/network/projectNotification.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright 2023 OceanBase
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

import { IResponseData } from '@/d.ts';
import {
IChannel,
Expand Down
1 change: 1 addition & 0 deletions src/common/network/sql/executeSQL.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export interface IExecuteSQLParams {
* 是否拆分执行,传空的话像等于true
*/
split?: boolean;
addROWID?: boolean;
}
export interface ISQLExecuteTaskSQL {
sqlTuple: {
Expand Down
2 changes: 1 addition & 1 deletion src/common/network/task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export async function getTaskList<T>(params: {
sort?: string;
page?: number;
size?: number;
}): Promise<IResponseData<TaskRecord<TaskRecordParameters>>> {
}): Promise<IResponseData<TaskRecord<T>>> {
const res = await request.get('/api/v2/flow/flowInstances/', {
params,
});
Expand Down
2 changes: 1 addition & 1 deletion src/component/CommonTable/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
display: flex;
align-items: center;
justify-content: space-between;
padding-bottom: 16px;
padding-bottom: 8px;
.titleContent {
font-size: 16px;
.desc {
Expand Down
2 changes: 1 addition & 1 deletion src/component/CommonTable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ const CommonTable: <RecordType extends object = any>(
}}
scroll={{
x: scroll?.x ?? DEFAULT_MIN_TABLE_WIDTH,
y: wrapperValidHeight,
y: scroll?.y ?? wrapperValidHeight,
}}
/>
</Spin>
Expand Down
6 changes: 6 additions & 0 deletions src/component/Crontab/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,15 @@
}
.content {
width: 100%;
display: grid;
grid-gap: 8px;
&.default-mode {
padding: 8px;
background: var(--background-tertraiy-color);
grid-template-columns: 120px 210px 1fr;
&.daily {
grid-template-columns: 120px 1fr;
}
}
}
.custom-editor {
Expand Down
16 changes: 4 additions & 12 deletions src/component/Crontab/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,11 @@ const Crontab = (props, ref) => {
/>
</Space>
</div>
<Space
<div
className={classnames(styles.content, {
[styles['default-mode']]: mode !== CrontabMode.custom,
[styles.daily]: dateType === CrontabDateType.daily,
})}
direction={mode === CrontabMode.custom ? 'vertical' : 'horizontal'}
>
{mode === CrontabMode.custom ? (
<>
Expand All @@ -215,19 +215,13 @@ const Crontab = (props, ref) => {
</>
) : (
<>
<Select
value={dateType}
style={{ width: 120 }}
options={dateOptions}
onChange={handleDateTypeChange}
/>
<Select value={dateType} options={dateOptions} onChange={handleDateTypeChange} />

{dateType === CrontabDateType.weekly && (
<Select
mode="multiple"
maxTagCount={2}
value={dayOfWeek}
style={{ width: 210 }}
options={weekOptions}
onChange={(value) => {
handleValueChange({
Expand All @@ -243,7 +237,6 @@ const Crontab = (props, ref) => {
mode="multiple"
maxTagCount={3}
value={dayOfMonth}
style={{ width: 210 }}
options={dayOptions}
onChange={(value) => {
handleValueChange({
Expand All @@ -258,7 +251,6 @@ const Crontab = (props, ref) => {
mode="multiple"
maxTagCount={3}
value={hour}
style={{ width: 310 }}
options={hourOptions}
onChange={(value) => {
handleValueChange({
Expand All @@ -269,7 +261,7 @@ const Crontab = (props, ref) => {
/>
</>
)}
</Space>
</div>
<Collapse
bordered={false}
expandIconPosition="end"
Expand Down
10 changes: 7 additions & 3 deletions src/component/EditorToolBar/actions/pl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import {
} from '@ant-design/icons';

import { IConStatus } from '@/component/Toolbar/statefulIcon';
import plType from '@/constant/plType';
import plType, { PLType } from '@/constant/plType';
import { PLPage } from '@/page/Workspace/components/PLPage';
import { DebugStatus } from '@/store/debug/type';
import sqlStore from '@/store/sql';
Expand Down Expand Up @@ -196,10 +196,14 @@ const plActions: ToolBarActions = {
return IConStatus.INIT;
},
isVisible(ctx: PLPage) {
if (!getDataSourceModeConfig(ctx.getSession()?.connection?.type)?.features?.plRun) {
const plSchema = ctx.getFormatPLSchema();
const isAnonymous = plSchema.plType === PLType.ANONYMOUSBLOCK;
if (
!getDataSourceModeConfig(ctx.getSession()?.connection?.type)?.features?.plRun &&
!isAnonymous
) {
return false;
}
const plSchema = ctx.getFormatPLSchema();
return plSchema.plType != plType.PKG_HEAD && plSchema.plType != plType.PKG_BODY;
},
async action(ctx: PLPage) {
Expand Down
4 changes: 3 additions & 1 deletion src/component/ErrorBoundary/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ export default class ErrorBoundary extends React.Component {
});
}
public render() {
const isChunkError = this.state.errorStack?.toString().includes('ChunkLoadError');
const isChunkError =
this.state.errorStack?.toString().includes('ChunkLoadError') ||
this.state.errorStack?.toString().includes('Loading CSS chunk');
if (isChunkError) {
return (
<Result
Expand Down
16 changes: 16 additions & 0 deletions src/component/Input/Case/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright 2023 OceanBase
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

import { removeTableQuote } from '@/util/sql';
import { getQuoteTableName } from '@/util/utils';
import { Input, InputProps } from 'antd';
Expand Down
16 changes: 16 additions & 0 deletions src/component/Input/Keymap/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright 2023 OceanBase
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

import { useControllableValue } from 'ahooks';
import { Select, Tag } from 'antd';
import React, { useMemo } from 'react';
Expand Down
16 changes: 16 additions & 0 deletions src/component/Input/Keymap/keycodemap.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright 2023 OceanBase
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

import { isMac } from '@/util/env';
import { KeyCode, KeyMod } from 'monaco-editor';

Expand Down
9 changes: 7 additions & 2 deletions src/component/Log/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

import { formatMessage } from '@/util/intl';
import { getPrefixCls } from '@/util/utils';
import { getPrefixCls, downloadFile } from '@/util/utils';
import {
CopyOutlined,
DownloadOutlined,
Expand Down Expand Up @@ -55,6 +55,7 @@ const Log: React.FC<LogProps> = ({
enableCopy = true,
enableHighLight = false,
language,
downloadUrl,
}) => {
/** 关键字 */
const [keyword, setkeyword] = useState('');
Expand Down Expand Up @@ -94,7 +95,11 @@ const Log: React.FC<LogProps> = ({
icon: <DownloadOutlined />,
text: formatMessage({ id: 'odc.component.Log.Download' }), //下载
visible: enableDownload,
onClick: () => (logData.data.length ? download(logData.data) : noop),
onClick: () => {
if (logData.data.length) {
downloadUrl ? downloadFile(downloadUrl) : download(logData.data);
}
},
},

{
Expand Down
1 change: 1 addition & 0 deletions src/component/Log/typings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ export interface LogProps {
* @description 指定日志语言类型,详见:Highlight组件语言支持情况
*/
language?: string;
downloadUrl?: string;
}

// eslint-disable-next-line
Expand Down
9 changes: 4 additions & 5 deletions src/component/Login/LoginForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export interface ILoginFormProps extends FormProps {
showAuthCode?: boolean;
showOtherLoginButton?: boolean;
ssoLoginType?: ESSOLgoinType;
ssoLoginName?: string;
authCodeImg?: string;
otherLoginProps?: any;
switchSSOLoginType?: () => void;
Expand All @@ -56,6 +57,7 @@ const Login: React.FC<ILoginFormProps> = ({
showAuthCode,
showOtherLoginButton,
ssoLoginType,
ssoLoginName,
authCodeImg,
otherLoginProps,
onAuthCodeImgChange,
Expand Down Expand Up @@ -186,7 +188,6 @@ const Login: React.FC<ILoginFormProps> = ({
<Button
htmlType="button"
loading={otherLoginProps.loading}
type="primary"
style={{ marginTop: 0 }}
block={true}
onClick={
Expand All @@ -196,12 +197,10 @@ const Login: React.FC<ILoginFormProps> = ({
}
: otherLoginProps.onFinish
}
className={classNames(`${prefix}-submit-btn`, {
[`${prefix}-submit-ldap-btn`]: ssoLoginType === ESSOLgoinType.LDAP,
})}
className={classNames(`${prefix}-submit-btn`, `${prefix}-submit-ldap-btn`)}
>
{
setting.serverSystemInfo?.ssoLoginType ||
ssoLoginName ||
formatMessage({
id: 'odc.component.Login.LoginForm.ThirdPartyLogin',
}) /*第三方登录*/
Expand Down
5 changes: 4 additions & 1 deletion src/component/Login/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export interface LoginProps extends FormProps {
showAuthCode?: boolean;
showOtherLoginButton?: boolean;
ssoLoginType?: ESSOLgoinType;
ssoLoginName?: string;
authCodeImg?: string;
onShowRegisterChange?: (isShow: boolean) => void;
onShowActivateChange?: (isShow: boolean) => void;
Expand All @@ -103,6 +104,7 @@ const Login: React.FC<LoginProps> = (props) => {
showAuthCode,
showOtherLoginButton,
ssoLoginType,
ssoLoginName,
authCodeImg,
onAuthCodeImgChange,
style = {},
Expand Down Expand Up @@ -206,7 +208,7 @@ const Login: React.FC<LoginProps> = (props) => {
/>
</>
) : isLDAPLogin ? (
<LDAPLogin switchSSOLoginType={switchSSOLoginType} />
<LDAPLogin ssoLoginName={ssoLoginName} switchSSOLoginType={switchSSOLoginType} />
) : (
<>
<img src={logo} alt="" className={`${prefix}-logo`} />
Expand All @@ -215,6 +217,7 @@ const Login: React.FC<LoginProps> = (props) => {
otherLoginProps={otherLoginProps}
locale={locale}
ssoLoginType={ssoLoginType}
ssoLoginName={ssoLoginName}
switchSSOLoginType={switchSSOLoginType}
errorMessage={alertProps?.message}
showAuthCode={showAuthCode}
Expand Down
5 changes: 0 additions & 5 deletions src/component/Manage/ResourceSelector/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@

.connectionPopover {
padding: 0;
:global {
.ant-popover-inner-content {
padding: 0;
}
}
}

.labelName {
Expand Down
Loading