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

pulibrary / tigerdata-app / a75ab644-69de-42d4-af3b-04f2c06f5129
91%

Build:
DEFAULT BRANCH: main
Ran 28 Oct 2025 03:51PM 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%
a75ab644-69de-42d4-af3b-04f2c06f5129

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"
/>

32 of 87 new or added lines in 4 files covered. (36.78%)

699 existing lines in 26 files now uncovered.

2803 of 3069 relevant lines covered (91.33%)

486.99 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
68.42
-8.05% app/presenters/dashboard_presenter.rb
52
0.0
-54.17% app/presenters/project_show_presenter.rb

Uncovered Existing Lines

Lines Coverage ∆ File
1
96.08
-1.96% app/models/mediaflux/asset_metadata_request.rb
1
70.0
-5.0% app/models/mediaflux/connection.rb
1
78.32
32.32% app/models/project.rb
1
83.33
-8.33% app/models/user_request.rb
2
93.7
-1.57% app/models/project_metadata.rb
2
68.42
-8.05% app/presenters/dashboard_presenter.rb
3
92.11
-7.89% app/models/mediaflux/logon_request.rb
4
52.33
-4.65% app/controllers/application_controller.rb
4
0.0
-100.0% app/lib/tiger_data/ldap_error.rb
4
0.0
-100.0% app/mailers/application_mailer.rb
9
0.0
-50.0% app/controllers/new_project_wizard/additional_information_related_resources_controller.rb
13
0.0
-100.0% app/controllers/welcome_controller.rb
14
0.0
-100.0% app/controllers/new_project_wizard/additional_information_grants_and_funding_controller.rb
14
0.0
-100.0% app/controllers/new_project_wizard/project_information_dates_controller.rb
17
0.0
-100.0% app/services/xml_null_builder.rb
23
0.0
-100.0% app/models/mediaflux/store_list_request.rb
23
0.0
-100.0% app/services/xml_node_builder.rb
32
0.0
-82.76% app/mailers/tigerdata_mailer.rb
36
0.0
-75.86% app/presenters/project_dashboard_presenter.rb
38
43.97
-31.9% app/models/request.rb
39
0.0
-54.17% app/presenters/project_show_presenter.rb
43
0.0
-52.08% app/controllers/requests_controller.rb
52
0.0
-100.0% app/services/xml_tree_builder.rb
67
0.0
-100.0% app/services/xml_element_builder.rb
84
0.0
-100.0% app/services/princeton_users.rb
172
0.0
-95.37% app/presenters/project_xml_presenter.rb
Jobs
ID Job ID Ran Files Coverage
1 a75ab644-69de-42d4-af3b-04f2c06f5129.1 28 Oct 2025 03:51PM UTC 110
46.38
2 a75ab644-69de-42d4-af3b-04f2c06f5129.2 28 Oct 2025 03:52PM UTC 110
72.26
3 a75ab644-69de-42d4-af3b-04f2c06f5129.3 28 Oct 2025 03:58PM UTC 110
57.53
4 a75ab644-69de-42d4-af3b-04f2c06f5129.4 28 Oct 2025 04:04PM UTC 110
50.25
5 a75ab644-69de-42d4-af3b-04f2c06f5129.5 28 Oct 2025 04:12PM UTC 110
43.75
Source Files on build a75ab644-69de-42d4-af3b-04f2c06f5129
  • Tree
  • List 110
  • Changed 5
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #A75AB644...
  • c5d2c244 on github
  • Prev Build on main (#ED8B7864...)
  • Next Build on main (#8AEEB0C0...)
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