Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AIP-38 Better markdown rendering #45459

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

pierrejeambrun
Copy link
Member

Only the last commit is relevant. Depends on #45434

This fixes the markdown rendering. Due to the ChakraUI CSS reset (good practice), native elements have no styling. We need to remap html tags to Chakra components in the markdown renderer. Example of the css reset, those are correctly h1, ul, li tags, but no style are applied (CSS reset):
Screenshot 2025-01-07 at 11 18 25

Before:

Screenshot 2025-01-07 at 11 17 04
Screenshot 2025-01-07 at 11 17 23
Screenshot 2025-01-07 at 11 17 34

After:

Screenshot 2025-01-07 at 11 15 44
Screenshot 2025-01-07 at 11 16 03
Screenshot 2025-01-07 at 11 16 29

@pierrejeambrun pierrejeambrun added the AIP-38 Modern Web Application label Jan 7, 2025
@pierrejeambrun pierrejeambrun added this to the Airflow 3.0.0 milestone Jan 7, 2025
@pierrejeambrun pierrejeambrun self-assigned this Jan 7, 2025
@boring-cyborg boring-cyborg bot added the area:UI Related to UI/UX. For Frontend Developers. label Jan 7, 2025
@pierrejeambrun pierrejeambrun force-pushed the fix-markdown-rendering branch from 58590e8 to 9ede3be Compare January 8, 2025 15:53
@bbovenzi bbovenzi merged commit 3fc7322 into apache:main Jan 8, 2025
35 checks passed
@bbovenzi bbovenzi deleted the fix-markdown-rendering branch January 8, 2025 16:13
dstandish pushed a commit to astronomer/airflow that referenced this pull request Jan 8, 2025
agupta01 pushed a commit to agupta01/airflow that referenced this pull request Jan 13, 2025
HariGS-DB pushed a commit to HariGS-DB/airflow that referenced this pull request Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AIP-38 Modern Web Application area:UI Related to UI/UX. For Frontend Developers.
Projects
Development

Successfully merging this pull request may close these issues.

2 participants