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

pulibrary / tigerdata-app / 8aeeb0c0-f444-4ea2-b6fd-ab8f3be4ed95
91%

Build:
DEFAULT BRANCH: main
Ran 28 Oct 2025 08:32PM UTC
Jobs 5
Files 110
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 Oct 2025 03:36PM UTC coverage: 91.333% (+0.2%) from 91.162%
8aeeb0c0-f444-4ea2-b6fd-ab8f3be4ed95

push

circleci

web-flow
Dashboard displays projects straights from Mediaflux (#2057)

The list of projects displayed in the **Dashboard** now comes straight
from Mediaflux.

The code in this PR is a bit messy because the
`ProjectDashboardPresenter` inherits from the `ProjectShowPresenter` and
this PR only updates the project information in the Dashboard (not on
the project Show page). Therefore there a few extra `if/else` statements
to account for the two kind of data that the presenter might receive. I
am hoping these `if/else` statements will be removed once we update the
Project Show page
(https://github.com/pulibrary/tigerdata-app/issues/2039) to also fetch
its data directly from Mediaflux.

Closes #2037 (and #2038)

Example in QA of the Dashboard showing **only my Projects** in the
Projects tab and **all the projects** in the Admin tab (I am an
Administrator in QA):

<img width="1211" height="848" alt="mine"
src="https://github.com/user-attachments/assets/c5fa4ace-fa1d-4529-8f89-1f23a0ab8b3d"
/>

<img width="1187" height="708" alt="not-mine"
src="https://github.com/user-attachments/assets/218323ec-4c78-4b15-8103-c50d26c9a690"
/>

66 of 69 new or added lines in 4 files covered. (95.65%)

73 existing lines in 5 files now uncovered.

2803 of 3069 relevant lines covered (91.33%)

483.57 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
93.42
39.25% app/presenters/project_show_presenter.rb

Uncovered Existing Lines

Lines Coverage ∆ File
2
77.78
-22.22% app/services/xml_null_builder.rb
3
92.11
-7.89% app/models/mediaflux/logon_request.rb
12
50.0
-25.86% app/presenters/project_dashboard_presenter.rb
13
0.0
-100.0% app/controllers/project_import_controller.rb
43
0.0
-52.08% app/controllers/requests_controller.rb
Jobs
ID Job ID Ran Files Coverage
1 8aeeb0c0-f444-4ea2-b6fd-ab8f3be4ed95.1 28 Oct 2025 08:32PM UTC 110
50.1
2 8aeeb0c0-f444-4ea2-b6fd-ab8f3be4ed95.2 28 Oct 2025 08:32PM UTC 110
52.16
3 8aeeb0c0-f444-4ea2-b6fd-ab8f3be4ed95.3 28 Oct 2025 08:32PM UTC 110
56.63
4 8aeeb0c0-f444-4ea2-b6fd-ab8f3be4ed95.4 28 Oct 2025 08:34PM UTC 110
72.23
5 8aeeb0c0-f444-4ea2-b6fd-ab8f3be4ed95.5 28 Oct 2025 08:38PM UTC 110
48.15
Source Files on build 8aeeb0c0-f444-4ea2-b6fd-ab8f3be4ed95
  • Tree
  • List 110
  • Changed 5
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #8AEEB0C0...
  • c5d2c244 on github
  • Prev Build on main (#ED8B7864...)
  • Next Build on main (#388E3887...)
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

© 2025 Coveralls, Inc