Coder Social home page Coder Social logo

Comments (11)

chriskacerguis avatar chriskacerguis commented on July 18, 2024

@dtaylor113 can you please take a look here?

/cc @serenamarie125

from manageiq-ui-service.

dtaylor113 avatar dtaylor113 commented on July 18, 2024

Hi, what are "tag control fields"? Is this just a 'DialogFieldDropDownList', or does it have something to do with the tagging api?
I am able to see dialog drop down lists in Ops UI and SUI:

image

image

from manageiq-ui-service.

fabiendupont avatar fabiendupont commented on July 18, 2024

@dtaylor113 I don't know how it is implemented but it is a specific type of field proposed by CloudForms when creating a dialog. When you select this type of field, you then have to select the tag category you want to expose. My workaround is currently to use dynamic Dropdown List calling an instance /UI/DDL/TagControl_<tag_category>, itself calling a method with the following code:

dialog_field = $evm.object
dialog_field['sort_by'] = 'description'
dialog_field['sort_order'] = 'ascending'
dialog_field['data_type'] = 'string'
dialog_field['required'] = true

tag_name = $evm.current_instance.gsub(/^TagControl_/, '')
c_hash = Hash.new
$evm.vmdb('classification').all.each do |c|
  next if c.parent.nil?
  next unless c.parent.name == tag_name
  c_hash[c.name] = c.description
end

$evm.log(:info, "Dialog Field Values : #{c_hash.inspect}")
dialog_field['values'] = c_hash

This workaround allows me to expose tags in the SSUI. A positive side effect is that I can add extra filtering based on content when I have a (hierachical) relationship between tags.

from manageiq-ui-service.

dtaylor113 avatar dtaylor113 commented on July 18, 2024

Hi @EvenIT , thanks for the info., I'm somewhat new to MiQ Ops UI, where exactly can I create a new dialog? I'm in Services -> Catalogs, and Services -> Service Catalogs. I see under Configuration where I can "Add a New Catalog" and "Add a new Catalog Item", "....Bundle". I run through those wizards, but I do not see where I can create a new dialog -I see where I can select an existing dialog.
Thanks,

  • Dave

from manageiq-ui-service.

chriskacerguis avatar chriskacerguis commented on July 18, 2024

Also, just wanted to chime in here. @EvenIT is this for the Self Service UI (this repo) or for the main MIQ repo?

from manageiq-ui-service.

dtaylor113 avatar dtaylor113 commented on July 18, 2024

@chriskacerguis , I believe the bug is in SUI, not being able to display a dialog field type.

from manageiq-ui-service.

serenamarie125 avatar serenamarie125 commented on July 18, 2024

@dtaylor113 In the Ops UI, go to Automate -> Customization. Then select to the Service Dialogs area of the accordion. Then click on the Configuration menu and hit Add a new Dialog. here are a couple more screenshots to show you the current flow
screen shot 2016-10-17 at 10 09 13 pm

screen shot 2016-10-17 at 10 11 08 pm

screen shot 2016-10-17 at 10 11 34 pm

screen shot 2016-10-17 at 10 12 28 pm

from manageiq-ui-service.

serenamarie125 avatar serenamarie125 commented on July 18, 2024

@chriskacerguis I'd consider this as a bug. At this point, any service should be "orderable" from the Self Service UI. This issue blocks that 😺

from manageiq-ui-service.

dtaylor113 avatar dtaylor113 commented on July 18, 2024

Thank you for the information!!!

On Mon, Oct 17, 2016 at 11:13 PM, Serena Chechile Doyle <
[email protected]> wrote:

@dtaylor113 https://github.com/dtaylor113 In the Ops UI, go to Automate
-> Customization. Then select to the Service Dialogs area of the accordion.
Then click on the Configuration menu and hit Add a new Dialog. here are a
couple more screenshots to show you the current flow
[image: screen shot 2016-10-17 at 10 09 13 pm]
https://cloud.githubusercontent.com/assets/12504403/19463082/e170b1b4-94b6-11e6-85b2-9dcacd5e1801.png

[image: screen shot 2016-10-17 at 10 11 08 pm]
https://cloud.githubusercontent.com/assets/12504403/19463087/e7bfa98a-94b6-11e6-9d00-60c7b7f5f73d.png

[image: screen shot 2016-10-17 at 10 11 34 pm]
https://cloud.githubusercontent.com/assets/12504403/19463093/eea7103a-94b6-11e6-91c6-bce9fc6c91c9.png

[image: screen shot 2016-10-17 at 10 12 28 pm]
https://cloud.githubusercontent.com/assets/12504403/19463099/f4c5880c-94b6-11e6-869d-4169d352a842.png


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#105 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMJK4fOTyWZTvqMGVX00lH0VmFbT0Q9xks5q1DlogaJpZM4Jv0xQ
.

Dave Taylor
Principle Software Engineer
(978) 392 - 1016

from manageiq-ui-service.

fabiendupont avatar fabiendupont commented on July 18, 2024

Thanks Serena for taking the time to explain and do screenshots.
Sorry for not having followed up on this ticket.

2016-10-18 14:58 GMT+02:00 Dave Taylor [email protected]:

Thank you for the information!!!

On Mon, Oct 17, 2016 at 11:13 PM, Serena Chechile Doyle <
[email protected]> wrote:

@dtaylor113 https://github.com/dtaylor113 In the Ops UI, go to
Automate
-> Customization. Then select to the Service Dialogs area of the
accordion.
Then click on the Configuration menu and hit Add a new Dialog. here are a
couple more screenshots to show you the current flow
[image: screen shot 2016-10-17 at 10 09 13 pm]
<https://cloud.githubusercontent.com/assets/12504403/19463082/e170b1b4-
94b6-11e6-85b2-9dcacd5e1801.png>

[image: screen shot 2016-10-17 at 10 11 08 pm]
<https://cloud.githubusercontent.com/assets/12504403/19463087/e7bfa98a-
94b6-11e6-9d00-60c7b7f5f73d.png>

[image: screen shot 2016-10-17 at 10 11 34 pm]
<https://cloud.githubusercontent.com/assets/12504403/19463093/eea7103a-
94b6-11e6-91c6-bce9fc6c91c9.png>

[image: screen shot 2016-10-17 at 10 12 28 pm]
<https://cloud.githubusercontent.com/assets/12504403/19463099/f4c5880c-
94b6-11e6-869d-4169d352a842.png>


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/ManageIQ/manageiq-ui-self_service/
issues/105#issuecomment-254395446>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
AMJK4fOTyWZTvqMGVX00lH0VmFbT0Q9xks5q1DlogaJpZM4Jv0xQ>
.

Dave Taylor
Principle Software Engineer
(978) 392 - 1016


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#105 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABk59G68V6Xyd2oVrD-Zq2t1le5kuloZks5q1MJogaJpZM4Jv0xQ
.

from manageiq-ui-service.

chriskacerguis avatar chriskacerguis commented on July 18, 2024

@dtaylor113 thanks for the fix here! Well done!!!!!!

from manageiq-ui-service.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.