Skip to content

Keep published hours on listings past their review target - #26

Merged
truegoodcraft merged 1 commit into
mainfrom
claude/project-thread-c61jbp
Nov 10, 2026
Merged

truegoodcraft merged 1 commit into
mainfrom
claude/project-thread-c61jbp

Conversation

@truegoodcraft

@truegoodcraft truegoodcraft commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

What changes

When a listing's source review is older than review.interval_days, the directory used to replace its schedule with "Review overdue — confirm details before travelling." in three places on the card: the badge detail, the Today row and a line under the sources-checked date. The badge also fell back to "Check hours before going" and the listing dropped out of the "Open now or later today" filter.

Now such a listing:

  • keeps its published hours, schedule badge and place in the today filter;
  • shows an asterisk beside its sources-checked date (<span class="review-due" data-review-due>), and nothing else.

The "Review overdue" wording is removed from the public copy.

What does not change

Schedules that are unconfirmed, listings whose verification state is needs_review, temporarily unavailable or closed services, dates outside a schedule's validity range, unconfirmed exceptions and jurisdiction warning dates are still shown as uncertain. The sources-checked date stays on every card. No listing data changes.

Files

  • src/domain.ts: publishedSchedule no longer returns unknown only because the review is past its target.
  • src/presentation.ts, src/copy/en.ts, src/styles.css: asterisk in place of the warning text.
  • docs/configuration.md, docs/maintenance.md, CHANGELOG.md: describe the new behaviour (the changelog also records the visual refresh from Refresh the directory's visual design #25).
  • tests/unit/domain.test.ts, tests/unit/presentation.test.ts: updated and extended.

Checks

npm run check -- --all: unit and contract tests pass (84); browser tests pass in Chromium (32). Firefox and WebKit run in CI.

A listing whose source review is older than the configured interval no
longer has its schedule replaced with "Review overdue — confirm details
before travelling." It keeps its published hours, schedule badge and
place in the today filter, and shows an asterisk beside its
sources-checked date instead.

Unconfirmed schedules, needs-review listings, temporary closures and
out-of-range dates are still shown as uncertain. Docs, changelog and
tests are updated to match.
@truegoodcraft
truegoodcraft merged commit d694c70 into main Nov 10, 2026
4 checks passed
@truegoodcraft
truegoodcraft deleted the claude/project-thread-c61jbp branch November 10, 2026 16:11
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