-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
fix react websockets implementation #13334
Conversation
add location hook to Routes component to send router location on change export sendActivity to enabling sending path from location hook only subscribe to tracker endpoint when user is an admin disconnect and unsubscribe on logout Fix jhipster#12729
@ruddell : if you feel confident, plz go ahead and merge it. So it will be included for JH v7 beta |
@@ -39,6 +39,9 @@ import PrivateRoute from 'app/shared/auth/private-route'; | |||
import ErrorBoundaryRoute from 'app/shared/error/error-boundary-route'; | |||
import PageNotFound from 'app/shared/error/page-not-found'; | |||
import { AUTHORITIES } from 'app/config/constants'; | |||
<%_ if (websocket === 'spring-websocket') { _%> | |||
import { sendActivity } from "app/config/websocket-middleware"; |
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.
+ 'app/config/websocket-middleware'
- "app/config/websocket-middleware"
🙂
Bug bounty claimed at https://opencollective.com/generator-jhipster/expenses/30309 |
@ruddell : approved |
I restarted the daily builds for React, and it seems not working with Protractor e2e and prod profile:
|
also remove unused onhashchange method related to jhipster#13334
also remove unused onhashchange method related to #13334
also remove unused onhashchange method related to jhipster#13334
Fix #12729
Please make sure the below checklist is followed for Pull Requests.