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 Missing button features to miq_features.yaml #16027

Merged

Conversation

PanSpagetka
Copy link
Contributor

@PanSpagetka PanSpagetka commented Sep 25, 2017

Add features to miq_features.yaml

Screenshots:

Commit1:

Before:

screencapture-localhost-3000-container_build-show-10000000000003-1506513480250

After:

screencapture-localhost-3000-container_build-show-10000000000003-1506513608261

Commit2:

Before:

screencapture-localhost-3000-vm_cloud-explorer-1506513442205

After:

screencapture-localhost-3000-vm_cloud-explorer-1506512592811

Commit3:

No screenshot, you need paused instance.

Commit 4:

Before:

screencapture-localhost-3000-ops-explorer-1511438429146
screencapture-localhost-3000-ops-explorer-1511438416967

After:

screencapture-localhost-3000-ops-explorer-1511441139004
screencapture-localhost-3000-ops-explorer-1511441040261
screencapture-localhost-3000-ops-explorer-1511441025139

Issue:

ManageIQ/manageiq-ui-classic#2208

Steps for Testing/QA [Optional]

Look at all modified screens, that button is there and nothing goes wrong.
For enabling LDAP you need to add :new_ldap: true into :product: in configuration.yaml

@PanSpagetka
Copy link
Contributor Author

@miq-bot add_label wip

@miq-bot miq-bot added the wip label Sep 25, 2017
@romanblanco
Copy link
Member

@miq-bot assign @romanblanco

@PanSpagetka PanSpagetka changed the title [WIP] Add Container Build Scan to miq_features.yaml [WIP] Add Missing button features to miq_features.yaml Sep 29, 2017
@PanSpagetka
Copy link
Contributor Author

@miq-bot remove_label wip

@PanSpagetka
Copy link
Contributor Author

@romanblanco please review

@PanSpagetka PanSpagetka changed the title [WIP] Add Missing button features to miq_features.yaml Add Missing button features to miq_features.yaml Nov 23, 2017
@miq-bot miq-bot removed the wip label Nov 23, 2017
@PanSpagetka PanSpagetka force-pushed the modify-miq-features-for-buttons branch from 65d8af2 to 0aa1c21 Compare November 23, 2017 12:48
@PanSpagetka PanSpagetka force-pushed the modify-miq-features-for-buttons branch from 0aa1c21 to d0c97b7 Compare November 23, 2017 13:17
@miq-bot
Copy link
Member

miq-bot commented Nov 23, 2017

Checked commits PanSpagetka/manageiq@ef72767~...d0c97b7 with ruby 2.3.3, rubocop 0.47.1, haml-lint 0.20.0, and yamllint 1.10.0
1 file checked, 1 offense detected

**

  • 💣 💥 🔥 🚒 - Linter/Yaml - missing config files

@romanblanco
Copy link
Member

romanblanco commented Nov 24, 2017

Steps to reproduce + review:

commit ef72767: ComputeContainersContainer Builds → [select a build in GTL]

  • review: The Configuration button
    (container_build_scan) that should be enabled by the changes displays correctly 👍. I'm missing the PDF downolad button, that is visible on the screenshots, but this might be intentional

commit a16d9a5: ComputeCloudsInstancesImages accordion → [select an image in GTL]

  • review: Both image_reconfigure and image_right_size show up 👍

commit b449c4e: ComputeCloudsInstances → [select a paused instance in GTL]

commit d0c97b7:

  1. enable LDAP:

    • ConfigurationSettings accordion → Advanced tab → [update the YAML configuration by adding :new_ldap under :product]

       :product:
        :new_ldap: true
  2. add a LdapRegion, easiest way is probably by Rails console:

    [6] pry(main)> a = LdapRegion.new(:name => "Spaghetti")
    => #<LdapRegion:0x00565155a08c08 id: nil, name: "Spaghetti", description: nil, zone_id: nil, created_at: nil, updated_at: nil>
    [7] pry(main)> a.save!
       (0.3ms)  BEGIN
      LdapRegion Exists (0.5ms)  SELECT  1 AS one FROM "ldap_regions" WHERE "ldap_regions"."name" = $1 LIMIT $2  [["name", "Spaghetti"], ["LIMIT", 1]]
      SQL (3.8ms)  INSERT INTO "ldap_regions" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"  [["name", "Spaghetti"], ["created_at", "2017-11-22 13:20:50.221899"], ["updated_at", "2017-11-22 13:20:50.221899"]]
       (1.2ms)  COMMIT
    => true
  3. restart Rails server

  4. ConfigurationSettings accordion → [select LDAP in tree in Settings accordion]
    - review: works 👍

Copy link
Member

@romanblanco romanblanco left a comment

Choose a reason for hiding this comment

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

Tested changes, looks good to me 👍

@romanblanco
Copy link
Member

@miq-bot assign @himdel

@miq-bot miq-bot assigned himdel and unassigned romanblanco Nov 24, 2017
@himdel
Copy link
Contributor

himdel commented Nov 27, 2017

@miq-bot assign martinpovolny

(LGTM, but I can't merge here)

@miq-bot miq-bot assigned martinpovolny and unassigned himdel Nov 27, 2017
@martinpovolny
Copy link
Member

Gaprindashvili?

@martinpovolny martinpovolny added this to the Sprint 74 Ending Nov 27, 2017 milestone Nov 27, 2017
@martinpovolny
Copy link
Member

martinpovolny commented Nov 27, 2017

@PanSpagetka : don't we need any of the new features in the miq_user_roles.yaml?

http://talk.manageiq.org/t/product-features-and-roles/2855

@PanSpagetka
Copy link
Contributor Author

@martinpovolny I don't think so, I didn't create any new category, just add to existing ones. So it should be included in existing ones.

And yes, I think this should be backported to G.

@martinpovolny martinpovolny merged commit 8890083 into ManageIQ:master Nov 28, 2017
simaishi pushed a commit that referenced this pull request Nov 28, 2017
…ttons

Add Missing button features to miq_features.yaml
(cherry picked from commit 8890083)
@simaishi
Copy link
Contributor

Gaprindashvili backport details:

$ git log -1
commit 944d7a779d891aceba7612ab347c4449bb4aa696
Author: Martin Povolny <mpovolny@redhat.com>
Date:   Tue Nov 28 15:40:41 2017 +0100

    Merge pull request #16027 from PanSpagetka/modify-miq-features-for-buttons
    
    Add Missing button features to miq_features.yaml
    (cherry picked from commit 88900836e9767ab47c3609a48dd7fb965cc3a17c)

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.

6 participants