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

jumpinjackie / mapguide-react-layout / 26217711843
61%

Build:
DEFAULT BRANCH: master
Ran 21 May 2026 09:33AM UTC
Jobs 1
Files 261
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

21 May 2026 09:30AM UTC coverage: 60.54% (-0.3%) from 60.795%
26217711843

push

github

web-flow
Implement spy mode (#1651)

* Enhance context documentation for map comparison and introduce generalization of comparison modes

* Generalize swipe state to comparisons

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Add spy comparison mode

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Fix minimal popover stacking

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Fix generic layout popover not appearing on button click

Two bugs prevented popover toolbar buttons from showing in the generic
viewer layout template:

1. Z-index timing gap: react-tiny-popover applies containerStyle via
   useEffect (after browser paint), so the portal container was briefly
   at z-index:auto before the first paint. For positioned elements in the
   same stacking context, z-index:auto stacks below elements with explicit
   positive z-index (e.g. the toolbar group at z-index:10). Switched from
   containerStyle to containerClassName + a CSS rule, which applies z-index
   synchronously at element-creation time via useState initialiser in
   react-tiny-popover's useElementRef.

2. focus() stealing in onMouseDown: spy mode added tabIndex+focus() to
   map-viewer-component so keyboard ArrowUp/Down resize the spy cursor.
   That focus() was called for every mousedown inside the component,
   including clicks on toolbar popover-trigger buttons, stealing focus
   before the click event completed and potentially disrupting the
   click-outside detection cycle. Fixed by only calling focus() when the
   mousedown target is not a button/input/interactive element.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Fix popover positioning in generic template by giving html/body proper height

react-tiny-popover uses document.body as the default boundary element when
positioning popovers. In generic.html, html and body had no explicit height,
so getBoundingClientRect() returned height=0 / bot... (continued)

3289 of 4035 branches covered (81.51%)

178 of 582 new or added lines in 16 files covered. (30.58%)

7 existing lines in 4 files now uncovered.

16218 of 26789 relevant lines covered (60.54%)

14.3 hits per line

Uncovered Changes

Lines Coverage ∆ File
238
14.81
3.28% src/components/map-viewer-swipe.tsx
110
25.89
-0.45% src/components/map-providers/base.ts
27
0.0
0.0% src/layouts/generic.tsx
19
37.89
-0.38% src/components/map-providers/mapguide.ts
6
80.7
-0.53% src/actions/map.ts
3
92.17
-0.87% src/reducers/config.ts
1
92.53
-0.21% src/api/default-commands.ts

Coverage Regressions

Lines Coverage ∆ File
4
14.81
3.28% src/components/map-viewer-swipe.tsx
1
80.7
-0.53% src/actions/map.ts
1
25.89
-0.45% src/components/map-providers/base.ts
1
37.89
-0.38% src/components/map-providers/mapguide.ts
Jobs
ID Job ID Ran Files Coverage
1 26217711843.1 21 May 2026 09:33AM UTC 261
60.54
GitHub Action Run
Source Files on build 26217711843
  • Tree
  • List 261
  • Changed 19
  • Source Changed 19
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26217711843
  • 2a0d087d on github
  • Prev Build on master (#26041141186)
  • Next Build on master (#26285754311)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc