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

Bump react-icons from 4.6.0 to 5.3.0 in /app #158

Merged
merged 2 commits into from
Jan 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
14 changes: 7 additions & 7 deletions app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"react-dnd-html5-backend": "^11.1.3",
"react-dom": "^17.0.2",
"react-hotkeys": "^2.0.0",
"react-icons": "^4.1.0",
"react-icons": "^5.3.0",
"react-redux": "^7.2.4",
"react-resize-detector": "^6.7.2",
"react-scripts": "^4.0.3",
Expand Down
10 changes: 5 additions & 5 deletions app/src/PromLens/QueryList/QueryView/NodeContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { FaSpinner, FaPlus, FaTimes, FaMinus, FaChild } from 'react-icons/fa';
import { AiFillEdit, AiOutlineWarning } from 'react-icons/ai';
import { CgOptions } from 'react-icons/cg';

import { GoPrimitiveDot } from 'react-icons/go';
import { GoDotFill } from 'react-icons/go';

import ASTNode, { nodeType } from '../../../promql/ast';
import serializeNode from '../../../promql/serialize';
Expand Down Expand Up @@ -318,16 +318,16 @@ const NodeContainer: FC<NodeContainerOwnProps & NodeContainerStateProps & NodeCo
case NodeQueryStatus.NodeIncomplete:
return (
<>
<GoPrimitiveDot className="ast-query-icon" color="orange" title="Please fill out missing child nodes" />{' '}
<GoDotFill className="ast-query-icon" color="orange" title="Please fill out missing child nodes" />{' '}
<span className="ast-node-child-query-error-message">Please fill out missing child nodes</span>
</>
);
case NodeQueryStatus.Running:
return <GoPrimitiveDot className="ast-query-icon" color="#ccc" title="Waiting for child query to complete" />;
return <GoDotFill className="ast-query-icon" color="#ccc" title="Waiting for child query to complete" />;
case NodeQueryStatus.Error:
return (
<>
<GoPrimitiveDot className="ast-query-icon" color="orange" title="Blocked on child query error" />{' '}
<GoDotFill className="ast-query-icon" color="orange" title="Blocked on child query error" />{' '}
<span className="ast-node-child-query-error-message">Blocked on child query error</span>
</>
);
Expand All @@ -341,7 +341,7 @@ const NodeContainer: FC<NodeContainerOwnProps & NodeContainerStateProps & NodeCo
if (node.queryState.status === NodeQueryStatus.Error) {
return (
<>
<GoPrimitiveDot className="ast-query-icon" color="#a31515" title={node.queryState.error} />{' '}
<GoDotFill className="ast-query-icon" color="#a31515" title={node.queryState.error} />{' '}
<span className="ast-node-query-error-message">{node.queryState.error}</span>
</>
);
Expand Down
Loading