Commit 6729480
committed
incidents: drop orphaned mcp-incident-* CSS family
Surveyed for dead code today. Two confirmed orphans on the frontend:
The mcp-incident-* block (~210 lines covering .mcp-incidents-panel,
.mcp-incidents-header, .mcp-incidents-controls, .mcp-incidents-filter,
.mcp-incidents-list, .mcp-incidents-empty, .mcp-incident-row,
.mcp-incident-sev-{critical,high,medium,low}, .mcp-incident-time,
.mcp-incident-camera, .mcp-incident-title, .mcp-incident-status,
.mcp-incident-status-badge-{open,acknowledged,resolved,dismissed},
.mcp-incident-evidence-count, plus the mobile media query) was used
exclusively by the McpPage's AI Incident Reports panel. That panel
got removed when /incidents was promoted to its own page; I'd
intended to reuse the classes on IncidentsPage as a way to ship
fast, but the security-ops redesign supplanted them with a fully
new .incidents-* family (incidents-row, incidents-row-stripe,
incidents-sev-tag, incidents-source-chip, etc.).
Verified orphan: a grep for any of the mcp-incident* class names
across all .jsx files returns zero hits. Only the CSS file itself
held them. Deleted.
The earlier .incidents-source-badge / .incidents-source-ai /
.incidents-source-human classes (from the first IncidentsPage CSS
pass) were already overwritten when the redesign block replaced the
whole /incidents page section — so no second deletion needed there.
CC backend ruff F401 + F841 both report clean — no unused imports
or locals to chase down on that side.1 parent 9285026 commit 6729480
1 file changed
Lines changed: 0 additions & 209 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7102 | 7102 | | |
7103 | 7103 | | |
7104 | 7104 | | |
7105 | | - | |
7106 | | - | |
7107 | | - | |
7108 | | - | |
7109 | | - | |
7110 | | - | |
7111 | | - | |
7112 | | - | |
7113 | | - | |
7114 | | - | |
7115 | | - | |
7116 | | - | |
7117 | | - | |
7118 | | - | |
7119 | | - | |
7120 | | - | |
7121 | | - | |
7122 | | - | |
7123 | | - | |
7124 | | - | |
7125 | | - | |
7126 | | - | |
7127 | | - | |
7128 | | - | |
7129 | | - | |
7130 | | - | |
7131 | | - | |
7132 | | - | |
7133 | | - | |
7134 | | - | |
7135 | | - | |
7136 | | - | |
7137 | | - | |
7138 | | - | |
7139 | | - | |
7140 | | - | |
7141 | | - | |
7142 | | - | |
7143 | | - | |
7144 | | - | |
7145 | | - | |
7146 | | - | |
7147 | | - | |
7148 | | - | |
7149 | | - | |
7150 | | - | |
7151 | | - | |
7152 | | - | |
7153 | | - | |
7154 | | - | |
7155 | | - | |
7156 | | - | |
7157 | | - | |
7158 | | - | |
7159 | | - | |
7160 | | - | |
7161 | | - | |
7162 | | - | |
7163 | | - | |
7164 | | - | |
7165 | | - | |
7166 | | - | |
7167 | | - | |
7168 | | - | |
7169 | | - | |
7170 | | - | |
7171 | | - | |
7172 | | - | |
7173 | | - | |
7174 | | - | |
7175 | | - | |
7176 | | - | |
7177 | | - | |
7178 | | - | |
7179 | | - | |
7180 | | - | |
7181 | | - | |
7182 | | - | |
7183 | | - | |
7184 | | - | |
7185 | | - | |
7186 | | - | |
7187 | | - | |
7188 | | - | |
7189 | | - | |
7190 | | - | |
7191 | | - | |
7192 | | - | |
7193 | | - | |
7194 | | - | |
7195 | | - | |
7196 | | - | |
7197 | | - | |
7198 | | - | |
7199 | | - | |
7200 | | - | |
7201 | | - | |
7202 | | - | |
7203 | | - | |
7204 | | - | |
7205 | | - | |
7206 | | - | |
7207 | | - | |
7208 | | - | |
7209 | | - | |
7210 | | - | |
7211 | | - | |
7212 | | - | |
7213 | | - | |
7214 | | - | |
7215 | | - | |
7216 | | - | |
7217 | | - | |
7218 | | - | |
7219 | | - | |
7220 | | - | |
7221 | | - | |
7222 | | - | |
7223 | | - | |
7224 | | - | |
7225 | | - | |
7226 | | - | |
7227 | | - | |
7228 | | - | |
7229 | | - | |
7230 | | - | |
7231 | | - | |
7232 | | - | |
7233 | | - | |
7234 | | - | |
7235 | | - | |
7236 | | - | |
7237 | | - | |
7238 | | - | |
7239 | | - | |
7240 | | - | |
7241 | | - | |
7242 | | - | |
7243 | | - | |
7244 | | - | |
7245 | | - | |
7246 | | - | |
7247 | | - | |
7248 | | - | |
7249 | | - | |
7250 | | - | |
7251 | | - | |
7252 | | - | |
7253 | | - | |
7254 | | - | |
7255 | | - | |
7256 | | - | |
7257 | | - | |
7258 | | - | |
7259 | | - | |
7260 | | - | |
7261 | | - | |
7262 | | - | |
7263 | | - | |
7264 | | - | |
7265 | | - | |
7266 | | - | |
7267 | | - | |
7268 | | - | |
7269 | | - | |
7270 | | - | |
7271 | | - | |
7272 | | - | |
7273 | | - | |
7274 | | - | |
7275 | | - | |
7276 | | - | |
7277 | | - | |
7278 | | - | |
7279 | | - | |
7280 | | - | |
7281 | | - | |
7282 | | - | |
7283 | | - | |
7284 | | - | |
7285 | | - | |
7286 | | - | |
7287 | | - | |
7288 | | - | |
7289 | | - | |
7290 | | - | |
7291 | | - | |
7292 | | - | |
7293 | | - | |
7294 | | - | |
7295 | | - | |
7296 | | - | |
7297 | | - | |
7298 | | - | |
7299 | | - | |
7300 | | - | |
7301 | | - | |
7302 | | - | |
7303 | | - | |
7304 | | - | |
7305 | | - | |
7306 | | - | |
7307 | | - | |
7308 | | - | |
7309 | | - | |
7310 | | - | |
7311 | | - | |
7312 | | - | |
7313 | | - | |
7314 | 7105 | | |
7315 | 7106 | | |
7316 | 7107 | | |
| |||
0 commit comments