Skip to content

fix: Table time comparison breaking after form data update#29525

Merged
kgabryje merged 2 commits intoapache:masterfrom
kgabryje:fix/table-time-comparison
Jul 9, 2024
Merged

fix: Table time comparison breaking after form data update#29525
kgabryje merged 2 commits intoapache:masterfrom
kgabryje:fix/table-time-comparison

Conversation

@kgabryje
Copy link
Member

@kgabryje kgabryje commented Jul 9, 2024

SUMMARY

PR #28312 introduced an issue in time comparison feature in Table viz plugin.
This PR swaps visibility to hidden in time comparison controls, so that their values would not get removed from form data.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Before:

Screen.Recording.2024-07-09.at.11.52.53.mov

After:

Screen.Recording.2024-07-09.at.11.51.19.mov

TESTING INSTRUCTIONS

  1. Create a table chart with time comparison
  2. Change time comparison
  3. Verify that time comparison columns are still present.

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • 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

@dosubot dosubot bot added the viz:charts:table Related to the Table chart label Jul 9, 2024
);
});

test('hidden state of controls is correctly applied', async () => {

Choose a reason for hiding this comment

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

❤️

Copy link
Member

@Antonio-RiveroMartnez Antonio-RiveroMartnez left a comment

Choose a reason for hiding this comment

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

Great!

@kgabryje kgabryje merged commit 3d06651 into apache:master Jul 9, 2024
@michael-s-molina michael-s-molina added the review:checkpoint Last PR reviewed during the daily review standup label Jul 9, 2024
@rusackas rusackas removed the review:checkpoint Last PR reviewed during the daily review standup label Jul 10, 2024
@github-actions github-actions bot added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 4.1.0 First shipped in 4.1.0 labels Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels packages size/M viz:charts:table Related to the Table chart 🚢 4.1.0 First shipped in 4.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants