Add warning indicator and language mode to StatusBar component
This commit is contained in:
@@ -46,6 +46,27 @@ const StatusBar = ({ togglePanel, panelVisible }) => {
|
|||||||
<span>0 errors</span>
|
<span>0 errors</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{/* Warning Indicator */}
|
||||||
|
<div className="status-item">
|
||||||
|
<svg
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
width="16"
|
||||||
|
height="16"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
fill="none"
|
||||||
|
stroke="currentColor"
|
||||||
|
strokeWidth="2"
|
||||||
|
strokeLinecap="round"
|
||||||
|
strokeLinejoin="round"
|
||||||
|
aria-label="Warning Icon"
|
||||||
|
>
|
||||||
|
<path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"></path>
|
||||||
|
<line x1="12" y1="9" x2="12" y2="13"></line>
|
||||||
|
<line x1="12" y1="17" x2="12.01" y2="17"></line>
|
||||||
|
</svg>
|
||||||
|
<span>0 warnings</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
{/* Toggle Terminal Button */}
|
{/* Toggle Terminal Button */}
|
||||||
<button
|
<button
|
||||||
className="status-item status-button"
|
className="status-item status-button"
|
||||||
@@ -73,6 +94,16 @@ const StatusBar = ({ togglePanel, panelVisible }) => {
|
|||||||
<span>UTF-8</span>
|
<span>UTF-8</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{/* Language Mode */}
|
||||||
|
<div className="status-item">
|
||||||
|
<span>JavaScript</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* EOL (End of Line) Indicator */}
|
||||||
|
<div className="status-item">
|
||||||
|
<span>LF</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
{/* Connection Status */}
|
{/* Connection Status */}
|
||||||
<div className="status-item">
|
<div className="status-item">
|
||||||
<svg
|
<svg
|
||||||
|
|||||||
Reference in New Issue
Block a user