Skip to content

feat(cards): add card-table resources (tables, columns, cards) [*]#3

Merged
schmunk42 merged 1 commit into
masterfrom
feature/card-tables
Jun 26, 2026
Merged

feat(cards): add card-table resources (tables, columns, cards) [*]#3
schmunk42 merged 1 commit into
masterfrom
feature/card-tables

Conversation

@schmunk42

Copy link
Copy Markdown
Member

Add CardTablesResource, ColumnsResource and CardsResource plus the Bc4Client::cardTables()/columns()/cards() accessors.

CardsResource::getAllInProject() resolves a project's card table via the kanban_board dock entry, walks every column and enriches each card with its card_table { id, title } and column { id, title, type } — mirroring TodosResource::getAllInProject() for classic todolists. It returns an empty array when the project has no enabled card table.

CardsResource::get() loads a single card and resolves its parent column and card table so single-record sync matches the scan output.

Add CardTablesResource, ColumnsResource and CardsResource plus the
Bc4Client::cardTables()/columns()/cards() accessors.

CardsResource::getAllInProject() resolves a project's card table via the
kanban_board dock entry, walks every column and enriches each card with
its card_table { id, title } and column { id, title, type } — mirroring
TodosResource::getAllInProject() for classic todolists. It returns an
empty array when the project has no enabled card table.

CardsResource::get() loads a single card and resolves its parent column
and card table so single-record sync matches the scan output.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@schmunk42 schmunk42 merged commit 92506ed into master Jun 26, 2026
2 checks passed
@schmunk42 schmunk42 deleted the feature/card-tables branch June 26, 2026 22:07
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