a native ios client for gitbay

client ios swift

https://gitbay.org

adopt the dashboard aggregate and cursor pagination !3

merged cmc wants to merge krz/gitbay-ios:adopt-dashboard-pagination into main

cmc

Adopts the two server-side additions from krz/gitbay#40 and #41, both deployed:

  • Dashboard is one dashboard read: pinned repos (newly visible — pins were write-only over the API), open MRs, assigned issues, recent builds, repos resolved server-side. Replaces the per-repo fan-out that cost ~130 reads for 66 repos and drained the 120/min bucket at repo 64.
  • repo/issue/mr lists paginate: GitbayClient.readPage sends --limit/--cursor and decodes {items, next}; a shared PagedListModel accumulates pages, and a footer row fetches the next page as it scrolls into view. Cursors are opaque and only ever echoed back. A failed later page keeps the list and cursor for retry. Lists render in server order now — client-side re-sorting would fight keyset pagination.

82 tests green. Dashboard verified live in the app; the paged wire shape and a real cursor round-trip verified against production over SSH.

Ref #11, krz/gitbay#40, krz/gitbay#41