justinpark opened a new pull request, #33269:
URL: https://github.com/apache/superset/pull/33269

   ### SUMMARY
   With the migration to eChart, the logic for colnames in the legacy 
time-series has changed. When applying a time shift, the metric name is 
displayed along with the formula, making it difficult to review the column 
items.
   
   |legacy chart|echart|
   |--|--|
   |![Screenshot_2025-04-28_at_4_21_16 
PM](https://github.com/user-attachments/assets/db6efdda-8dce-4c92-b381-1a078ec2a1ff)|![Screenshot
 2025-04-28 at 4 25 22 
PM](https://github.com/user-attachments/assets/49fc5ffe-5824-4357-9148-32f678071584)|
   
   This commit expands the existing rename post-processing logic applied to 
actual values, enabling it to be similarly applied when multiple metrics are 
selected and when the comparison type is not actual values.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   
   ||Before|After|legacy chart|
   |--|--|--|--|
   |1 metric|![Screenshot 2025-04-28 at 4 25 22 
PM](https://github.com/user-attachments/assets/49fc5ffe-5824-4357-9148-32f678071584)|![Screenshot
 2025-04-28 at 4 23 11 
PM](https://github.com/user-attachments/assets/5e2967bf-2d8b-4d2a-a21d-81a5311ceff6)|![Screenshot_2025-04-28_at_4_54_12
 
PM](https://github.com/user-attachments/assets/f316311c-1735-409d-901c-92b4a2feb9cc)|
   |multi metrics|![Screenshot 2025-04-28 at 4 25 02 
PM](https://github.com/user-attachments/assets/c22e2e39-0c36-46ff-bcf4-a58858fab2ab)|![Screenshot
 2025-04-28 at 4 23 31 
PM](https://github.com/user-attachments/assets/11891406-3892-401e-a37a-45929a721eaa)|![Screenshot_2025-04-28_at_4_21_51
 
PM](https://github.com/user-attachments/assets/936841f9-cb8d-4cb5-ae71-44634b1dfdca)|
   
   
   ### TESTING INSTRUCTIONS
   Create a bar chart and apply time shift
   Select any value other than "actual values" in calculation type
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [ ] Has associated issue:
   - [ ] Required feature flags:
   - [ ] Changes UI
   - [ ] Includes DB Migration (follow approval process in 
[SIP-59](https://github.com/apache/superset/issues/13351))
     - [ ] Migration is atomic, supports rollback & is backwards-compatible
     - [ ] Confirm DB migration upgrade and downgrade tested
     - [ ] Runtime estimates and downtime expectations provided
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to