fix
This commit is contained in:
31
frontend/.dockerignore
Normal file
31
frontend/.dockerignore
Normal file
@@ -0,0 +1,31 @@
|
||||
.DS_Store
|
||||
|
||||
.pnp
|
||||
.pnp.js
|
||||
.env.local
|
||||
.env.*.local
|
||||
.history
|
||||
*.log*
|
||||
|
||||
node_modules/
|
||||
.yarn-integrity
|
||||
.pnpm-store/
|
||||
*.tsbuildinfo
|
||||
.eslintcache
|
||||
.changeset/pre.json
|
||||
|
||||
dist/
|
||||
coverage/
|
||||
release/
|
||||
output/
|
||||
output_resource/
|
||||
log/
|
||||
|
||||
.vscode/**/*
|
||||
!.vscode/settings.json
|
||||
!.vscode/extensions.json
|
||||
.idea/
|
||||
|
||||
**/*/typings/auto-generated
|
||||
|
||||
modern.config.local.*
|
||||
@@ -17,10 +17,10 @@ import _ from 'lodash';
|
||||
// fakeAgentSelections,
|
||||
// fakeCurrentAgentSelection,
|
||||
// } from './data/fakeAgentAssignment';
|
||||
import CheckIcon from '@/icons/checkIcon';
|
||||
import CheckIcon from '@/icons/CheckIcon';
|
||||
import AgentIcon from '@/components/AgentIcon';
|
||||
import { globalStorage } from '@/storage';
|
||||
import SendIcon from '@/icons/sendIcon';
|
||||
import SendIcon from '@/icons/SendIcon';
|
||||
|
||||
const HtmlTooltip = styled(({ className, ...props }: TooltipProps) => (
|
||||
<Tooltip {...props} classes={{ popper: className }} />
|
||||
|
||||
@@ -18,7 +18,7 @@ import {
|
||||
usePlanModificationContext,
|
||||
} from './context';
|
||||
import { IPlanTreeNode, globalStorage } from '@/storage';
|
||||
import SendIcon from '@/icons/sendIcon';
|
||||
import SendIcon from '@/icons/SendIcon';
|
||||
|
||||
const RequirementNoteNode: React.FC<{
|
||||
data: {
|
||||
|
||||
@@ -235,7 +235,12 @@ export default observer(
|
||||
() =>
|
||||
importantLineRects
|
||||
.sort((a, b) => {
|
||||
return a.to === b.to ? 0 : a.to === actionIsHovered ? 1 : -1;
|
||||
// eslint-disable-next-line no-nested-ternary
|
||||
return a[0].to === b[0].to
|
||||
? 0
|
||||
: a[0].to === actionIsHovered
|
||||
? 1
|
||||
: -1;
|
||||
})
|
||||
.map(([line, from, to]) => {
|
||||
const key = `${line.from}.${line.to}`;
|
||||
|
||||
@@ -17,7 +17,7 @@ import {
|
||||
useTaskModificationContext,
|
||||
} from './context';
|
||||
import { IAgentActionTreeNode, globalStorage } from '@/storage';
|
||||
import SendIcon from '@/icons/sendIcon';
|
||||
import SendIcon from '@/icons/SendIcon';
|
||||
import { ActionType } from '@/storage/plan';
|
||||
|
||||
const RequirementNoteNode: React.FC<{
|
||||
|
||||
@@ -9,7 +9,7 @@ interface CustomIconProps {
|
||||
}
|
||||
|
||||
// 创建你的自定义SVG图标组件
|
||||
const checkIcon: React.FC<CustomIconProps> = ({
|
||||
const CheckIcon: React.FC<CustomIconProps> = ({
|
||||
size = '100%',
|
||||
color = 'currentColor',
|
||||
}) => {
|
||||
@@ -30,4 +30,4 @@ const checkIcon: React.FC<CustomIconProps> = ({
|
||||
);
|
||||
};
|
||||
|
||||
export default checkIcon;
|
||||
export default CheckIcon;
|
||||
|
||||
Reference in New Issue
Block a user