Skip to content

Conversation

@Brijesh-Thakkar
Copy link
Contributor

Purpose

This PR completes the UI refactor from data-explorer to chart by updating all remaining
UI references that were not covered by the initial module rename.

The changes ensure consistent naming across the UI by:

  • Renaming Angular selectors from sp-data-explorer-* to sp-chart-*
  • Updating chart widget and config components (table, image, status, gauge, map, traffic-light,
    time-series, correlation, heatmap, indicator, and shared base widgets)
  • Cleaning up remaining data-explorer references in UI comments and test (data-cy) attributes

This aligns the UI codebase with the already renamed chart module and avoids confusion caused
by outdated naming.

Remarks

  • This PR contains UI-only refactoring and does not change runtime behavior or business logic.
  • No backend, API, or data model changes are included.
  • Changes were applied incrementally using small, focused commits to simplify review.

Related issues:

PR introduces (a) breaking change(s): no

PR introduces (a) deprecation(s): no

Copilot AI review requested due to automatic review settings December 31, 2025 16:20
@github-actions github-actions bot added the ui Anything that affects the UI label Dec 31, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR completes the UI refactoring effort by renaming remaining Angular component selectors and test attributes from data-explorer to chart, following the module rename completed in earlier PRs (#3986, #4021). The changes ensure consistent naming throughout the chart-related UI components.

  • Updates Angular component selectors from sp-data-explorer-* to sp-chart-* across all widget and configuration components
  • Renames one test data-cy attribute from data-explorer-select-delta-checkbox to chart-select-delta-checkbox
  • Updates a documentation comment to reference the renamed module

Reviewed changes

Copilot reviewed 21 out of 21 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
abstract-chart-view.directive.ts Updates comment to reference chart module instead of data-explorer
chart-overview.component.html Updates component selector reference from sp-data-explorer-overview-table to sp-chart-overview-table
chart-overview-table.component.ts Renames component selector from sp-data-explorer-overview-table to sp-chart-overview-table
traffic-light-widget.component.ts Renames component selector from sp-data-explorer-traffic-light-widget to sp-chart-traffic-light-widget
traffic-light-widget-config.component.ts Renames config component selector from sp-data-explorer-traffic-light-widget-config to sp-chart-traffic-light-widget-config
time-series-chart-widget-config.component.ts Renames config component selector from sp-data-explorer-time-series-chart-widget-config to sp-chart-time-series-chart-widget-config
table-widget.component.ts Renames component selector from sp-data-explorer-table-widget to sp-chart-table-widget
table-widget-config.component.ts Renames config component selector from sp-data-explorer-table-widget-config to sp-chart-table-widget-config
status-widget.component.ts Renames component selector from sp-data-explorer-status-widget to sp-chart-status-widget
status-widget-config.component.ts Renames config component selector from sp-data-explorer-status-widget-config to sp-chart-status-widget-config
status-heatmap-widget-config.component.ts Renames config component selector from sp-data-explorer-status-heatmap-widget-config to sp-chart-status-heatmap-widget-config
map-widget.component.ts Renames component selector from sp-data-explorer-map-widget to sp-chart-map-widget
map-widget-config.component.ts Renames config component selector from sp-data-explorer-map-widget-config to sp-chart-map-widget-config
indicator-chart-widget-config.component.ts Renames config component selector from sp-data-explorer-indicator-chart-widget-config to sp-chart-indicator-chart-widget-config
indicator-chart-widget-config.component.html Updates test attribute from data-explorer-select-delta-checkbox to chart-select-delta-checkbox
image-widget.component.ts Renames component selector from sp-data-explorer-image-widget to sp-chart-image-widget
image-widget-config.component.ts Renames config component selector from sp-data-explorer-image-widget-config to sp-chart-image-widget-config
heatmap-widget-config.component.ts Renames config component selector from sp-data-explorer-heatmap-widget-config to sp-chart-heatmap-widget-config
gauge-widget-config.component.ts Renames config component selector from sp-data-explorer-gauge-widget-config to sp-chart-gauge-widget-config
correlation-chart-widget-config.component.ts Renames config component selector from sp-data-explorer-correlation-chart-widget-config to sp-chart-correlation-chart-widget-config
echarts-widget.component.ts Renames base component selector from sp-data-explorer-echarts-widget to sp-chart-echarts-widget

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ui Anything that affects the UI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename data-explorer UI module to chart

1 participant