[Lens/SCSS] Replace scss to css-in-js for Lens codebase#209768
[Lens/SCSS] Replace scss to css-in-js for Lens codebase#209768markov00 merged 48 commits intoelastic:mainfrom
Conversation
ff2d743 to
9231fc4
Compare
|
Pinging @elastic/kibana-visualizations (Team:Visualizations) |
db99549 to
b4fe4b7
Compare
.../shared/lens/public/datasources/form_based/operations/definitions/filters/filter_popover.tsx
Show resolved
Hide resolved
| width: 256px; | ||
| `, | ||
| item: ({ euiTheme }: UseEuiTheme) => ` | ||
| & + & { |
There was a problem hiding this comment.
personally I pefer CSS over JS, but. we are migrating to a CSS-in-JS so I believe we can take advantage of that to make the style less difficult to read and maintain
💚 Build SucceededMetrics [docs]Module Count
Async chunks
Page load bundle
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
cc @markov00 |
|
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/13953005734 |
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
Replace SCSS in css-in-js for Lens codebase
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Replace SCSS in css-in-js for Lens codebase
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
Replace SCSS in css-in-js for Lens codebase (cherry picked from commit de52f41) # Conflicts: # x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel_wrapper.scss # x-pack/platform/plugins/shared/lens/public/visualization_container.scss # x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/axis_settings_popover.tsx
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
… (#215974) # Backport This will backport the following commits from `main` to `8.x`: - [[Lens/SCSS] Replace scss to css-in-js for Lens codebase (#209768)](#209768) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Marta Bondyra","email":"4283304+mbondyra@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-03-19T17:33:23Z","message":"[Lens/SCSS] Replace scss to css-in-js for Lens codebase (#209768)\n\nReplace SCSS in css-in-js for Lens codebase","sha":"de52f41a5c1d5ea81ace9c49196dd07e45990edf","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["technical debt","Team:Visualizations","release_note:skip","Feature:Lens","backport missing","ci:build-webpack-bundle-analyzer","backport:version","v9.1.0","v8.19.0"],"title":"[Lens/SCSS] Replace scss to css-in-js for Lens codebase","number":209768,"url":"https://github.com/elastic/kibana/pull/209768","mergeCommit":{"message":"[Lens/SCSS] Replace scss to css-in-js for Lens codebase (#209768)\n\nReplace SCSS in css-in-js for Lens codebase","sha":"de52f41a5c1d5ea81ace9c49196dd07e45990edf"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/209768","number":209768,"mergeCommit":{"message":"[Lens/SCSS] Replace scss to css-in-js for Lens codebase (#209768)\n\nReplace SCSS in css-in-js for Lens codebase","sha":"de52f41a5c1d5ea81ace9c49196dd07e45990edf"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> --------- Co-authored-by: Marta Bondyra <4283304+mbondyra@users.noreply.github.com> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Maria Iriarte <106958839+mariairiartef@users.noreply.github.com>
Replace SCSS in css-in-js for Lens codebase
Summary
Rewrites scss to css-in-js for Lens codebase.
lens/public/visualizations/legacy_metric/dimension_editor.scsslens/public/visualizations/gauge/dimension_editor.scsslens/public/visualizations/datatable/components/dimension_editor.scsslens/public/visualizations/heatmap/dimension_editor.scsslens/public/datasources/common/field_item.scsslens/public/visualizations/partition/toolbar.scsslens/public/visualizations/xy/xy_config_panel/axis_settings_popover.scsslens/public/datasources/form_based/help_popover.scsslens/public/editor_frame_service/editor_frame/config_panel/dimension_container.scsslens/public/editor_frame_service/editor_frame/data_panel_wrapper.scsslens/public/visualizations/gauge/toolbar_component/gauge_config_panel.scsslens/public/datasources/form_based/dimension_panel/field_select.scsslens/public/datasources/form_based/operations/definitions/filters/filter_popover.scsslens/public/datasources/form_based/operations/definitions/filters/filters.scsslens/public/datasources/form_based/operations/definitions/ranges/advanced_editor.scsslens/public/datasources/form_based/operations/definitions/shared_components/form_row.scsslens/public/editor_frame_service/editor_frame/workspace_panel/geo_field_workspace_panel.scsslens/public/shared_components/toolbar_popover.scsslens/public/app_plugin/app.scsslens/public/editor_frame_service/editor_frame/workspace_panel/message_list.scsslens/public/shared_components/setting_with_sibling_flyout.scsslens/public/visualizations/datatable/components/table_basic.scsslens/public/_mixins.scsslens/public/_variables.scsslens/public/datasources/form_based/datapanel.scsslens/public/datasources/form_based/dimension_panel/dimension_editor.scsslens/public/datasources/form_based/operations/definitions/formula/editor/formula.scsslens/public/editor_frame_service/editor_frame/config_panel/chart_switch/chart_switch.scsslens/public/editor_frame_service/editor_frame/config_panel/layer_panel.scsslens/public/editor_frame_service/editor_frame/frame_layout.scsslens/public/editor_frame_service/editor_frame/suggestion_panel.scsslens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel_wrapper.scsslens/public/react_embeddable/user_messages/info_badges.scsslens/public/shared_components/dataview_picker/toolbar_button.scsslens/public/shared_components/flyout_container.scsslens/public/trigger_actions/open_lens_config/helpers.scsslens/public/visualization_container.scss