-
Notifications
You must be signed in to change notification settings - Fork 91
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#1637512-Restore action cable subscription, ensure enablement flag is available #1482
BZ#1637512-Restore action cable subscription, ensure enablement flag is available #1482
Conversation
@AllenBW the ActionCable is initialized in one more place:
|
ff34862
to
879ee5b
Compare
@skateman good catch, doesn't change behavior in above gif, updated! |
@AllenBW okay, but what if you force the refresh of a page (F5)? |
@skateman its all ok when you force refresh of a page (F5). I did that, then sent a notification, it showed up. |
hopefully just a restart.. |
@@ -23,7 +23,8 @@ export function ApplianceInfo ($sessionStorage) { | |||
role: data.identity.role, | |||
suiVersion: gitHash.gitCommit, | |||
miqVersion: data.server_info.version + '.' + data.server_info.build, | |||
server: data.server_info.appliance | |||
server: data.server_info.appliance, | |||
asyncNotify: data.settings.asynchronous_notifications || false |
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.
This should be true
by default, because the feature behind this is to turn it OFF.
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.
good info!
@@ -40,7 +40,8 @@ describe('Appliance Info Service', () => { | |||
'role': 'EvmRole-super_administrator', | |||
'miqVersion': 'master.20170510164252_9e5df30', | |||
'suiVersion': '', | |||
'server': 'EVM' | |||
'server': 'EVM', | |||
'asyncNotify': 'false' |
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.
true
please
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.
fiiineeeeee
879ee5b
to
a30d4b1
Compare
Yah needs a restart, maybe a few, timeouts are killin' travis, not spec fails 😋 |
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.
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.
LGTM 👍
A bit worried that we're initializing this in a service constructor,
but verified this service doesn't get instantiated on the login page,
and it is used by menus and the shopping cart, so it will be initialized on every page.
<3 |
BZ#1637512-Restore action cable subscription, ensure enablement flag is available (cherry picked from commit 3af8f1b) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1637512
Hammer backport details:
|
BZ#1637512-Restore action cable subscription, ensure enablement flag is available (cherry picked from commit 3af8f1b) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1639351
Gaprindashvili backport details:
|
fixes https://bugzilla.redhat.com/show_bug.cgi?id=1637512
Pretty much reimplements #1314, but now its working without errors
what it looks like, but yah really should jump in for yerself
and if you jump in... @skateman provided this wonderfully useful commands... (to be run from rails console)
or