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

pulibrary / tigerdata-app / 3f98f228-6ecf-4120-a478-d9932b13e420

23 Oct 2025 09:19PM UTC coverage: 91.178%. Remained the same
3f98f228-6ecf-4120-a478-d9932b13e420

push

circleci

web-flow
Added tooltip to Data Sponsor Field (#2092)

Added 20px to margin to display the tooltip.

ref #2081 


<img width="1219" height="201" alt="Screenshot 2025-10-23 at 2 34 36 PM"
src="https://github.com/user-attachments/assets/d529b85c-a834-4aa3-9456-1ca89e1ec6ac"
/>

Co-authored-by: Precilla Prempeh <pprempeh@princeton.edu>
Co-authored-by: Robert-Anthony Lee-Faison <leefaisonr@users.noreply.github.com>

2739 of 3004 relevant lines covered (91.18%)

757.2 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

88.24
/app/controllers/mediaflux_info_controller.rb
1
# frozen_string_literal: true
2
class MediafluxInfoController < ApplicationController
5✔
3
  # GET /mediaflux_infos or /mediaflux_infos.json
4
  def index
5✔
5
    @mf_version = mediaflux_version_info
132✔
6
    @mediaflux_roles = User.mediaflux_roles(user: current_user)
132✔
7
    @sysadmin = current_user.sysadmin
132✔
8
    @developer = current_user.developer
132✔
9
    respond_to do |format|
132✔
10
      format.html
132✔
11
      format.json { render json: @mf_version }
258✔
12
    end
13
  end
14

15
  private
5✔
16

17
    def mediaflux_version_info
5✔
18
      # Notice that we use the system user (instead of the current user) in this request to Mediaflux
19
      # because the average user does not have access to execute server.version.
20
      version_request = Mediaflux::VersionRequest.new(session_token: SystemUser.mediaflux_session)
132✔
21
      version_request.resolve
132✔
22
      raise version_request.response_error[:message] if version_request.error?
132✔
23
      version_request.version
132✔
24
    rescue => ex
25
      Rails.logger.error("Error fetching Mediaflux version: #{ex.message}")
×
26
      { vendor: "N/A", version: "N/A" }
×
27
    end
28
end
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