Navigation Menu

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

Added jobs.target_class and jobs.target_id to returned dataset in MiqTask.yaml view #14932

Merged

Conversation

yrudman
Copy link
Contributor

@yrudman yrudman commented Apr 27, 2017

After merging Jobs and MiqTask management screens in ManageIQ/manageiq-ui-classic#242 we lost some functionality: navigation to target object of SmartState Analysis for selected job. To fix it, we need to have jobs.target_class and jobs.target_id in dataset returned by corresponding view (MiqTask.yaml)

In this PR:

  • added jobs.target_class and jobs.target_id to include section in MiqTask.yaml
  • removed jobs.guid from to include section in MiqTask.yaml.
    Reason for removing: before merging Job and MiqTask screens, jobs.guid was used to filter out tasks which have linked Jobs, after merging that filtering logic was removed.

There are no any changes in UI.
AFTER:
before-after

@miq-bot add-label fine/no, tasks, bug

… Reason for adding: those attributes used for drilldowns from job to target VM.

Removed job.guid column from dataset. Reason for removing: before merging Jobs and Tasks screens, jobs.guid was used to filter out tasks which have linked Jobs, after merging that filtering logic was removed
@miq-bot
Copy link
Member

miq-bot commented Apr 27, 2017

@yrudman Cannot apply the following label because they are not recognized: tasks

@miq-bot
Copy link
Member

miq-bot commented Apr 27, 2017

Checked commit yrudman@add392f with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
0 files checked, 0 offenses detected
Everything looks fine. 🏆

@dclarizio
Copy link

@chessbyte change makes sense to me 👍

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.

None yet

5 participants