Skip to content

Conversation

colinthebomb1
Copy link
Contributor

@colinthebomb1 colinthebomb1 commented Sep 4, 2025

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
Copy link
Contributor

chenlica commented Sep 6, 2025

@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
Contributor Author

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

@bobbai00
Copy link
Contributor

bobbai00 commented Oct 6, 2025

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
Copy link
Contributor

@aglinxinyuan aglinxinyuan left a comment

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.

Signed-off-by: Xinyuan Lin <xinyual3@uci.edu>
@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
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