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

pulibrary / tigerdata-app / a25a9344-105b-44fa-8cbb-8294c0216121

30 Oct 2025 08:44PM UTC coverage: 64.982% (-22.7%) from 87.65%
a25a9344-105b-44fa-8cbb-8294c0216121

Pull #2128

circleci

hectorcorrea
Started updating the project show page to display metadata from Mediaflux
Pull Request #2128: Project Show page now displays metadata straight from Mediaflux

0 of 37 new or added lines in 3 files covered. (0.0%)

757 existing lines in 36 files now uncovered.

2134 of 3284 relevant lines covered (64.98%)

168.86 hits per line

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

0.0
/app/controllers/dashboard_controller.rb
1
# frozen_string_literal: true
UNCOV
2
class DashboardController < ApplicationController
×
UNCOV
3
  layout "welcome"
×
4

UNCOV
5
  def index
×
UNCOV
6
    @presenter = DashboardPresenter.new(current_user: current_user)
×
7

UNCOV
8
    session[:dashtab] ||= "project" # default the session tab to projects
×
UNCOV
9
    @dash_session = session[:dashtab]
×
UNCOV
10
    @session_id = current_user.mediaflux_session
×
UNCOV
11
    @emulation_role = session[:emulation_role] || "Not Emulating"
×
UNCOV
12
  end
×
13

UNCOV
14
  def emulate
×
UNCOV
15
    return if Rails.env.production?
×
16

UNCOV
17
    absolute_user = User.find(current_user.id)
×
UNCOV
18
    return unless absolute_user.trainer?
×
19

UNCOV
20
    if params.key?("emulation_menu")
×
UNCOV
21
      session[:emulation_role] = params[:emulation_menu]
×
UNCOV
22
    end
×
UNCOV
23
  end
×
24

UNCOV
25
  def dash_project
×
26
    if params.key?("dashtab")
×
27
      session[:dashtab] = params[:dashtab]
×
UNCOV
28
    end
×
UNCOV
29
  end
×
30

UNCOV
31
  def dash_admin
×
32
    if params.key?("dashtab")
×
33
      session[:dashtab] = params[:dashtab]
×
UNCOV
34
    end
×
UNCOV
35
  end
×
UNCOV
36
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