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

jumpinjackie / mapguide-react-layout / 25054557061
60%

Build:
DEFAULT BRANCH: master
Ran 28 Apr 2026 01:09PM UTC
Jobs 1
Files 229
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

28 Apr 2026 01:05PM UTC coverage: 60.517% (-0.1%) from 60.62%
25054557061

push

github

web-flow
Complete ElementContext abstraction for Toaster, Dialog, and RndModalDialog (#1634)

* Initial plan

* feat: add Toaster and Dialog to ElementContext abstraction

- Define IToasterRef, ToastMessage, ToastPosition, ToasterProps and DialogProps
  types in element-context.tsx
- Add Toaster (forward-ref) and Dialog to IElementContext interface
- Create BpToaster in providers/blueprint/toaster.tsx using useImperativeHandle
  to bridge the abstract IToasterRef API to Blueprint's Toaster
- Create BpDialog in providers/blueprint/dialog.tsx wrapping Blueprint Dialog
- Wire BpToaster and BpDialog into the Blueprint provider
- Update neo-map-viewer.tsx to use Toaster from useElementContext() instead of
  direct @blueprintjs/core import
- Update init-warning-display.tsx to use Dialog from useElementContext()
- Update base.ts to use IToasterRef instead of Blueprint Toaster type
- Update test mocks in neo-and-quick-plot.spec.tsx and
  container-wrappers.spec.tsx to include the new Toaster/Dialog context entries

Agent-Logs-Url: https://github.com/jumpinjackie/mapguide-react-layout/sessions/7f20c268-6be0-4d89-b12e-d526e3689df5

Co-authored-by: jumpinjackie <563860+jumpinjackie@users.noreply.github.com>

* fix: add displayName to BpToaster and BpDialog for React DevTools

Agent-Logs-Url: https://github.com/jumpinjackie/mapguide-react-layout/sessions/7f20c268-6be0-4d89-b12e-d526e3689df5

Co-authored-by: jumpinjackie <563860+jumpinjackie@users.noreply.github.com>

* chore: remove leftover @blueprintjs/core mocks from test files

The Blueprint Toaster/Dialog/Position mocks in container-wrappers.spec.tsx
and neo-and-quick-plot.spec.tsx are now dead code since those components
are consumed through useElementContext() — already mocked in the same files.

Agent-Logs-Url: https://github.com/jumpinjackie/mapguide-react-layout/sessions/483bc7bb-3225-46b3-8197-1c3465931caf

Co-authored-by: jumpinjackie <563860+jumpinjackie@users.noreply.github.com>

* feat(stories): add Toaster... (continued)

3098 of 3742 branches covered (82.79%)

45 of 122 new or added lines in 7 files covered. (36.89%)

1 existing line in 1 file now uncovered.

15255 of 25208 relevant lines covered (60.52%)

11.63 hits per line

Uncovered Changes

Lines Coverage ∆ File
32
34.69
src/components/elements/providers/blueprint/dialog.tsx
31
13.89
src/components/elements/providers/blueprint/toaster.tsx
10
0.0
0.0% src/components/modal-dialog.tsx
4
26.34
-0.06% src/components/map-providers/base.ts

Coverage Regressions

Lines Coverage ∆ File
1
0.0
0.0% src/components/modal-dialog.tsx
Jobs
ID Job ID Ran Files Coverage
1 25054557061.1 28 Apr 2026 01:09PM UTC 229
60.52
GitHub Action Run
Source Files on build 25054557061
  • Tree
  • List 229
  • Changed 6
  • Source Changed 6
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25054557061
  • 9df95741 on github
  • Prev Build on master (#25051754700)
  • Next Build on master (#25110262545)
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