Commit ac556d8
Map UX pass, Market group filter, and fleet exclusions on Assets (#20)
The map, reworked around one complaint: a search lit dots on a full-width
map and left the reader to find them by eye.
- Search never filters any more - it highlights. Non-matches recede to a
deep dim, matches glow with labels (labels back off above 40 matches so
a common ore is not a wall of text), and the view glides to frame the
matches, clamped between full-map and the centre-on zoom.
- A suggestion list under the search box offers the top place matches by
name; clicking one flies to it and opens its detail card.
- View changes animate - centre-on, reset, search-fit - and any manual pan
or wheel cancels the glide so the map never fights the user.
- Instant styled hover tooltip (name, kind, visits) instead of the native
title, flipping sides rather than clipping at the frame.
- Scenery: a deterministic starfield and dashed orbit rings through each
planet, so the disc reads as orbits rather than scattered dots.
- The search input is drawn in the HUD's materials, not the browser's.
- The map redraws once the market catalogue arrives, so a ?q= link opened
cold still resolves a commodity name.
Market gains a group dropdown next to the search, built from the groups
the catalogue actually uses.
Assets gains an Owned tick per fleet ship: the fleet is inferred from the
logs, so rentals and ships since sold appear in it - untick them and the
totals recompute. Stored per-browser; only the player knows what they own.
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>1 parent 41be5f0 commit ac556d8
3 files changed
Lines changed: 425 additions & 44 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1268 | 1268 | | |
1269 | 1269 | | |
1270 | 1270 | | |
1271 | | - | |
| 1271 | + | |
1272 | 1272 | | |
1273 | | - | |
1274 | | - | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
1275 | 1276 | | |
| 1277 | + | |
1276 | 1278 | | |
1277 | 1279 | | |
1278 | 1280 | | |
1279 | 1281 | | |
1280 | 1282 | | |
1281 | 1283 | | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
| 1290 | + | |
| 1291 | + | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
| 1297 | + | |
| 1298 | + | |
| 1299 | + | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + | |
| 1303 | + | |
| 1304 | + | |
| 1305 | + | |
| 1306 | + | |
| 1307 | + | |
| 1308 | + | |
| 1309 | + | |
| 1310 | + | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
| 1314 | + | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
| 1332 | + | |
| 1333 | + | |
| 1334 | + | |
| 1335 | + | |
| 1336 | + | |
| 1337 | + | |
| 1338 | + | |
| 1339 | + | |
| 1340 | + | |
| 1341 | + | |
| 1342 | + | |
| 1343 | + | |
| 1344 | + | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
| 1367 | + | |
1282 | 1368 | | |
1283 | 1369 | | |
1284 | 1370 | | |
| |||
0 commit comments