Skip to content

feat(gui): Add Markdown Support for Descriptions - #3716

Closed
colinthebomb1 wants to merge 4 commits into
apache:mainfrom
colinthebomb1:colin-add-markdown-description
Closed

colinthebomb1 wants to merge 4 commits into
apache:mainfrom
colinthebomb1:colin-add-markdown-description

Conversation

@colinthebomb1

@colinthebomb1 colinthebomb1 commented Sep 4, 2025 •

Copy link
Copy Markdown
Contributor

Purpose

This PR creates and integrates a new markdown-description component that improves dataset/workflow descriptions to support markdown and gives access to a markdown editor. It is easily extensible to future tabs (ex. ML Models)

Changes

  • Created a new markdownDescriptionComponent that Renders markdown descriptions with proper formatting instead of raw text
  • Provides an integrated markdown editor using angular-markdown-editor for authorized users
  • Shows clean, stripped text in truncated preview and shows fully rendered when clicked.
  • Integrated the component into workflow and datasets
  • Added proper permission checks so edit functionality only appears for authorized users

Demo:

2025-09-04.16-13-39.mp4

User with edit access:
Screenshot (281)
Screenshot (282)

User without edit access:
Screenshot (285)

Integration into workflow/dataset:
Screenshot (283)
Screenshot (284)

@colinthebomb1 colinthebomb1 changed the title feat(gui) feat(gui) Add Markdown Support for Descriptions Sep 4, 2025
@colinthebomb1 colinthebomb1 changed the title feat(gui) Add Markdown Support for Descriptions feat(gui): Add Markdown Support for Descriptions Sep 4, 2025
@chenlica

chenlica commented Sep 6, 2025

Copy link
Copy Markdown
Contributor

@bobbai00 Please review this PR. It needs special attention as it's the first major PR of @colinthebomb1. Please do not merge without my approval.

@colinthebomb1

Copy link
Copy Markdown
Contributor Author

@bobbai00, Could you review this PR or pass it to someone else to review? Thank you.

@bobbai00

bobbai00 commented Oct 6, 2025

Copy link
Copy Markdown
Contributor

As @aglinxinyuan is more familiar with this piece of code, can @aglinxinyuan review it?

@bobbai00
bobbai00 requested a review from aglinxinyuan October 6, 2025 16:48

@aglinxinyuan aglinxinyuan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This PR is too large. Please separate this into Two PRs. One for adding markdown editor without any component using it. The other for adding it to workflow and dataset dashboard.

@github-actions github-actions Bot added dependencies Pull requests that update a dependency file frontend Changes related to the frontend GUI labels Oct 11, 2025
@aglinxinyuan

Copy link
Copy Markdown
Contributor

Finished in #4209

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file frontend Changes related to the frontend GUI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants