Skip to content

Commit fbcc22c

Browse files
dadachiclaude
andcommitted
Update CHANGELOG for Phase 1 substrate v2 refactor (#45)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent c43d015 commit fbcc22c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44

55
## 2026-05-02
66

7+
- Phase 1: Rails API substrate v2 refactor (#45) — turn queue-specific template into generic single-resource CRUD substrate (Shop → ItemTag)
8+
- Rename `ItemTag.queue_number``name`; add `description`, `position`, composite `(shop_id, position)` index; drop `scan_state`, `customer_read_at`, `already_completed` and the `(shop_id, queue_number)` unique index
9+
- Drop NFC/QR scan flows: remove `POST /scan`, `GET /scan_customer`, the entire `display/` namespace, `DELETE /shops/:id/reset`, app root + static controller
10+
- Rename `PATCH /item_tags/:id/reset``/idle` (matches AASM event name)
11+
- Auto-create one "Sample" ItemTag on Shop creation (was 10 A001–A010 queue numbers); drop `lib/tasks/shop.rake`
12+
- Collapse `AccountsShopkeeper::ROLES` from 7 tiers (admin/senior_manager/junior_manager/senior_member/junior_member/guest) to 2 (admin/member); `ItemTagPolicy` resolves to Shop permissions
13+
- Inline state transitions and `completed_by`/`completed_at` writes in controller actions; drop `scan_tag!`/`complete_tag!`/`reset!` model methods
14+
- Regenerate `docs/openapi.yaml`; refresh brakeman.ignore fingerprint; update locales and Madmin resources
715
- Update gems within Gemfile constraints (bigdecimal, bootsnap, erb, ffi, irb, json, minitest, net-imap, nokogiri, pagy, parallel, parser, propshaft, puma, regexp_parser, rubocop, rubocop-ast, tailwindcss-ruby)
816

917
## 2026-03-10

0 commit comments

Comments
 (0)