Skip to content

refactor: preparation for time section migration#21766

Merged
zhaoyongjie merged 3 commits into
apache:masterfrom
zhaoyongjie:refactor/prepare_to_move_timefilter
Oct 12, 2022
Merged

refactor: preparation for time section migration#21766
zhaoyongjie merged 3 commits into
apache:masterfrom
zhaoyongjie:refactor/prepare_to_move_timefilter

Conversation

@zhaoyongjie
Copy link
Copy Markdown
Member

@zhaoyongjie zhaoyongjie commented Oct 11, 2022

SUMMARY

In order to easily review the Time Section Migration, all refactoring work is done in this PR. This PR shouldn't change any current behaviors.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

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

Copy link
Copy Markdown
Member

@villebro villebro left a comment

Choose a reason for hiding this comment

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

LGTM with minor constant nit. I hadn't realized how many times we already check for isFeatureEnabled(FeatureFlags.GENERIC_CHART_AXES) 😄

export const formatTimeRange = (timeRange: string) => {
export const formatTimeRange = (
timeRange: string,
columnPlaceholder = 'col',
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nice addition 👍

@zhaoyongjie zhaoyongjie merged commit 8f61e3c into apache:master Oct 12, 2022
zhaoyongjie added a commit to zhaoyongjie/incubator-superset that referenced this pull request Oct 12, 2022
@zhaoyongjie zhaoyongjie mentioned this pull request Oct 12, 2022
9 tasks
zhaoyongjie added a commit that referenced this pull request Oct 12, 2022
@mistercrunch mistercrunch added the 🚢 2.1.3 First shipped in 2.1.3 label Feb 18, 2024
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 2.1.0 First shipped in 2.1.0 and removed 🚢 2.1.3 First shipped in 2.1.3 labels Mar 13, 2024
qfcwell pushed a commit to qfcwell/superset that referenced this pull request May 12, 2026
qfcwell pushed a commit to qfcwell/superset that referenced this pull request May 12, 2026
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 size/XL 🚢 2.1.0 First shipped in 2.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants