• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

karanshukla / openresto / 32081575661
97%

Build:
DEFAULT BRANCH: main
Ran 17 Aug 2026 11:44PM UTC
Jobs 2
Files 417
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Aug 2026 11:42PM UTC coverage: 96.846%. First build
32081575661

push

github

karanshukla
fix: land the time picker on its value, and keep it on its trigger as it closes

Three defects left behind by #348, all in the shared dropdown rather than the
time picker, reported as "it scrolls like crazy down when you select it, then
pops up with the old picker".

Select positions its open list at the current value through
utils/scrollIntoView, which animates. On a 53-row time list with a late sitting
selected that is a ~2300px smooth scroll the diner watches every time the field
is pressed. scrollIntoView takes an options object now and Select opts out of
the animation, so the row is under the pointer on the first frame.

Select also released the trigger's measurement in the same handler that closed
the panel. The Modal keeps the panel mounted for its fade-out, so `position`
went null mid-fade, panelStyleFor swapped to the centred-sheet shape, and the
panel tore off the control and faded out from the middle of the screen. That is
the "old picker": a centred sheet is exactly what the deleted TimePicker.web
looked like. AnchoredPanel takes an onClosed and hands it to the Modal's
onDismiss, so the measurement outlives the animation. OverflowMenu had the same
bug and takes the same fix.

On a phone the booking panel is a bottom sheet, so the picker's Modal opens
inside another Modal. Each gets a react-native-web focus trap; the outer one is
still active when useDialogFocus moves focus in, the two bounce it back and
forth as the open animation ends, and it settles on the picker's backdrop. Every
key the listbox listens for went nowhere on the surface most diners use.
useDialogFocus reclaims focus when something else takes it, and only the
innermost open popup reclaims, or two of them would pull the same focus between
them forever.

e2e/time-picker.spec.ts pins all three, since where a panel sits, what it does
between frames, and what holds the keyboard are invisible to a component test.
Verified against a pre-fix bundle: 48 scroll events instead of 1, ... (continued)

6621 of 7092 branches covered (93.36%)

Branch coverage included in aggregate %.

22 of 22 new or added lines in 6 files covered. (100.0%)

11155 of 11263 relevant lines covered (99.04%)

208.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 backend - 32081575661.1 17 Aug 2026 11:45PM UTC 131
98.07
GitHub Action Run
2 frontend - 32081575661.2 17 Aug 2026 11:44PM UTC 286
95.96
GitHub Action Run
Source Files on build 32081575661
  • Tree
  • List 417
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #32081575661
  • df251d52 on github
  • Prev Build on main (#32081314932)
  • Next Build on main (#32087971570)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc