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

BZ#1644250 - Added ability for documentation to be dynamically configured #1505

Merged
merged 1 commit into from
Nov 29, 2018
Merged

BZ#1644250 - Added ability for documentation to be dynamically configured #1505

merged 1 commit into from
Nov 29, 2018

Conversation

chalettu
Copy link
Contributor

@chalettu chalettu commented Nov 28, 2018

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

@miq-bot add_label bug
@miq-bot add_label gaprindashvili/yes
@miq-bot add_label hammer/yes

@miq-bot
Copy link
Member

miq-bot commented Nov 28, 2018

Checked commit https://github.com/chalettu/manageiq-ui-service/commit/ee99917cc66486ab501f3d85d42170ae968dd097 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
0 files checked, 0 offenses detected
Everything looks fine. 🏆


CollectionsApi.query('settings/help_menu/documentation').then((data) => {
const documentation = data.help_menu.documentation
const matches = documentation.href.match(/http.*(http.*)/)
Copy link
Member

Choose a reason for hiding this comment

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

What if this ends up being https? still work?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

should continue to work fine because .* accounts for any character after http. I wrote it intentionally so it would accept http:// or https:// .

@AllenBW
Copy link
Member

AllenBW commented Nov 28, 2018

@AllenBW AllenBW added this to the Sprint 100 Ending Dec 3, 2018 milestone Nov 28, 2018
@chalettu
Copy link
Contributor Author

@miq-bot add_label blocker

@AllenBW
Copy link
Member

AllenBW commented Nov 28, 2018

@chalettu any chance we can get a ss of a custom documentation url? I just tested this on my end, didn't see it take (but also didn't see cui take either)

@chalettu
Copy link
Contributor Author

Screenshot of documenation link going to a Redhat Rhel product info page instead of default documenation page.
documentation

Copy link
Member

@AllenBW AllenBW left a comment

Choose a reason for hiding this comment

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

Thanks for the ss!! <3 👍 lg2m!

@AllenBW AllenBW merged commit 224193f into ManageIQ:master Nov 29, 2018
simaishi pushed a commit that referenced this pull request Dec 3, 2018
BZ#1644250 - Added ability for documentation to be dynamically configured

(cherry picked from commit 224193f)

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

simaishi commented Dec 3, 2018

Hammer backport details:

$ git log -1
commit cb45ab6751447e5be57f9c06fffa0be716779d22
Author: Allen Wight <[email protected]>
Date:   Thu Nov 29 11:11:17 2018 -0500

    Merge pull request #1505 from chalettu/documentation
    
    BZ#1644250 - Added ability for documentation to be dynamically configured
    
    (cherry picked from commit 224193fdd8463573b3f8b3061dafda6437b38d90)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1644250

simaishi pushed a commit that referenced this pull request Dec 14, 2018
BZ#1644250 - Added ability for documentation to be dynamically configured

(cherry picked from commit 224193f)

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

Gaprindashvili backport details:

$ git log -1
commit c50b9770b12391ae47768735441e054f761242a1
Author: Allen Wight <[email protected]>
Date:   Thu Nov 29 11:11:17 2018 -0500

    Merge pull request #1505 from chalettu/documentation
    
    BZ#1644250 - Added ability for documentation to be dynamically configured
    
    (cherry picked from commit 224193fdd8463573b3f8b3061dafda6437b38d90)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1655769

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.

4 participants