Skip to content

Allow date-filtered order additions across routes - #170

Merged
OziinG merged 1 commit into
mainfrom
codex/customer-notification-next
Aug 6, 2026
Merged

Allow date-filtered order additions across routes#170
OziinG merged 1 commit into
mainfrom
codex/customer-notification-next

Conversation

@OziinG

@OziinG OziinG commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • show every eligible unplanned order in the child-route Add orders dialog
  • filter by Order date or Delivery date using All, Specific date, or Date range
  • keep server-side eligibility validation aligned with the dialog

Validation

  • npm test (491 passed)
  • npm run build
  • npm run typecheck
  • git diff --check

Keep invalid route additions blocked while moving date scope into the Add orders dialog as an operator-controlled filter.

Constraint: Shopify order data remains read-only and Route membership persists only through the existing CLEVER route-group boundary.

Rejected: Reusing the entire Orders filter panel | It is tightly coupled to Orders URL and pagination state; this dialog only needs order and delivery dates.

Confidence: high

Scope-risk: moderate

Directive: Preserve the unplanned, geocoded, non-cancelled, non-delivered eligibility gate when expanding dialog filters.

Tested: npm test; npm run build; npm run typecheck; git diff --check

Not-tested: Live embedded Shopify interaction before deployment
@OziinG
OziinG merged commit 6e0125d into main Aug 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant