Skip to content

Commit

Permalink
working drawer with websocket; needs toggle and ref fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake Holifield committed Jan 10, 2025
1 parent 5ecbef3 commit 92b96f4
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 374 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ For more detailed information about chrome and what it provides, [look through t

## JavaScript API

Insights Chrome comes with a Javacript API that allows applications to control navigation, global filters, etc.
Insights Chrome comes with a Javascript API that allows applications to control navigation, global filters, etc.

Check out the [useChrome hook docs](http://front-end-docs-insights.apps.ocp4.prod.psi.redhat.com/chrome/chrome-api#Chrome)

Expand Down Expand Up @@ -93,7 +93,7 @@ See [local search development documentation](./docs/localSearchDevelopment.md).
## LocalStorage Debugging
There are some localStorage values for you to enable debuging information or enable some values that are in experimental state. If you want to enable them call `const iqe = insights.chrome.enable.iqe()` for instance to enable such service. This function will return callback to disable such feature so calling `iqe()` will remove such item from localStorage.
There are some localStorage values for you to enable debugging information or enable some values that are in experimental state. If you want to enable them call `const iqe = insights.chrome.enable.iqe()` for instance to enable such service. This function will return callback to disable such feature so calling `iqe()` will remove such item from localStorage.
Available function:
Expand All @@ -102,9 +102,9 @@ Available function:
- `jwtDebug` - to enable debugging of JWT
- `remediationsDebug` - to enable debug buttons in remediations app
- `shortSession` - to enable short session in order to test automatic logouts
- `forcePendo` - to force Pendo initializtion
- `forcePendo` - to force Pendo initialization
- `appFilter` - to enable new application filter in any environment
## Futher reading
## Further reading
More detailed documentation can be found in the [docs section](https://github.com/redhatinsights/insights-chrome/tree/master/docs)
3 changes: 3 additions & 0 deletions config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,9 @@ const commonConfig = ({ dev }) => {
host: `http://localhost:${process.env.NAV_CONFIG}`,
},
}),
'/apps/notifications': {
host: 'http://0.0.0.0:8003',
},
},
}),
},
Expand Down
2 changes: 1 addition & 1 deletion docs/wsSubscription.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ const ConsumerComponent = () => {
}


```
```
Loading

0 comments on commit 92b96f4

Please sign in to comment.