-
Notifications
You must be signed in to change notification settings - Fork 357
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
Set the href for notifications emitted through WS the same as in API #4493
Set the href for notifications emitted through WS the same as in API #4493
Conversation
Checked commit skateman@2c71a54 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
@miq-bot rm_label pending core |
I think it's ok. Ping @Hyperkid123, @karelhala or @himdel ? |
@skateman @martinpovolny i think it should work, but i'm not sure about support in IE. I will check it on Monday as soon as possible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its working
EDIT: never mind, this is data, not the url that gets used |
One more thing, according to https://developer.mozilla.org/en-US/docs/Web/API/Window/location#Browser_compatibility , |
AFAIK we support IE11 only |
|
@himdel do we support IE10 in the G-release? I thought we dropped it way earlier... |
I don't know for sure, sorry :( |
@epwinchell says it was around fine or before, so it's safe to backport. |
The notification mark/delete would might work without this, but it's better to have the same full
href
for the items as it would come from the API. I am not sure about thewindow.location.origin
, maybe there's a better way, so pinging some JS-people for review.Depends on: ManageIQ/manageiq#17875
@miq-bot add_reviewer @martinpovolny
@miq-bot add_reviewer @Hyperkid123
@miq-bot add_reviewer @karelhala
@miq-bot add_label pending core, bug
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1618705