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

[RHCLOUD-33811] Move notification drawer to its own module #2988

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading