Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fullscreen title to MiqReportResult #18359

Merged

Conversation

lpichler
Copy link
Contributor

MiqReportResult is used for Report and for Widgets
but when we are displaying report result in full screen
for widget we need to display name of widget and
this method is used for this reason.

Links

@miq-bot assign @gtanzillo
@miq-bot add_label report, bug

@miq-bot
Copy link
Member

miq-bot commented Jan 14, 2019

@lpichler Cannot apply the following label because they are not recognized: report

@@ -51,6 +52,10 @@ class MiqReportResult < ApplicationRecord

delegate :table, :to => :report_results, :allow_nil => true

def full_screen_title
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about making this name more generic like friendly_title?

MiqReportResult is used for Report and for Widgets
but when we are displaying report result in full screen
for widget we need to display name of widget and
this method is used for this reason.
@lpichler lpichler force-pushed the add_fullscreen_title_to_report_result branch from 5eedc58 to 0d8dbcf Compare January 23, 2019 07:39
@miq-bot
Copy link
Member

miq-bot commented Jan 23, 2019

Checked commits lpichler/manageiq@68778ec~...0d8dbcf with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
3 files checked, 0 offenses detected
Everything looks fine. 🍰

Copy link
Member

@gtanzillo gtanzillo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@gtanzillo gtanzillo merged commit 5167a5d into ManageIQ:master Jan 29, 2019
@gtanzillo gtanzillo added this to the Sprint 104 Ending Feb 4, 2019 milestone Jan 29, 2019
@lpichler lpichler deleted the add_fullscreen_title_to_report_result branch January 29, 2019 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants