Skip to content

docs(help): arrival windows that differ by day of the week (beta) - #338

Open
michaelmyers wants to merge 2 commits into
mainfrom
docs/arrival-windows-by-day
Open

michaelmyers wants to merge 2 commits into
mainfrom
docs/arrival-windows-by-day

Conversation

@michaelmyers

Copy link
Copy Markdown
Contributor

New help page /help/settings/availability (sidebar: Booking and Availability → Arrival Windows): the usual arrival windows, and giving a day of the week its own windows (Beta), e.g. closing at 4 PM on Fridays.

Documents XappMedia/stentor-api#6966 (AC3). Do not merge until that change is released to Studio prod; merging publishes to documentation.xapp.ai.

yarn build passes locally.

🤖 Generated with Claude Code

… (beta)

Studio can now give a day of the week its own arrival windows ("close at
4 PM on Fridays"). This page explains the usual windows and the per-day
override, where each is set, and how it interacts with open days,
holidays and the calendar preview.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@claude

claude Bot commented Dec 2, 2026

Copy link
Copy Markdown

Review

Small, docs-only change: a new help page plus one sidebar entry. The link /help/availability/holidays-and-time-off resolves, and the sidebar doc("settings/availability", ...) id matches the new file. I didn't run the build here, so I'm relying on your note that yarn build passes.

Things to check

  • Merge gating. The description says not to merge until stentor-api#6966 is released to Studio prod. Merging publishes the page, so keep this blocked until then. A Draft state or a do not merge label would make that harder to miss.
  • Beta features page. help/features.md is generated from the dev-workspace feature directory and lists only features with a published page. This page documents a Beta feature, so the directory entry probably needs a link to it. Regenerate features.md afterwards, and don't edit it by hand.
  • Navigation path. The page says Settings → Availability Classes to reach Arrival Windows. It then says days open are set under Settings → Bookings & Availability. These may be two different pages, but a reader could find that confusing. Please confirm both labels match the current Studio UI.
  • File location. help/settings/availability.md is the only file in help/settings/. It's listed in the sidebar under "Booking and Availability" next to availability/holidays-and-time-off. Putting it in help/availability/ would match the neighbouring pages. The URL would change, so only do this if no inbound links exist yet.
  • Page title. The slug is availability, but the title and sidebar label are "Arrival Windows". Consider a matching slug, or slug: in the front matter, so the URL describes the content.

Content nits

  • "Click Use the usual windows on Friday (or that day's name)" is slightly awkward. Something like "Use the usual windows on " would read better.
  • "A window that ends before it starts is not saved." Does the UI show an error? If it does, say so. If it silently drops the window, that is worth stating plainly.
  • Equal start and end times, and overlapping windows, aren't covered. Mention them if they behave in a notable way.
  • The default windows (8–12, 1–5) are a claim about product behaviour. Please confirm them against the implementation in #6966.

No code, security or performance concerns, and there are no tests for a docs page beyond the build.

🤖 Generated with Claude Code

@claude

claude Bot commented Dec 2, 2026

Copy link
Copy Markdown

Review: Arrival Windows help page

The change is small: a new help/settings/availability.md and one sidebar entry in sidebars-help.js. I read the diff only. I didn't run yarn build, so check the PR's build job.

What works

  • The sidebar entry sits in "Booking and Availability", next to Holidays & Time Off, which is where the page belongs.
  • The page is task-oriented, with a worked Friday example and a "Check the result" step.
  • The Beta admonition (:::info) is valid Docusaurus syntax.
  • The cross-link /help/availability/holidays-and-time-off points to an existing page.
  • The front matter matches the neighbouring pages (title, sidebar_label, description).

Suggestions

  1. File location and URL. The page is at help/settings/availability.md but is titled "Arrival Windows". The other pages in this sidebar group are under availability/, channels/ and guides/. The URL /help/settings/availability is generic and may be hard to find later. Consider help/availability/arrival-windows.md, which matches the title and sits beside holidays-and-time-off. If external links to this URL already exist, keep it as is.
  2. Page naming versus the UI. The page says the section is under Settings → Bookings & Availability. The Holidays page says Settings → Holidays & Time Off. Please confirm the menu path and the control labels against the current Studio build. The labels are "Add window", "Give a day its own windows", "Use the usual windows on Friday" and "Different Hours on Some Days".
  3. Feature directory. CLAUDE.md says help/features.md is generated from the dev-workspace feature directory and lists only features with a published page. This page has no entry there. Per-day arrival windows (beta) may need a feature-directory entry so it shows up after regeneration. features.md currently links only the Availability API, not this page. Don't edit features.md by hand.
  4. Defaults claim. "With no windows set, two 4-hour windows are offered: 8 AM to 12 PM and 1 PM to 5 PM." That is a hard-coded product default, and it will go stale if it changes. Verify it, or link it to the source of truth.
  5. Timezone. Say which timezone the windows use. A one-line note would do, for example the business timezone.
  6. Terminology. "Arrival window" is used consistently. The sidebar label and the front-matter sidebar_label match, which is good. Consider adding "Bookings" or "scheduling" to description to help search.
  7. Wording. "A window that ends before it starts is not saved" doesn't say what the user sees. Does an error appear, or is the window dropped silently? Say which.

Other areas

  • Performance, security and tests: This is static docs content with no code, so there are no concerns here. CI only builds the site. Watch for broken-link warnings in the build output.

Overall this is a clear, accurate-looking page. The one thing I'd fix before merge is the feature-directory entry (3). The location, naming and UI-label checks are worth doing too.

This branch has not been deployed

No deployments
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