gora.journal
i. log · updated on Mondays

What I’m doing now.

A development log of my projects: what I rewrote, fixed or shipped. Codenames instead of client repository names. No line counts and no commit lists — only changes a user saw or that changed something inside.

Written in Russian and translated each week. Russian original →RSS feed →

  1. Week XLV

    · November 2–8, 2026
    Atlas
    • Sorting by range now works — the key is the first number instead of concatenated digits.
    • Catalog sync from the hub: the main section of the copies is updated together with the set of sections.
    • The home page description in three languages is back to the October 28 version, title and H1 untouched.
    • Non-existent products and brands return 404 instead of 200 with noindex.
    • Addresses with a dot now return 404, not 500: /security.txt, /wp-login.php, /.env and the like.
    • Three Umami events: checkout start, click on WhatsApp and Telegram.
    • Blog and FAQ images are sized to their display size, the article cover loads first.
    • The text edit date (dateModified, lastmod) is now the day of the edit, not the day of the deploy.
    • All 85 text replacements in ES, 79 in RU, 77 in EN — contradictions on the site removed.
    • Sitemap: a shrink of more than 5% is accepted only by time, not by the number of regenerations.
    • Blog and FAQ tiles — a positioned parent (position: relative) for the images.
    • og:type product on the product card, og:url = canonical address (on a copy — the address of the main one).
    • Reviews in the Reviews tab are now in the server HTML, not only in the browser API.
    • Price in JSON-LD = the price of the default variant, not the minimum among available ones.
    • Offer: no return policy, no shippingDetails, no price expiry (priceValidUntil).
    • Links to product cards use the canonical address, hreflang removed on copies.
    • Pagination: page numbers and arrows are ?page=N links without filters.
    • Sitemap: empty brands removed, on a catalog failure — the previous version.
    • Sitemap: honest lastmod (day of the text or JSON-LD edit), not the moment of the request.
    • Sitemap: home page hreflang /ru and /es without a trailing slash, x-default on all addresses.
    • /index.html → 308 to the home page instead of 500.
    • Catalog on API failure: 503 + Retry-After instead of 500 and an empty shelf.
  2. Week XLIV

    · October 26 – November 1, 2026
    Atlas
    • Removed dead delivery fields from the admin panel (zone rates and Express/Same Day prices were not read by orders).
    • Google Places API (New) instead of the old one for reviews on the home page. The old one did not return the card.
    • Second Twilio voice line number for calls, WhatsApp stays on the old number.
  3. Week XLIII

    · October 19–25, 2026
    Atlas
    • The customer can ask for a dispatcher while the driver is on the order. Everyone sees the message.
    • The driver calls from an anonymous number. We show the customer "may call from a local number".
    • Zone stats: delivered orders and the 30-day median for each of the 16 zones.
    • Customer lookup by the last 7 digits of the number.
    • Customer chat on top of their own order + a new-message banner for the driver on delivery.
    • Tracking returns driverProximity instead of an empty map when the warehouse is close.
    • A satellite zone gets a copy at the hub on creation, not only on edit.
    • The voice bot on ElevenLabs answers like the WhatsApp bot: it changes orders, searches, remembers.
    • An edit to the order contents after the receipt goes to the dispatcher bot and as a warning in the mini app.
    • A health check of the sales bots for monitoring + passive Telegram nick.
  4. Week XLII

    · October 12–18, 2026
    Atlas
    • The API cache returned namespace `undefined:`; the map and ETA see the location from Telegram.
    • In the dispatcher, an order in transit shows an Undo Pickup hint instead of the Unassign button.
    • Product categories in the admin are sorted alphabetically, like brands.
  5. Week XL

    · September 28 – October 4, 2026
    Atlas
    • A complaint about a delivered order goes to the store's dispatchers within a 48-hour window (S2 §14.7).
    • Customer profile in resolve-phone: first name, last name, email, phones, registration, wallet, points (S2 §17).
    • The bot changes a placed order itself: items, address, time, cancellation after the customer's "yes" (S2 §15).
  6. Week XXXIX

    · September 21–27, 2026
    Atlas
    • SMS Forwarder passes messages that arrive on the driver's number to the platform, raw_body byte for byte.
    • The satellite copies all product sections, not just the main one. Some delivery zones saw the hub's listing and empty sections.
    • A brand storefront without products does not inherit the hub's flags. Two storefronts showed someone else's settings as their own.
  7. Week XXXVIII

    · September 14–20, 2026
    Atlas
    • Masked calls customer ↔ driver. Numbers from a Twilio pool, a gate on order status, a switch in the admin and buttons on every surface.
    • Cart transfer when switching stores within a group. The storefront now keeps the items instead of clearing them, and the dialog tells the truth about what is lost.
    • The checkout funnel sees client-side rejections. The server tells why the order did not go through — ZIP in another zone, store closed, no delivery.
  8. Week XXXVII

    · September 7–13, 2026
    Atlas
    • Payments: a 45-minute payment window instead of 30, a cash button in checkout, payment banners.
    • A dispatcher-to-store access grid. The admin sets visibility and a default store per person.
    • Index on driver_id + delivered_at in orders. The seq scan on every poll of the driver screen is gone.
  9. Week XXXVI

    · August 31 – September 6, 2026
    Atlas
    • Three order timestamps before pickup in S2. The bot now answers the question "when?" instead of staying silent.
    • Payments: matching the transfer and recording the money happen in one transaction. The gap between them is no longer visible.
    • A deleted product no longer comes back to life in the cart. Cleanup of the merge bucket and a signal on a silent write.
  10. Week XXXV

    · August 24–30, 2026
    Atlas
    • Order contents in S2: itemId, name, variant. Resolved by contact_phone.
    • Multistore: scoping of money records, login attribution, an "all stores" mode in the API stats.
    • The satellite inherits the hub's promo settings. Affiliate works across the whole system.
  11. Week XXXIV

    · August 17–23, 2026
    Atlas
    • The satellite fulfills the order itself, without handing it to the hub. An honest list of missing items instead of a silent handoff.
    • The customer's store resolver was ported into a package. The storefront and the mini app read the contract from one source.
    • The dispatcher picks the working store on the server. The choice lives in users.active_store_id, not in localStorage.
  12. Week XXXIII

    · August 10–16, 2026
    Atlas
    • BOM: a recipe is now a list of ingredients, OCC by composition fingerprint, multiple materials per variant.
    • Hub-spoke: stages 1–6 closed, 404 fail-closed, cart gate, SEO containment, store switch confirmation.
    • Bots and delivery: stricter account linking through a shared contact, the gate opens when the bot is silent, the driver must have live location sharing on.
  13. Week XXXII

    · August 3–9, 2026
    Atlas
    • The driver's live location now reaches the ETA calculation. Three bugs: the channel was silent in aiogram, the point disappeared too early, the gate asked the wrong system.
    • Location sharing now asks for indefinite mode instead of 8 hours. Shifts are often longer, and a cutoff mid-delivery killed the live arrival time.
    • The driver-approaching SMS and the tracking page now show the same number. Before: a random text from 98 templates promised 4–7 minutes regardless of reality.
  14. Week XXXI

    · July 27 – August 2, 2026
    Atlas
    • Display Order no longer reverts drag-and-drop. applySorting put sortBoost DESC before cdo_sort.
    • Driver Report split cash into two columns: To wallet and Owner's cash instead of a single total.
    • Lot cost price now reaches the product card. products.cost_price was written only by the operator, the warehouse didn't touch it.
  15. Week XXX

    · July 20–26, 2026
    Atlas
    • The cart now takes its item snapshot inside the sync queue, not before it. Guest→account merge works without data loss on retries and network drops.
    • Warehouse: the recipe now ties the produced quantity to the consumed one. Before, the operator could create unlimited finished goods by hand.
    • Badges: REORDER is now visible (threshold 5/0.4), JUST IN no longer sticks on old products. Delivery slots: removed an off-by-one on time zone shifts.
  16. Week XXIX

    · July 13–19, 2026
    Atlas
    • Twilio in checkout-OTP as primary, WAHA as fallback. SMS verification is mandatory before delivery.
    • Payments: a durable ledger for shared receiving addresses, a final check before expiry, no payment method change after a partial payment.
    • Signup: CAPTCHA + geo-allowlist instead of a prefix blocklist, grandfathering for existing numbers.
  17. Week XXVIII

    · July 6–12, 2026
    Atlas
    • Auto-fill of raw material grams in production from the product weight. The operator no longer enters it by hand.
    • Nominatim fallback for address autocomplete when Google Maps is unavailable.
  18. Week XXVII

    · June 29 – July 5, 2026
    Atlas
    • Payments: each incoming payment is bound to one specific transaction and credited once.
    • A cancelled order is no longer marked as paid, the invoice expires on cancellation.
    • Customer↔driver chat in the Telegram mini app and on the checkout/tracking pages, no DB migrations.
    • Age verification is now on all routes, not just the homepage.
    • Cashback and referral bonuses are credited on delivery, not on order creation.
    • Live Ops panel: real-time checkout/login/registration errors, orders, visits and system health.
    • Delivery by post without a courier: payment cycle, snapshot of payment details, gate on store.settings.
    • Driver Report now shows every payment type in the breakdown, not only in Sales.
  19. Week XXVI

    · June 22–28, 2026
    Atlas
    • The dispatcher sees the delivery date next to the slot time. Scheduled orders now show YYYY-MM-DD, not just 10:00-11:00.
    • The Deals category is now automatic: a product appears when it gets a discount and disappears when the discount is removed. Replaces the manual is_current_deals flag.
    • Checkout: saved addresses can be edited and deleted. PATCH/DELETE already existed on the backend, added them to the UI.
    • Hidden product variants on the storefront. OOS variants are filtered out, not grayed out. availableVariants / minAvailablePrice in variant-utils.ts.
    • The delivery address is bound to store-TZ as the key. Removed conversions from UTC and browser-local on every read.
    • The pickup notification shows the transport the driver picked, not the current global one.
  20. Week XXV

    · June 15–21, 2026
    Atlas
    • Gifts in the cart are now shown after confirmation, not before. OoS variants are replaced with available ones from the same category.
    • Banners in the admin panel are now read from the API instead of being hardcoded. The carousel takes the active banners with an audience filter.
    • OTP channel can be chosen: WhatsApp or SMS. Twilio Verify as an alternative, behind a flag. SMS on offline devices fail after 10 minutes instead of hanging.
    • Live tracking on /track now works: the socket resubscribes on reconnect, statuses arrive in real time without waiting for a poll tick.
  21. Week XXIV

    · June 8–14, 2026
    Atlas
    • Gift variant ID validation in freeze. The backend requires giftVariantId for variant products, the frontend now checks it before submitting.
    • Wallet debit-gate: added store_id to the scope-guard for legacy data. Customers with legacy balances no longer hit errors.
    • Driver Report: shift-based cash view (3AM→3AM). Zebra striping, tabular figures, three payment columns instead of one.
  22. Week XXIII

    · June 1–7, 2026
    Atlas
    • Express checkout without registration. Per-store flag (OFF by default), E.164 phone input with per-country validation.
    • Sign in with Apple. RS256 verification of id_token against Apple JWKS, mirrors the Google flow.
    • Night-time minimum order by zone. effectiveMinOrder now takes deliveryType and scheduledDate into account, doesn't apply to next-day orders.
  23. Week XXII

    · May 25–31, 2026
    Atlas
    • Blog and product pages on ISR instead of no-store. Cache-control now works on dynamic segments.
    • Auth pages excluded from the Google index, delivery-areas/[area] returns 404 instead of 500 for unknown slugs.
    • Storefront config moved to a typed layer: 50+ files now read getStoreConfig() instead of raw env.
    • /llms.txt for AI agents, sitemap on ISR (revalidate=300), FAQ/blog/legal translated to ru/es.
    • Inactive products are available on the detail endpoint (like out-of-stock), the sitemap consolidates ranking by canonical.
  24. Week XXI

    · May 18–24, 2026
    Atlas
    • Unified the WhatsApp support contact in notifications. A single source of the number for SMS, Telegram, WhatsApp, Email.
    • Added contactPhone with an (unverified) marker to checkout auto-save and the admin panel for email-only customers.
  25. Week XX

    · May 11–17, 2026
    Atlas
    • Fulfillment duration in Daily Orders, highlighted red at >60 min to make SLA breaches visible.
    • Unified Places autocomplete + zone-check on 5 forms with a Redis cache and 6 structured delivery columns in orders.
    • WhatsApp sticky routing moved to Postgres, Redis is now only a read-through cache.
  26. Week XIX

    · May 4–10, 2026
    Atlas
    • Editing items in an order now keeps order_id. TypeORM reloaded the related items and lost the new ones.
    • Featured Products on the homepage pulls in bestsellers when slots are left empty. Was 4/8, now always 8/8.
    • OG image redone at 1200×630. A desaturated crop of the hero slide instead of a static image.
  27. Week XVIII

    · April 27 – May 3, 2026
    Atlas
    • SEO recovery: keyword cannibalization removed, 10 categories dropped the city name from the title, homepage is now the money-keyword pillar.
    • Per-store risk scoring instead of one global detector; a flag raised in one store does not carry over to another.
    • Delivery zone tracking on orders. Added delivery_zone_id FK, backfilled historical orders, new reports in the admin panel.
  28. Week XVII

    · April 20–26, 2026
    Atlas
    • Homepage: SEO blocks reworked into an editorial trust stream with Google Reviews, a CountUp rating and TestimonialsSection.
    • Referral links now land on homepage /?ref=X instead of /register, the code is stored in localStorage for 30 days.
    • 12 geo-landing pages for delivery areas with LocalBusiness schema, GeoCoordinates and BreadcrumbList for each area.
  29. Week XVI

    · April 13–19, 2026
    Atlas
    • COG Report reworked: per-product table, search, inventory at cost. Fixed dateFilter (it showed yesterday).
    • Payments: tolerance raised from 2% to 5% to cover conversion fees.
    • A cost snapshot is saved to order_items.cost_price on order creation for COGS reports.
    • Product audit logs: every admin change (create/update/delete) with JSONB diffs in product_audit_logs.
    • Dispatch map: realtime driver tracking with a fallback to the driver_locations table when the Redis session is lost.
    • OOS products hidden from the catalog by default. inStock filter at the DB level with an EXISTS subquery.
  30. Week XV

    · April 6–12, 2026
    Atlas
    • Order addresses can be edited until a driver is assigned. Added geocoding, sync in the admin panel and the dispatcher app.
    • Mobile geolocation to fill in the address. GPS + Nominatim reverse geocoding, autofill of street, city, ZIP.
    • Google OAuth sign-in/sign-up with verification via userinfo API. Auto-linking of existing accounts by authoritative email.
  31. Week XIV

    · March 30 – April 5, 2026
    Atlas
    • Drivers now pick a vehicle at their first pickup, not at go-online. Auto-release when the last order is delivered.
    • Admin can assign drivers to vehicles via AssignDriverModal. Customer notifications show only the car make/color, without the driver's name.
    • Plans now limit express delivery by time and zone. Black Diamond and VIP Platinum can bypass the limits via bypass flags.
Log — what I’m building this week · hiregora.com