Skip to content

Merge My vehicles/trains into Available catalogues - #57

Merged
keskad merged 2 commits into
masterfrom
feat/merge-my-into-available-catalogues
Aug 7, 2026
Merged

Merge My vehicles/trains into Available catalogues#57
keskad merged 2 commits into
masterfrom
feat/merge-my-into-available-catalogues

Conversation

@keskad

@keskad keskad commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Collapse separate „Moje” catalogues into Dostępne pojazdy/składy under /my/vehicles and /my/trains (with /fleet/* redirects); remove the Tabor menu section.
  • Add toolbar: Odśwież, Dodaj, „Pokaż tylko moje” (default on); vehicles also get kind/epoch filters, epoch chip, and labeled row actions including Edytuj funkcje.
  • Drop owned-only GET /api/v1/vehicles and GET /api/v1/trains (and ListOwned / vehicle-train ListByOwner); UI uses catalogue endpoints only.

Test plan

  • Menu Moje shows Dostępne pojazdy/składy; Tabor is gone; /fleet/vehicles and /fleet/trains redirect to /my/*
  • Vehicles: mine-only default, kind/epoch filters, refresh/add, epoch chip when set, labeled actions including functions for owner/admin
  • Trains: mine-only, refresh/add, labeled actions; TrainDialog member picker still works (own vehicles / train owner when editing)
  • Help FAB still opens myVehicles/myTrains content on /my/vehicles and /my/trains
  • Confirm GET /api/v1/vehicles and GET /api/v1/trains return 404; catalogue/CRUD still work

Made with Cursor

keskad and others added 2 commits August 7, 2026 22:01
Collapse fleet catalogues under Moje with mine-only filter, kind/epoch
filters, labeled row actions, and drop owned-only GET endpoints.

Co-authored-by: Cursor <cursoragent@cursor.com>
Use source catalogue size so mine/kind/epoch filters no longer claim
nothing is registered; copy points users at changing filters.

Co-authored-by: Cursor <cursoragent@cursor.com>
@keskad
keskad merged commit 9cc94d8 into master Aug 7, 2026
3 checks passed
@keskad
keskad deleted the feat/merge-my-into-available-catalogues branch August 7, 2026 20:16
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