[Observability Solution][Maintenance] Move to Emotion CSS, enable Telemetry and i18n ESLint rules for all Obs plugins #177785
Conversation
|
Pinging @elastic/obs-ux-management-team (Team:obs-ux-management) |
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
…Warmer/kibana into feat/observability-solution-cleanup
There was a problem hiding this comment.
The Telemetry ESLint rule is configured to autofix, so the CI has added these.
There was a problem hiding this comment.
| <EuiButton data-test-subj="logsExplorerListStatusButton" onClick={onRetry}> | |
| <EuiButton data-test-subj="logsExplorerListStatusRetryButton" onClick={onRetry}> |
2369e2a to
50a0272
Compare
| button={ | ||
| <EuiButtonEmpty onClick={togglePopover} iconType="arrowDown" iconSide="right"> | ||
| <EuiButtonEmpty | ||
| data-test-subj="observabilityLogsExplorerAlertsPopoverAlertsButton" |
There was a problem hiding this comment.
The Telemetry ESLint rule is configured to autofix, so the CI has added these.
packages/kbn-optimizer/limits.yml
Outdated
| links: 44490 | ||
| lists: 22900 | ||
| logsExplorer: 55000 | ||
| logsExplorer: 57000 |
There was a problem hiding this comment.
Bundle was going 1.2kb over the limit
cauemarcondes
left a comment
There was a problem hiding this comment.
LGTM, thanks for that
..._solution/logs_explorer/public/components/flyout_detail/sub_components/highlight_section.tsx
Outdated
Show resolved
Hide resolved
…ponents/flyout_detail/sub_components/highlight_section.tsx Co-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani01@gmail.com>
tonyghiani
left a comment
There was a problem hiding this comment.
logs_explorer changes LGTM, just left a couple of code suggestions for data-test-subj naming
|
Pinging @elastic/obs-knowledge-team (Team:obs-knowledge) |
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
Summary
This does two things:
Why?
Move to Emotion CSS
There were four .scss files total in the 17 Observability plugins. Two of them were empty. The remaining two had one class each. By removing the two empty files and moving to Emotion, we can remove the lines pertaining to .scss files in the CODEOWNERS file.
Enabling Telemetry and i18n ESLint rules for all Observability apps
One of the reasons for consolidating Obs apps into one folder was to create a more consistent development experience across apps in the Observability org.
By changing the eslint rule config to enable the Telemetry and i18n ESLint rules on all
.tsandtsxfiles inobservability_solution, we enable the rule for 5 apps that did not have them enabled before and we ensure that the rule will immediately be enabled on new Observability applications at the moment of creation.Related PRs: