Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dinky
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangpeng
dinky
Commits
662c0d46
Unverified
Commit
662c0d46
authored
Apr 11, 2024
by
gaoyan
Committed by
GitHub
Apr 11, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Optmization]Remove automatic Console popup when switching tasks (#3385)
Co-authored-by:
gaoyan1998
<
gaoyan1998@users.noreply.github.com
>
parent
e30f4bc6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
14 deletions
+1
-14
index.tsx
...-web/src/pages/DataStudio/LeftContainer/Project/index.tsx
+1
-14
No files found.
dinky-web/src/pages/DataStudio/LeftContainer/Project/index.tsx
View file @
662c0d46
...
@@ -18,7 +18,6 @@
...
@@ -18,7 +18,6 @@
*/
*/
import
RightContextMenu
from
'@/components/RightContextMenu'
;
import
RightContextMenu
from
'@/components/RightContextMenu'
;
import
{
LeftBottomKey
}
from
'@/pages/DataStudio/data.d'
;
import
{
getTabByTaskId
}
from
'@/pages/DataStudio/function'
;
import
{
getTabByTaskId
}
from
'@/pages/DataStudio/function'
;
import
{
useTasksDispatch
}
from
'@/pages/DataStudio/LeftContainer/BtnContext'
;
import
{
useTasksDispatch
}
from
'@/pages/DataStudio/LeftContainer/BtnContext'
;
import
{
import
{
...
@@ -26,10 +25,7 @@ import {
...
@@ -26,10 +25,7 @@ import {
JOB_RIGHT_MENU
JOB_RIGHT_MENU
}
from
'@/pages/DataStudio/LeftContainer/Project/constants'
;
}
from
'@/pages/DataStudio/LeftContainer/Project/constants'
;
import
FolderModal
from
'@/pages/DataStudio/LeftContainer/Project/FolderModal'
;
import
FolderModal
from
'@/pages/DataStudio/LeftContainer/Project/FolderModal'
;
import
{
import
{
getRightSelectKeyFromNodeClickJobType
}
from
'@/pages/DataStudio/LeftContainer/Project/function'
;
getBottomSelectKeyFromNodeClickJobType
,
getRightSelectKeyFromNodeClickJobType
}
from
'@/pages/DataStudio/LeftContainer/Project/function'
;
import
JobModal
from
'@/pages/DataStudio/LeftContainer/Project/JobModal'
;
import
JobModal
from
'@/pages/DataStudio/LeftContainer/Project/JobModal'
;
import
JobTree
from
'@/pages/DataStudio/LeftContainer/Project/JobTree'
;
import
JobTree
from
'@/pages/DataStudio/LeftContainer/Project/JobTree'
;
import
{
import
{
...
@@ -39,7 +35,6 @@ import {
...
@@ -39,7 +35,6 @@ import {
STUDIO_MODEL
,
STUDIO_MODEL
,
STUDIO_MODEL_ASYNC
STUDIO_MODEL_ASYNC
}
from
'@/pages/DataStudio/model'
;
}
from
'@/pages/DataStudio/model'
;
import
{
LeftBottomMoreTabs
}
from
'@/pages/DataStudio/route'
;
import
{
import
{
handleAddOrUpdate
,
handleAddOrUpdate
,
handleOption
,
handleOption
,
...
@@ -149,14 +144,6 @@ const Project: React.FC = (props: connect) => {
...
@@ -149,14 +144,6 @@ const Project: React.FC = (props: connect) => {
type
:
STUDIO_MODEL
.
updateSelectRightKey
,
type
:
STUDIO_MODEL
.
updateSelectRightKey
,
payload
:
getRightSelectKeyFromNodeClickJobType
(
type
)
payload
:
getRightSelectKeyFromNodeClickJobType
(
type
)
});
});
const
bottomKey
=
getBottomSelectKeyFromNodeClickJobType
(
type
);
dispatch
({
type
:
STUDIO_MODEL
.
updateSelectBottomKey
,
payload
:
bottomKey
});
if
(
bottomKey
===
LeftBottomKey
.
TOOLS_KEY
)
{
dispatch
({
type
:
STUDIO_MODEL
.
updateSelectBottomSubKey
,
payload
:
LeftBottomMoreTabs
[
bottomKey
][
0
].
key
});
}
}
}
dispatch
({
dispatch
({
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment