-
Notifications
You must be signed in to change notification settings - Fork 917
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
[Research] OUI Compliance audit of the inspector
plugin
#4084
Comments
src/plugins/inspector/public/views/_index.scss imports styles from src/plugins/inspector/public/views/data/_index.scss and src/plugins/inspector/public/views/data/_index.scss imports styles from src/plugins/inspector/public/views/data/_data_table.scss. src/plugins/inspector/public/index.scss imports styles from src/plugins/inspector/public/views/_index.scss. src/plugins/inspector/public/views/requests/_index.scss imports styles from src/plugins/inspector/public/views/requests/_requests.scss. As a dependency graph, it looks like this: graph TD;
public/index.scss-->public/views/_index.scss;
public/views/_index.scss-->public/views/data/_index.scss;
public/views/_index.scss-->public/views/requests/_index.scss;
public/views/data/_index.scss-->public/views/data/_data_table.scss;
public/views/requests/_index.scss-->public/views/requests/_requests.scss;
Therefore, the main files to look at are _requests.scss, inspector_panel.scss and _data_table.scss. data.table.scss
OpenSearch-Dashboards/src/plugins/inspector/public/views/data/_data_table.scss Lines 1 to 8 in 20c928f
I think, those properties are still needed, as OUI doesn't currently allow this type of behaviour for a button icon.
requests.scss
OpenSearch-Dashboards/src/plugins/inspector/public/views/requests/_requests.scss Lines 1 to 14 in 20c928f
In request_selector.tsx file a div is styled using OpenSearch-Dashboards/src/plugins/inspector/public/views/requests/components/request_selector.tsx Lines 163 to 173 in 20c928f
inspector_panel.scss
I manually tested if something is changing when I delete that class. I suppose now it is redundant, since Flyout component behaved exactly the same way without a custom class. Conclusion:
|
@BSFishy could you please assign me this issue? |
@nurSaadat When you get a chance, can you just copy/paste your audit to a separate issue? |
Tracking issue for OUI compliance audit of the
inspector
plugin.Follow the steps in #3945 to complete the audit, then open another issue with findings. Once the work of performing the audit is done, this issue can be closed.
Related files
If this issue isn't already assigned to someone and you'd like to take on this work, please ping @BSFishy in the comments and I can assign it to you.
The text was updated successfully, but these errors were encountered: