Skip to content

Commit

Permalink
Merge pull request #158 from prometheus/dependabot/npm_and_yarn/app/r…
Browse files Browse the repository at this point in the history
…eact-icons-5.3.0

Bump react-icons from 4.6.0 to 5.3.0 in /app
  • Loading branch information
SuperQ authored Jan 2, 2025
2 parents c2beb0f + 5e6a8ad commit 35708d7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
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

0 comments on commit 35708d7

Please sign in to comment.