feat: add pets shopping category #8

Merged
exler merged 1 commit from feat/pet-shopping-category into main 2026-11-12 21:52:01 +01:00
Collaborator

Summary

  • Add the pets shopping/ingredient category, shown as Zwierzęta in Polish, with a paw icon.
  • Add dog treats, dog food and dog toys autosuggestions with the requested exact Polish labels: Smaczki dla psa, Karma dla psa, Zabawki dla psa.
  • Move existing Cat treats and Pet food catalog suggestions to Pets.
  • Add a Django model-state migration for the new choices. The migration produces no database SQL/schema change.

Verification

  • env -u PYTHONPATH DJANGO_SECRET_KEY=ci-not-secret uv run python manage.py test — 57 passed.
  • env -u PYTHONPATH PATH=/home/exler/.bun/bin:$PATH node --test tests/browser/*.test.mjs — 62 passed, including a real Chromium autosuggestion/select/category/group regression.
  • GNU msgfmt --check-format on the Polish catalog in the Dockerfile's Python 3.13 image — passed.
  • makemigrations --check --dry-run — no changes; sqlmigrate core 0011 reports both category choice alterations as no-ops.
  • Ruff passed for all changed Python source and migration files; repo-wide Ruff still reports five existing E501 violations in unchanged older migrations.
  • git diff --check — passed.
## Summary - Add the `pets` shopping/ingredient category, shown as **Zwierzęta** in Polish, with a paw icon. - Add dog treats, dog food and dog toys autosuggestions with the requested exact Polish labels: **Smaczki dla psa**, **Karma dla psa**, **Zabawki dla psa**. - Move existing `Cat treats` and `Pet food` catalog suggestions to Pets. - Add a Django model-state migration for the new choices. The migration produces no database SQL/schema change. ## Verification - `env -u PYTHONPATH DJANGO_SECRET_KEY=ci-not-secret uv run python manage.py test` — 57 passed. - `env -u PYTHONPATH PATH=/home/exler/.bun/bin:$PATH node --test tests/browser/*.test.mjs` — 62 passed, including a real Chromium autosuggestion/select/category/group regression. - GNU `msgfmt --check-format` on the Polish catalog in the Dockerfile's Python 3.13 image — passed. - `makemigrations --check --dry-run` — no changes; `sqlmigrate core 0011` reports both category choice alterations as no-ops. - Ruff passed for all changed Python source and migration files; repo-wide Ruff still reports five existing E501 violations in unchanged older migrations. - `git diff --check` — passed.
[verified] Add pets shopping category and suggestions
All checks were successful
CI / test (pull_request) Successful in 5m38s
CI / push (pull_request) Has been skipped
CI / test (push) Successful in 5m49s
CI / push (push) Successful in 1m34s
908340a899
exler merged commit 908340a899 into main 2026-11-12 21:52:01 +01:00
exler deleted branch feat/pet-shopping-category 2026-11-12 21:52:01 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
exler/hearth!8
No description provided.