Collection form writes stray fields from extension panels into the collection's summaries
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- react, typescript
- Domain
- frontend
Research direction
Read app/src/components/collections/CollectionForm.tsx and the panelProperties filter in app/src/lib/stac-api/itemEdit.ts. Reuse that filtering behavior for collection summaries, then add a unit test with real panel output and verify a live browser save. Done means only extension-owned fields are saved, empty defaults are skipped, and both checks pass.
Written by the indexing model from the issue text.
Description
Found while live-testing #254. The collection edit form copies everything each extension panel reports into the collection's summaries (app/src/components/collections/CollectionForm.tsx, the Object.assign(extSummaries, props) merge). The panels report more than the extension's own fields — on the item form the same merge added type, properties, stac_extensions and empty defaults nobody typed, which made the catalog reject the save.
#254 fixes the item form with a filter that keeps only the fields an extension owns (panelProperties in app/src/lib/stac-api/itemEdit.ts) and skips empty defaults. The collection form should reuse it.
Done when: saving a collection with an extension panel writes only that extension's own fields, with a unit test using real panel output, and a live save in a browser.
🤖 Generated with Claude Code
- Dominant language
- Python
- Stars
- 0
- Forks
- 2
- Avg merge
- 8h 26m
- Merged PRs (30d)
- 47
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from TechTraverse/stac-higher
-
ci
Difficulty 1/5 Under an hour Newbie friendliness 85/100
TechTraverse/stac-higher#261 ·
Maintainers usually reply within 1 day
-
Error messages hide the server's reason: users see only '400 Bad Request'Possibly taken @aman-code-io claimed this 3 days ago. Openbug good first issue ready
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
TechTraverse/stac-higher#232 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
TechTraverse/stac-higher#225 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
TechTraverse/stac-higher#216 ·
Maintainers usually reply within 1 day
-
queue: container images (C) ready
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
TechTraverse/stac-higher#66 ·
Maintainers usually reply within 1 day
All issues in TechTraverse/stac-higher
Similar issues
-
docs(contributing): the two things that silently block a PRPossibly taken A pull request linked to this issue is open or already merged. Openavailable documentation good first issue
Difficulty 1/5 1-3 hours Newbie friendliness 95/100
Nixitov/Riptide-Native#944 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
JTHCode/secretguard#24 ·
Maintainers usually reply within 1 day
-
area: middleware documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
omarelshamy25x/shamy-hijri#63 ·
Maintainers usually reply within 1 day