Skip to content

Add new order creation page#474

Merged
ekateluv merged 31 commits into
mainfrom
ekateluv-order-page-v2
Jul 9, 2026
Merged

Add new order creation page#474
ekateluv merged 31 commits into
mainfrom
ekateluv-order-page-v2

Conversation

@ekateluv

@ekateluv ekateluv commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Что происходит; кому и зачем нужно:

Новая страница оформления заказа (Nuxt).

  • Компоненты Customer / Fulfillment / Payment, оркестрация на pages/contents/order.vue.
  • Автоподстановка адреса и организации (DaData), виджет выбора ПВЗ СДЭК.
  • Расчёт доставки и оплаты через новый бэкенд-API (/{locale}/ng/api/v1/order/...).
  • Поле «Добавочный» рядом с телефоном для стран с доставкой СДЭК.

Что поменялось для пользователей:

  • Полностью обновлённая страница оформления заказа.
  • Поле добавочного номера появляется для стран, куда доступна доставка СДЭК (РФ, Казахстан, Беларусь, Киргизия), и скрыто для остальных.

Как проверял/а:

  • Раскатано на www-test (образ website:ekateluv-order-page-v2)

Чеклист ревью:

Перед мержем не забудь проверить:

  • правописание в тексте, опечатки

Опционально (но важно для изменений в инфраструктуру):

  • задеплоить на stage, чтобы проверить, что все работает

ninedev-i and others added 28 commits May 19, 2026 17:16
Add max-width:768px styles so customer, fulfillment, delivery/payment
selects and the finalize row stack into single/double columns instead of
overflowing on narrow screens. Desktop layout is unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Disabled inputs (auto-filled from org/address search) rendered as a
single line and clipped long organisation names and legal addresses on
narrow screens. Render them as wrapping read-only blocks instead, keeping
the field styling and floating label.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The cityRow used width:fit-content with min-width:50%, which shrank to
half width and left-aligned once the fields became read-only wrapping
blocks (short auto-filled values). Drop the fit-content/min-width so the
row spans full width like the street row.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Fix English day/days pluralization: en had no plural rule, so a 3-form message resolved to 'days' for count 1; use two forms.
- Give payer/delivery/payment radio groups stable name attributes so they form native radio groups instead of relying solely on Vue v-model.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Show 'additional' field next to phone, gated by cdekCountries
- Thread additional + cdekCountries through CustomerData/OrderInfo
- Pass cdekCountries from order page to Customer component

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ekateluv ekateluv requested review from a team as code owners June 26, 2026 09:34
@ekateluv ekateluv changed the title Новая страница оформления заказа Add new order checkout page Jun 26, 2026
@codacy-production

codacy-production Bot commented Jun 26, 2026

Copy link
Copy Markdown

Not up to standards ⛔

🔴 Issues 89 high · 7 medium · 4 minor

Alerts:
⚠ 100 issues (≤ 0 issues of at least minor severity)

Results:
100 new issues

Category Results
UnusedCode 4 medium
BestPractice 3 medium
8 high
ErrorProne 81 high
CodeStyle 4 minor

View in Codacy

🟢 Metrics 136 complexity · 0 duplication

Metric Results
Complexity 136
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@ekateluv ekateluv changed the title Add new order checkout page Add new order creation page Jun 26, 2026
Comment thread components/order/Fulfillment.vue Outdated
The pickup address linked to a single hardcoded Yandex Maps point, so
a Kazakhstan pickup opened the Russian warehouse on the map. Use the
mapUrl now returned per delivery option, falling back to plain text
when absent.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ekateluv ekateluv merged commit 89ba933 into main Jul 9, 2026
2 of 3 checks passed
@ekateluv ekateluv deleted the ekateluv-order-page-v2 branch July 9, 2026 09:17
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.

2 participants