Skip to content

UI polish: de-duplicated fit-detail categories, chip-based doctrine picker, My Ships tab - #130

Merged
TrueMessenger merged 1 commit into
mainfrom
feat/ui-polish-chips-myships
Jul 8, 2026
Merged

TrueMessenger merged 1 commit into
mainfrom
feat/ui-polish-chips-myships

Conversation

@TrueMessenger

Copy link
Copy Markdown
Owner

Summary

  • Fit detail: doctrine category badges are computed once per fit (union of the fit's own categories and every doctrine's categories, de-duped by pk, sorted by name) and rendered in a single combined row below the doctrine chips, instead of being repeated after every doctrine chip that carries them.
  • Test a Fit: the doctrine grading picker is now a row of toggle chips (Bootstrap .btn-check driving the existing .fc-chip look) instead of a plain checkbox list. Selection is shown by both fill color and a check icon, not color alone.
  • Pilot Fittings: "My Ships" is promoted to its own top-level nav tab; the hub's jump button is relabelled to match, and the redundant "Connect ESI access" button is removed from the hub (the per-character ESI prompt on the My Ships page itself is unchanged).

Test plan

  • manage.py test fitcheck - 716 tests pass
  • manage.py check - clean
  • manage.py makemigrations fitcheck --check --dry-run - no missing migrations
  • Added a test asserting the fit_detail view's fit_categories context is deduped and ordered by name
  • Updated ESI-visibility tests that asserted the old hub-level "Connect ESI access" button

…ps tab

Fit detail: doctrine category badges were repeated once per doctrine chip
that carried them; the categories loop is removed from the chip row and
replaced with a single combined row below it, computed from the union of
the fit's own directly-assigned categories and every category of every
doctrine the fit belongs to (de-duped by pk, sorted by name).

Test a Fit: the doctrine grading picker is now a row of toggle chips
(Bootstrap .btn-check driving the existing .fc-chip look via a sibling
selector) instead of a plain checkbox list, matching the chip styling used
elsewhere. The filled state and a check icon both signal selection so the
state isn't color-only.

Pilot Fittings: "My Ships" (the ship-inventory audit) is promoted from a
hub button to its own top-level tab, and the hub's jump button is
relabelled to match. The redundant "Connect ESI access" button is removed
from the hub - the per-character prompt on the My Ships page itself is
already the actionable surface for that.
@TrueMessenger
TrueMessenger merged commit af8dfdd into main Jul 8, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant