Skip to content

Conversation

@RafaelKayumov
Copy link
Contributor

@RafaelKayumov RafaelKayumov commented Oct 13, 2025

WOOMOB-1426

Description

Synchronizes and applies single booking data for "Booking Details" screen

  • Applies data from Booking -> BookingOrderInfo
  • Makes section content in BookingDetailsViewModel as ObservableObject for better data binding
  • Deletes unnecessary loadCustomer action and remote request
  • Applies booking status to booking details header as 2nd badge

Teting steps

  • Use CIAB site with bookings
  • Navigate to bookings list
  • Select a few bookings from list and make sure the booking details data is displayed correctly:
    • The date in header matches the date in the list item
    • The Service name and customer name in header matches the values in list item
    • Make sure the date and time in "Appointment details" section is matching the date in header and list item.
    • Make sure the "Assigned staff" value is displayed and updated when switched between bookings.
    • Make sure the "Customer" section data matches the customer in header and updated when switched between bookings.
    • Make sure the "Payment" section reflects correct values. Consider navigating to the booking order and compare payment values.

Testing information

Tested on iPad (iOS 26) Simulator

Screenshots

BookingDetailsPart8.mov

  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@RafaelKayumov RafaelKayumov added this to the 23.5 milestone Oct 13, 2025
@RafaelKayumov RafaelKayumov added the type: task An internally driven task. label Oct 13, 2025
@wpmobilebot
Copy link
Collaborator

wpmobilebot commented Oct 13, 2025

App Icon📲 You can test the changes from this Pull Request in WooCommerce iOS Prototype by scanning the QR code below to install the corresponding build.

App NameWooCommerce iOS Prototype
Build Numberpr16240-26a1d72
Version23.5
Bundle IDcom.automattic.alpha.woocommerce
Commit26a1d72
Installation URL637eo5ouvmmoo
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@RafaelKayumov RafaelKayumov force-pushed the WOOMOB-1236-booking-details-part-8 branch from 88eb932 to fbe50e9 Compare October 16, 2025 17:00
@wpmobilebot wpmobilebot modified the milestones: 23.5, 23.6 Oct 17, 2025
@wpmobilebot
Copy link
Collaborator

Version 23.5 has now entered code-freeze, so the milestone of this PR has been updated to 23.6.

# Conflicts:
#	WooCommerce/Classes/ViewModels/Booking Details/AppointmentDetailsContent.swift
#	WooCommerce/Classes/ViewModels/Booking Details/BookingDetailsViewModel.swift
#	WooCommerce/Classes/ViewModels/Booking Details/CustomerContent.swift
#	WooCommerce/Classes/ViewModels/Booking Details/HeaderContent.swift
#	WooCommerce/Classes/ViewModels/Booking Details/PaymentContent.swift
@RafaelKayumov RafaelKayumov marked this pull request as ready for review October 17, 2025 11:26
@RafaelKayumov RafaelKayumov changed the title [Bookings] Bookings details part 8 - switch to Order data [Bookings] Bookings details part 8 - switch to BookingOrderInfo data Oct 17, 2025
@itsmeichigo itsmeichigo self-assigned this Oct 20, 2025
Copy link
Contributor

@itsmeichigo itsmeichigo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚢

@RafaelKayumov RafaelKayumov merged commit ad04076 into trunk Oct 20, 2025
13 checks passed
@RafaelKayumov RafaelKayumov deleted the WOOMOB-1236-booking-details-part-8 branch October 20, 2025 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: task An internally driven task.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants