feat(import): materialize Trello image card covers - #617
Draft
bionicman wants to merge 13 commits into
Draft
Conversation
bionicman
added a commit
to habralab/kan
that referenced
this pull request
Sep 11, 2026
Index newly created cards by Trello source ID per list so image-cover materialization does not repeatedly scan the accumulated card array on large imports. Downstream-Source-Branch: feat/trello-image-cover-import Downstream-Source-Base: 936875d37d08d6ebd67616f6b772f82e0b7822db Downstream-Source-Tip: 9e8bbea Upstream-PR: kanbn#617
bionicman
marked this pull request as draft
September 11, 2026 00:57
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This is a focused follow-up to #605 and should be merged after it.
#605 preserves Trello cover colours and normal/full size, but deliberately
leaves selected image ingestion out of scope. This PR fills that gap:
response;
making per-card metadata requests;
validated redirects, timeout, byte and decoded-pixel limits;
the existing responsive cover previews;
inventing historical card activity;
Trello colour fallback or continue without a cover instead of aborting the
whole board import.
Remote Trello URLs and credentials are not stored, and authorization is never
forwarded to a redirected host. I exercised the importer against two live
Trello boards locally; it materialised all 14 selected image covers found in
that sample. The same patch is now running in our downstream deployment.
This is currently a stacked PR, so GitHub will also show the parent #605
commits until that PR lands. The follow-up itself is the single
feat(import): materialize Trello image card coverscommit.Verification
rollback
Type of change
Checklist
changes)
Linked issue
Part of #155. Depends on #605.