Category description and image (#39) #41
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MassiveDynamic/kataba!41
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/39-category-description-image"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #39. Both fields are in v1.
Summary
Shared image module, now used by Cover Image and Category Image:
GLOSSARY gets "Category Image"; ADR-0005 and ADR-0006 get a line each.
Evidence
Category.description/Category.image.After:
e2e/categories.spec.tspasses:categoryImageAccess(4 tests),CategoryListingtiles (2 tests); 268/268 unit tests, typecheck and lint green.authoring.spec/access.specsometimes fail in parallel with "Transaction failed due to a write conflict or a deadlock" on the step/guide row locks; reproduced with the new spec excluded.Merge Danger
Door: two-way, nearly
The migration drops
Category.image, which nothing ever wrote, so no data is lost; rolling back means a reverse migration.Blast Radius: moderate
Cover image editing and upload now run through the shared
SingleImageEditor/storeReplacingImage(behaviour unchanged, but no E2E covers cover images). The media route now also looks upCategoryImage. Open: submitting the category form before Editor.js has loaded saves an empty description (same asGuideFormtoday).🤖 Generated with Claude Code