Skip to content

Conversation

@kgabryje
Copy link
Member

@kgabryje kgabryje commented Aug 5, 2024

SUMMARY

Lazy load rehype-raw and react-markdown libraries.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Notice that rehype-raw is now in a separate chunk instead of an entry, meaning that it will only load when there's a markdown component on a dashboard.

Before:

Screenshot 2024-08-05 at 15 50 10

After:

Screenshot 2024-08-05 at 15 33 45

TESTING INSTRUCTIONS

Dashboard should work fine with and without markdown components

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 change:frontend Requires changing the frontend dashboard:performance Related to Dashboard performance labels Aug 5, 2024
@kgabryje kgabryje merged commit 5b5f448 into apache:master Aug 5, 2024
WanjohiWanjohi pushed a commit to IDinsight/surveystream_superset_source that referenced this pull request Aug 6, 2024
nyohasstium pushed a commit to Webgains/superset that referenced this pull request Jan 2, 2025
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 5.0.0 First shipped in 5.0.0 labels Jul 29, 2025
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 change:frontend Requires changing the frontend dashboard:performance Related to Dashboard performance packages size/S 🚢 5.0.0 First shipped in 5.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants