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

amacgregor / amgr_phx / 8555af500c543def0c01f510ce21494210dc53af
44%

Build:
DEFAULT BRANCH: main
Ran 28 Nov 2026 12:31PM UTC
Jobs 1
Files 90
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 Nov 2026 12:29PM UTC coverage: 42.893% (+1.2%) from 41.713%
8555af500c543def0c01f510ce21494210dc53af

push

github

amacgregor
Move the remaining EEx views to HEEx function components

The layout, SEO and error templates were the last Phoenix.View code in the
app, and the nav among them is where the path-interpolation XSS lived. They
are now function components:

- nav, footer and icons join AmgrWeb.Layouts
- static page bodies become AmgrWeb.Pages
- the 404 becomes AmgrWeb.ErrorHTML, with ErrorJSON for JSON requests
- SEO meta tags render from components inside AmgrWeb.SEO
- sitemap and browserconfig stay plain EEx under controllers/*_xml

link, outbound_link and img_tag calls in the page templates become <.link>,
<.outbound_link> and <img>, which lets phoenix_view and phoenix_html_helpers
go. Alpine attributes use the long x-on:/x-bind: form, since HEEx reserves a
leading colon.

Rendered output for 24 routes was compared before and after and matches,
apart from whitespace, attribute order and the Alpine attribute names. JSON
error responses are now valid JSON rather than a bare status string.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

57 of 66 new or added lines in 8 files covered. (86.36%)

851 of 1984 relevant lines covered (42.89%)

464.98 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
54.55
-31.17% lib/amgr_web/controllers/robot_controller.ex
4
83.95
7.59% lib/amgr_web/seo.ex
Jobs
ID Job ID Ran Files Coverage
1 8555af500c543def0c01f510ce21494210dc53af.1 28 Nov 2026 12:31PM UTC 90
42.89
GitHub Action Run
Source Files on build 8555af500c543def0c01f510ce21494210dc53af
  • Tree
  • List 90
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8555af50 on github
  • Prev Build on main (#9ACC0976...)
  • Next Build on main (#385469DD...)
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