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

feat(frontend): add support for GFM and fix max-width issue #4057

Merged
merged 2 commits into from
Jul 10, 2024

Conversation

fatonramadani
Copy link
Contributor

@fatonramadani fatonramadani commented Jul 10, 2024

🚀 This description was created by Ellipsis for commit ebded30

Summary:

Added support for GitHub Flavored Markdown, fixed max-width issue, and removed GithubFlavoredMarkdownEnabled configuration option in Markdown component.

Key points:

  • Updated svelte-exmarkdown dependency in frontend/package.json to ^3.0.5.
  • Imported gfmPlugin from svelte-exmarkdown/gfm in frontend/src/lib/components/apps/components/display/AppMarkdown.svelte.
  • Modified Markdown component in AppMarkdown.svelte to use gfmPlugin.
  • Added max-w-full class to Markdown container in AppMarkdown.svelte to fix max-width issue.
  • Removed GithubFlavoredMarkdownEnabled configuration option from MarkdownComponent in frontend/src/lib/components/apps/editor/component/components.ts.

Generated with ❤️ by ellipsis.dev

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

👍 Looks good to me! Reviewed everything up to cc2ed04 in 36 seconds

More details
  • Looked at 67 lines of code in 3 files
  • Skipped 1 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. frontend/src/lib/components/apps/components/display/AppMarkdown.svelte:91
  • Draft comment:
    The PR lacks a description and comments explaining the introduction of GitHub Flavored Markdown support and the reasoning behind these changes. It's important to document the intent and context behind significant modifications to help reviewers understand the changes and ensure they align with the project's goals.
  • Reason this comment was not posted:
    Confidence changes required: 33%
    The PR introduces support for GitHub Flavored Markdown (GFM) in the AppMarkdown.svelte component by conditionally adding the gfmPlugin based on the GithubFlavoredMarkdownEnabled configuration. However, the PR description and comments are empty, which doesn't provide context or reasoning behind the changes, especially the introduction of GFM support. This is important for understanding the intent and ensuring that the changes align with project goals or user needs.

Workflow ID: wflow_62UkKqF6NYVhkQ9N


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

Copy link

cloudflare-workers-and-pages bot commented Jul 10, 2024

Deploying windmill with  Cloudflare Pages  Cloudflare Pages

Latest commit: ebded30
Status: ✅  Deploy successful!
Preview URL: https://72d5a781.windmill.pages.dev
Branch Preview URL: https://fr-improve-markdown-componen.windmill.pages.dev

View logs

@rubenfiszel rubenfiszel merged commit 133a278 into main Jul 10, 2024
3 checks passed
@rubenfiszel rubenfiszel deleted the fr/improve-markdown-component branch July 10, 2024 17:06
@github-actions github-actions bot locked and limited conversation to collaborators Jul 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants