Skip to content

feat(ledger): list_elements include_inactive, and the schedule surface from #1922 - #278

Merged
jfrench9 merged 2 commits into
mainfrom
feature/elements-include-inactive
Oct 22, 2026
Merged

jfrench9 merged 2 commits into
mainfrom
feature/elements-include-inactive

Conversation

@jfrench9

@jfrench9 jfrench9 commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Summary

list_elements(graph_id, include_inactive=True) returns retired accounts beside the active ones, each with isActive, so roboledger-app's chart editor can list and reactivate them. Backend: robosystems #1923.

Changes

From robosystems #1923 (GraphQL):

  • ListLedgerElements.graphql takes $includeInactive: Boolean! = false; list_elements gains include_inactive. Default unchanged. Schema snapshot and codegen regenerated.

From robosystems #1922 (OpenAPI, generated tier only): the preview_schedule operation and its models: LoanTermsRequest, ScheduleLegRequest, PreviewScheduleRequest/Response, ScheduleRollForwardRow, ScheduleReplacementSummary; optional legs on the entry template, loan_terms on the schedule metadata, rebuild-schedule's editable fields, warnings on the created response, the definition on ScheduleMechanics; monthly_amount becomes optional on create.

Regenerated with OpenAPI from #1922's branch (with main merged in) and GraphQL from #1923's; the base URL is the usual http://localhost:8000.

Release

Additive: a client minor. It waits on the robosystems release that carries both #1922 and #1923; before it, the server rejects the new argument and has no preview-schedule. roboledger-app passes it on the chart page after the bump. The twin of typescript-client #294.

Testing

tests/test_ledger_client.py: list_elements sends includeInactive false by default. Ruff, basedpyright and the suite (726) pass; regenerated against the local API on #1923's branch.

🤖 Generated with Claude Code

https://claude.ai/code/session_01VPxBBHkqhwkZ6Eq8EXSBR6

`include_inactive` asks the elements read for retired accounts beside the
active ones. Default unchanged. Needs robosystems #1923; the twin of
typescript-client #294.

Claude-Session: https://claude.ai/code/session_01VPxBBHkqhwkZ6Eq8EXSBR6
…#1922

Regenerated from #1922's OpenAPI (with main merged in): the
`preview_schedule` operation, loan terms, schedule legs, the roll-forward
rows, rebuild-schedule's editable fields and the envelope's definition;
`monthly_amount` becomes optional on create. Generated tier only.

Claude-Session: https://claude.ai/code/session_01VPxBBHkqhwkZ6Eq8EXSBR6
@jfrench9 jfrench9 changed the title feat(ledger): list_elements can include retired accounts feat(ledger): list_elements include_inactive, and the schedule surface from #1922 Oct 22, 2026
@jfrench9
jfrench9 merged commit a7e9313 into main Oct 22, 2026
6 checks passed
@jfrench9
jfrench9 deleted the feature/elements-include-inactive branch October 22, 2026 04:34
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