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

Refactor Textual Summary archtecture #1295

Merged

Conversation

gabrielsvinha
Copy link
Contributor

@gabrielsvinha gabrielsvinha commented May 5, 2017

This Pull Request makes changes in:

  • app/helpers/physical_server_helper/textual_summary.rb

In order to appear Physical Server summary page with the following properties:

  • name
  • model
  • product_name
  • manufacturer
  • machine_type
  • serial_number
  • ems_ref (UUID)

Depends on:

captura de tela de 2017-05-05 13-14-32

Refactor physical server textual summary for new archtecture
@gabrielsvinha
Copy link
Contributor Author

@miq-bot add_labels graphics, textual summaries

@miq-bot
Copy link
Member

miq-bot commented May 5, 2017

Checked commit gabrielsvinha@90e3a5a with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
1 file checked, 0 offenses detected
Everything looks fine. ⭐

@gabrielsvinha
Copy link
Contributor Author

@miq-bot add_label compute/physical infrastructure

@dclarizio dclarizio requested a review from AparnaKarve May 5, 2017 18:36
@dclarizio dclarizio self-assigned this May 5, 2017
@martinpovolny martinpovolny merged commit d076adb into ManageIQ:master May 5, 2017
@martinpovolny martinpovolny added this to the Sprint 60 Ending May 8, 2017 milestone May 5, 2017
%i(host)
TextualGroup.new(
_("Relationships"),
%i(host)
Copy link
Contributor

Choose a reason for hiding this comment

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

@gabrielsvinha Can you tell me more about the host relationship?

When I click on host, it takes me to the host/show_list page (with Invalid input flash message) which does not seem right.
screen shot 2017-05-08 at 2 58 29 pm

Copy link
Contributor

Choose a reason for hiding this comment

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

Should it point to a particular host? If so, you need to provide a host id in that link.

I noticed one more thing, the Relationships in the listnav PR
#1195

  • looks for @record.host first before showing that Relationship
  • shows the Parent Provider (@record.ext_management_system), which I think is a good idea.
    Could you add that relationship here as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You should have a host related to that specific physical server in the show page. It will redirect to this host related.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As below, you see the 'mlk' summary with its relationship with 'Imm 0901' host:
captura de tela de 2017-05-09 13-04-50

After I click in host, it loads this specific host page.

captura de tela de 2017-05-09 13-05-16

Btw the Physical Infrastructure relationship shown will be added in another Pull Request after #1294 is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants