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

Display only manually added my company tags on topology screens #3007

Merged
merged 1 commit into from
Dec 14, 2017

Conversation

skateman
Copy link
Member

When building the JSON for a topology, all the related tags are being fetched. This is a problem as we don't want to expose internal tags in the UI. As a 🎄 🎁 @lpichler added a new method into ActsAsTaggable that fetches only the tags we need.

Before:
screenshot from 2017-12-12 13-22-24

After:
screenshot from 2017-12-12 13-21-56

@miq-bot add_label topology, bug, pending core, gaprindashvili/yes

https://bugzilla.redhat.com/show_bug.cgi?id=1519457

@miq-bot
Copy link
Member

miq-bot commented Dec 12, 2017

Checked commit skateman@4bf2e39 with ruby 2.3.3, rubocop 0.47.1, haml-lint 0.20.0, and yamllint 1.10.0
4 files checked, 0 offenses detected
Everything looks fine. ⭐

@ohadlevy
Copy link
Member

tests please :)

@skateman
Copy link
Member Author

@ohadlevy this is being tested in the model, see the linked PR above...

@ohadlevy
Copy link
Member

btw: off topic - is there an easy way to zoom into the topology view? while looking at https://github.com/ansible/awx I saw they have something similar that represent workflows that you can zoom into and take actions in that context, maybe worth looking into that

@skateman
Copy link
Member Author

@ohadlevy work in progress patternfly/angular-patternfly#633

@skateman
Copy link
Member Author

@miq-bot remove_label pending core

@mzazrivec mzazrivec self-assigned this Dec 14, 2017
@mzazrivec mzazrivec added this to the Sprint 76 Ending Jan 1, 2018 milestone Dec 14, 2017
@mzazrivec mzazrivec merged commit da363ba into ManageIQ:master Dec 14, 2017
@skateman skateman deleted the writable-classification-tags branch December 14, 2017 10:36
simaishi pushed a commit that referenced this pull request Dec 14, 2017
Display only manually added my company tags on topology screens
(cherry picked from commit da363ba)

https://bugzilla.redhat.com/show_bug.cgi?id=1526049
@simaishi
Copy link
Contributor

Gaprindashvili backport details:

$ git log -1
commit ea91e52932b6839211965005b3c40300fc289d05
Author: Milan Zázrivec <mzazrivec@redhat.com>
Date:   Thu Dec 14 11:35:08 2017 +0100

    Merge pull request #3007 from skateman/writable-classification-tags
    
    Display only manually added my company tags on topology screens
    (cherry picked from commit da363ba749322d0354a07117e5e0dfd2b22b9336)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1526049

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