Repository navigation
feat: add Markdown editor for dataset/workflow descriptions - #4212
Merged
aicam merged 7 commits intoFeb 18, 2026
Merged
Conversation
aicam
self-requested a review
February 17, 2026 22:01
aicam
enabled auto-merge (squash)
February 18, 2026 22:16
aicam
pushed a commit
that referenced
this pull request
Mar 14, 2026
### What changes were proposed in this PR?
<!--
Please clarify what changes you are proposing. The purpose of this
section
is to outline the changes. Here are some tips for you:
1. If you propose a new API, clarify the use case for a new API.
2. If you fix a bug, you can clarify why it is a bug.
3. If it is a refactoring, clarify what has been changed.
3. It would be helpful to include a before-and-after comparison using
screenshots or GIFs.
4. Please consider writing useful notes for better and faster reviews.
-->
This PR added a new button to the workspace UI, and it allows users to
edit workflow description in workspace. It calls the
`MarkdownDescriptionComponent` introduced in #4212.
### Any related issues, documentation, discussions?
<!--
Please use this section to link other resources if not mentioned
already.
1. If this PR fixes an issue, please include `Fixes #1234`, `Resolves
#1234`
or `Closes #1234`. If it is only related, simply mention the issue
number.
2. If there is design documentation, please add the link.
3. If there is a discussion in the mailing list, please add the link.
-->
Fixes #4209
### Screenshot of implementation
<img width="400" height="150" alt="image"
src="https://github.com/user-attachments/assets/3c4a7532-7781-40f2-b9df-d3b53faaf25b"
/>
### How was this PR tested?
<!--
If tests were added, say they were added here. Or simply mention that if
the PR
is tested with existing test cases. Make sure to include/update test
cases that
check the changes thoroughly including negative and positive cases if
possible.
If it was tested in a way different from regular unit tests, please
clarify how
you tested step by step, ideally copy and paste-able, so that other
reviewers can
test and check, and descendants can verify in the future. If tests were
not added,
please describe why they were not added and/or why it was difficult to
add.
-->
Manually tested.
### Was this PR authored or co-authored using generative AI tooling?
<!--
If generative AI tooling has been used in the process of authoring this
PR,
please include the phrase: 'Generated-by: ' followed by the name of the
tool
and its version. If no, write 'No'.
Please refer to the [ASF Generative Tooling
Guidance](https://www.apache.org/legal/generative-tooling.html) for
details.
-->
Generated-by: ChatGPT 5.2
ELin2025
pushed a commit
to ELin2025/texera
that referenced
this pull request
Apr 13, 2026
### What changes were proposed in this PR?
<!--
Please clarify what changes you are proposing. The purpose of this
section
is to outline the changes. Here are some tips for you:
1. If you propose a new API, clarify the use case for a new API.
2. If you fix a bug, you can clarify why it is a bug.
3. If it is a refactoring, clarify what has been changed.
3. It would be helpful to include a before-and-after comparison using
screenshots or GIFs.
4. Please consider writing useful notes for better and faster reviews.
-->
This PR added a new button to the workspace UI, and it allows users to
edit workflow description in workspace. It calls the
`MarkdownDescriptionComponent` introduced in apache#4212.
### Any related issues, documentation, discussions?
<!--
Please use this section to link other resources if not mentioned
already.
1. If this PR fixes an issue, please include `Fixes apache#1234`, `Resolves
apache#1234`
or `Closes apache#1234`. If it is only related, simply mention the issue
number.
2. If there is design documentation, please add the link.
3. If there is a discussion in the mailing list, please add the link.
-->
Fixes apache#4209
### Screenshot of implementation
<img width="400" height="150" alt="image"
src="https://github.com/user-attachments/assets/3c4a7532-7781-40f2-b9df-d3b53faaf25b"
/>
### How was this PR tested?
<!--
If tests were added, say they were added here. Or simply mention that if
the PR
is tested with existing test cases. Make sure to include/update test
cases that
check the changes thoroughly including negative and positive cases if
possible.
If it was tested in a way different from regular unit tests, please
clarify how
you tested step by step, ideally copy and paste-able, so that other
reviewers can
test and check, and descendants can verify in the future. If tests were
not added,
please describe why they were not added and/or why it was difficult to
add.
-->
Manually tested.
### Was this PR authored or co-authored using generative AI tooling?
<!--
If generative AI tooling has been used in the process of authoring this
PR,
please include the phrase: 'Generated-by: ' followed by the name of the
tool
and its version. If no, write 'No'.
Please refer to the [ASF Generative Tooling
Guidance](https://www.apache.org/legal/generative-tooling.html) for
details.
-->
Generated-by: ChatGPT 5.2
SarahAsad23
pushed a commit
to madisonmlin/texera
that referenced
this pull request
May 20, 2026
) <!-- Thanks for sending a pull request (PR)! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: [Contributing to Texera](https://github.com/apache/texera/blob/main/CONTRIBUTING.md) 2. Ensure you have added or run the appropriate tests for your PR 3. If the PR is work in progress, mark it a draft on GitHub. 4. Please write your PR title to summarize what this PR proposes, we are following Conventional Commits style for PR titles as well. 5. Be sure to keep the PR description updated to reflect all changes. --> ### What changes were proposed in this PR? <!-- Please clarify what changes you are proposing. The purpose of this section is to outline the changes. Here are some tips for you: 1. If you propose a new API, clarify the use case for a new API. 2. If you fix a bug, you can clarify why it is a bug. 3. If it is a refactoring, clarify what has been changed. 3. It would be helpful to include a before-and-after comparison using screenshots or GIFs. 4. Please consider writing useful notes for better and faster reviews. --> This PR adds Markdown support for dataset/workflow descriptions, replacing plain text rendering with Markdown preview and editing. **Changes:** - Add `MarkdownDescriptionComponent` with two modes: - Preview mode: Renders description as Markdown using existing ngx-markdown (MarkdownService) - Edit mode: Native `<textarea nz-input>` with an ng-zorro toolbar for inserting common Markdown syntax (bold, italic, heading, list, table, link, image, code block, etc.) and a side-by-side live preview - Update `ListItemComponent` to open the Markdown editor in a modal for description editing - Change `description` column from `VARCHAR` to `TEXT` for dataset and workflow tables to support longer Markdown content Editor: <img width="1389" height="720" alt="editor-description" src="https://github.com/user-attachments/assets/2ab66e7a-0582-43f0-b1e0-08251f828bfc" /> Dataset page: <img width="1412" height="746" alt="dataset-description" src="https://github.com/user-attachments/assets/f225702f-edd9-48b9-9ed5-bb98218a96b5" /> Workflow page: <img width="1387" height="757" alt="workflow-description" src="https://github.com/user-attachments/assets/c9a02eef-189b-4487-a786-ded982b54b75" /> ### Any related issues, documentation, discussions? <!-- Please use this section to link other resources if not mentioned already. 1. If this PR fixes an issue, please include `Fixes apache#1234`, `Resolves apache#1234` or `Closes apache#1234`. If it is only related, simply mention the issue number. 2. If there is design documentation, please add the link. 3. If there is a discussion in the mailing list, please add the link. --> Fixes apache#4209 ### How was this PR tested? <!-- If tests were added, say they were added here. Or simply mention that if the PR is tested with existing test cases. Make sure to include/update test cases that check the changes thoroughly including negative and positive cases if possible. If it was tested in a way different from regular unit tests, please clarify how you tested step by step, ideally copy and paste-able, so that other reviewers can test and check, and descendants can verify in the future. If tests were not added, please describe why they were not added and/or why it was difficult to add. --> Manually tested ### Was this PR authored or co-authored using generative AI tooling? <!-- If generative AI tooling has been used in the process of authoring this PR, please include the phrase: 'Generated-by: ' followed by the name of the tool and its version. If no, write 'No'. Please refer to the [ASF Generative Tooling Guidance](https://www.apache.org/legal/generative-tooling.html) for details. --> Generated-by: Claude Opus 4.6 --------- Signed-off-by: Xuan Gu <[email protected]>
SarahAsad23
pushed a commit
to madisonmlin/texera
that referenced
this pull request
May 20, 2026
### What changes were proposed in this PR?
<!--
Please clarify what changes you are proposing. The purpose of this
section
is to outline the changes. Here are some tips for you:
1. If you propose a new API, clarify the use case for a new API.
2. If you fix a bug, you can clarify why it is a bug.
3. If it is a refactoring, clarify what has been changed.
3. It would be helpful to include a before-and-after comparison using
screenshots or GIFs.
4. Please consider writing useful notes for better and faster reviews.
-->
This PR added a new button to the workspace UI, and it allows users to
edit workflow description in workspace. It calls the
`MarkdownDescriptionComponent` introduced in apache#4212.
### Any related issues, documentation, discussions?
<!--
Please use this section to link other resources if not mentioned
already.
1. If this PR fixes an issue, please include `Fixes apache#1234`, `Resolves
apache#1234`
or `Closes apache#1234`. If it is only related, simply mention the issue
number.
2. If there is design documentation, please add the link.
3. If there is a discussion in the mailing list, please add the link.
-->
Fixes apache#4209
### Screenshot of implementation
<img width="400" height="150" alt="image"
src="https://github.com/user-attachments/assets/3c4a7532-7781-40f2-b9df-d3b53faaf25b"
/>
### How was this PR tested?
<!--
If tests were added, say they were added here. Or simply mention that if
the PR
is tested with existing test cases. Make sure to include/update test
cases that
check the changes thoroughly including negative and positive cases if
possible.
If it was tested in a way different from regular unit tests, please
clarify how
you tested step by step, ideally copy and paste-able, so that other
reviewers can
test and check, and descendants can verify in the future. If tests were
not added,
please describe why they were not added and/or why it was difficult to
add.
-->
Manually tested.
### Was this PR authored or co-authored using generative AI tooling?
<!--
If generative AI tooling has been used in the process of authoring this
PR,
please include the phrase: 'Generated-by: ' followed by the name of the
tool
and its version. If no, write 'No'.
Please refer to the [ASF Generative Tooling
Guidance](https://www.apache.org/legal/generative-tooling.html) for
details.
-->
Generated-by: ChatGPT 5.2
yangzhang75
pushed a commit
to yangzhang75/texera
that referenced
this pull request
Jun 22, 2026
) <!-- Thanks for sending a pull request (PR)! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: [Contributing to Texera](https://github.com/apache/texera/blob/main/CONTRIBUTING.md) 2. Ensure you have added or run the appropriate tests for your PR 3. If the PR is work in progress, mark it a draft on GitHub. 4. Please write your PR title to summarize what this PR proposes, we are following Conventional Commits style for PR titles as well. 5. Be sure to keep the PR description updated to reflect all changes. --> ### What changes were proposed in this PR? <!-- Please clarify what changes you are proposing. The purpose of this section is to outline the changes. Here are some tips for you: 1. If you propose a new API, clarify the use case for a new API. 2. If you fix a bug, you can clarify why it is a bug. 3. If it is a refactoring, clarify what has been changed. 3. It would be helpful to include a before-and-after comparison using screenshots or GIFs. 4. Please consider writing useful notes for better and faster reviews. --> This PR adds Markdown support for dataset/workflow descriptions, replacing plain text rendering with Markdown preview and editing. **Changes:** - Add `MarkdownDescriptionComponent` with two modes: - Preview mode: Renders description as Markdown using existing ngx-markdown (MarkdownService) - Edit mode: Native `<textarea nz-input>` with an ng-zorro toolbar for inserting common Markdown syntax (bold, italic, heading, list, table, link, image, code block, etc.) and a side-by-side live preview - Update `ListItemComponent` to open the Markdown editor in a modal for description editing - Change `description` column from `VARCHAR` to `TEXT` for dataset and workflow tables to support longer Markdown content Editor: <img width="1389" height="720" alt="editor-description" src="https://github.com/user-attachments/assets/2ab66e7a-0582-43f0-b1e0-08251f828bfc" /> Dataset page: <img width="1412" height="746" alt="dataset-description" src="https://github.com/user-attachments/assets/f225702f-edd9-48b9-9ed5-bb98218a96b5" /> Workflow page: <img width="1387" height="757" alt="workflow-description" src="https://github.com/user-attachments/assets/c9a02eef-189b-4487-a786-ded982b54b75" /> ### Any related issues, documentation, discussions? <!-- Please use this section to link other resources if not mentioned already. 1. If this PR fixes an issue, please include `Fixes apache#1234`, `Resolves apache#1234` or `Closes apache#1234`. If it is only related, simply mention the issue number. 2. If there is design documentation, please add the link. 3. If there is a discussion in the mailing list, please add the link. --> Fixes apache#4209 ### How was this PR tested? <!-- If tests were added, say they were added here. Or simply mention that if the PR is tested with existing test cases. Make sure to include/update test cases that check the changes thoroughly including negative and positive cases if possible. If it was tested in a way different from regular unit tests, please clarify how you tested step by step, ideally copy and paste-able, so that other reviewers can test and check, and descendants can verify in the future. If tests were not added, please describe why they were not added and/or why it was difficult to add. --> Manually tested ### Was this PR authored or co-authored using generative AI tooling? <!-- If generative AI tooling has been used in the process of authoring this PR, please include the phrase: 'Generated-by: ' followed by the name of the tool and its version. If no, write 'No'. Please refer to the [ASF Generative Tooling Guidance](https://www.apache.org/legal/generative-tooling.html) for details. --> Generated-by: Claude Opus 4.6 --------- Signed-off-by: Xuan Gu <[email protected]>
yangzhang75
pushed a commit
to yangzhang75/texera
that referenced
this pull request
Jun 22, 2026
### What changes were proposed in this PR?
<!--
Please clarify what changes you are proposing. The purpose of this
section
is to outline the changes. Here are some tips for you:
1. If you propose a new API, clarify the use case for a new API.
2. If you fix a bug, you can clarify why it is a bug.
3. If it is a refactoring, clarify what has been changed.
3. It would be helpful to include a before-and-after comparison using
screenshots or GIFs.
4. Please consider writing useful notes for better and faster reviews.
-->
This PR added a new button to the workspace UI, and it allows users to
edit workflow description in workspace. It calls the
`MarkdownDescriptionComponent` introduced in apache#4212.
### Any related issues, documentation, discussions?
<!--
Please use this section to link other resources if not mentioned
already.
1. If this PR fixes an issue, please include `Fixes apache#1234`, `Resolves
apache#1234`
or `Closes apache#1234`. If it is only related, simply mention the issue
number.
2. If there is design documentation, please add the link.
3. If there is a discussion in the mailing list, please add the link.
-->
Fixes apache#4209
### Screenshot of implementation
<img width="400" height="150" alt="image"
src="https://github.com/user-attachments/assets/3c4a7532-7781-40f2-b9df-d3b53faaf25b"
/>
### How was this PR tested?
<!--
If tests were added, say they were added here. Or simply mention that if
the PR
is tested with existing test cases. Make sure to include/update test
cases that
check the changes thoroughly including negative and positive cases if
possible.
If it was tested in a way different from regular unit tests, please
clarify how
you tested step by step, ideally copy and paste-able, so that other
reviewers can
test and check, and descendants can verify in the future. If tests were
not added,
please describe why they were not added and/or why it was difficult to
add.
-->
Manually tested.
### Was this PR authored or co-authored using generative AI tooling?
<!--
If generative AI tooling has been used in the process of authoring this
PR,
please include the phrase: 'Generated-by: ' followed by the name of the
tool
and its version. If no, write 'No'.
Please refer to the [ASF Generative Tooling
Guidance](https://www.apache.org/legal/generative-tooling.html) for
details.
-->
Generated-by: ChatGPT 5.2
This was referenced Oct 25, 2026
renovate-bot
pushed a commit
to renovate-bot/apache-_-texera
that referenced
this pull request
Oct 26, 2026
### What changes were proposed in this PR? Removes the `.resource-description-edit-textarea` rule in `list-item.component.scss`. **+0/-15 lines.** There is no behaviour change. No template in the repo uses the class since the inline description textarea was replaced by the Markdown editor. | | PR | | --- | --- | | Introduced by | apache#2819 (2024-09-06) Add buttons for editing the name and description in the list item | | Usage removed by | apache#4212 (2026-02-18) feat: add Markdown editor for dataset/workflow descriptions | It has been dead for about 8 months. ### Any related issues, documentation, discussions? Closes apache#9137. ### How was this PR tested? Stylesheet-only deletion. `yarn format:ci` and `npx ng build` pass from `frontend/`. To re-check: `git grep -n "resource-description-edit-textarea" -- frontend/src` returns no hits. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Antigravity (Claude Opus 5.5)
This was referenced Nov 26, 2026
renovate-bot
pushed a commit
to renovate-bot/apache-_-texera
that referenced
this pull request
Nov 26, 2026
…9706) ### What changes were proposed in this PR? Remove code that nothing uses, or that repeats what the code next to it already does, from the workflow version service, the versions list, the workspace menu, the dashboard list item, the computing-unit picker and the image build workflow (**+42/−165 lines**). There is no behavior change. - **Version history:** `WorkflowVersionService.displayWorkflowVersions` and its only caller, `MenuComponent.onClickGetAllVersions`, which no template has bound since apache#2500 removed the button's click handler. Their two spec cases go with them. - **Version differences:** `getWorkflowsDifference` loops over a configurable list of element types that has held only `operators` since apache#1503 added it, with an ID-field map that names a type the loop never visits. It now compares operators directly. - The bracket highlighting for links of deleted operators, written twice, becomes one helper. - The versions list's two expand loops, identical but for the value they set, become one. - The unused `Element` and `WorkflowContentKeys` aliases go, and the URL constant that only the spec imported becomes file-local. - **List item:** `ListItemComponent` only ever sets `editingDescription` to false, and its template has had no `#descriptionInput` since apache#4212 replaced the inline editor. The flag, its class binding and style, and the view query go. `CardItemComponent` keeps its own, live copy. - **Computing-unit picker:** three pieces go. - An unused `ShareAccessComponent` import; its dialog left this component in apache#4331. - A doubled `userPackages` assignment. - A `skippedMessages` list that nothing fills, with the block that would print it. - **Image builds:** the AMD64 and ARM64 jobs build inside Docker, so their JDK, sbt launcher and coursier cache setup and their `JAVA_OPTS`/`JVM_OPTS` go. The JOOQ job, which does run sbt, keeps its setup. | Event | PR / Commit | | --- | --- | | Introduced by | Version history: apache#1343 (2021-09-28); version differences: apache#1503 (2022-06-07), the second bracket block apache#5285 (2026-06-05), the versions list apache#1444 (2022-02-15); list item: apache#2819 (2024-09-07); picker: apache#3508 (2025-07-07) and apache#4902 (2026-05-12); image builds: apache#4055 (2025-11-21) | | Usage removed by | Version history: apache#2500 (2024-03-24) removed the button that called it. List item: apache#4212 (2026-02-18) replaced the inline description editor. Picker import: apache#4331 (2026-04-09) moved the share dialog out. Everything else: unused since introduction. | As of 2026-11-25: - The element-type list has held a single type for over 4 years. - The version-history handler has had no caller for over two and a half years. - The image jobs have set up a JDK they never use for a year. - The list item's edit state has been unreachable for 9 months, and the picker's import has been unused for over 7 months. - The skipped-message list has stayed empty for the 6 months since it was added. ### Any related issues, documentation, discussions? Closes apache#9705. ### How was this PR tested? Ran on this branch and on `main` at `fd0e2d5338` (Windows 11; Node 24 with Yarn 4.14.1): ```bash cd frontend npx ng test --watch=false --include='**/workflow-version.service.spec.ts' --include='**/menu.component.spec.ts' --include='**/versions-list.component.spec.ts' --include='**/list-item.component.spec.ts' --include='**/computing-unit-selection.component.spec.ts' npx tsc --noEmit -p src/tsconfig.app.json npx tsc --noEmit -p src/tsconfig.spec.json npx ngc -p src/tsconfig.app.json --noEmit yarn prettier-eslint --list-different $(git diff --name-only --relative origin/main -- src) yarn eslint $(git diff --name-only --relative origin/main -- src | grep -E '\.(ts|html)$') ``` - **Frontend:** the five specs run 478 tests on this branch and 480 on `main`, all passing. The two extra on `main` are the deleted methods' own cases; every other test keeps its name and outcome. Both typechecks, the AOT compile, prettier-eslint and ESLint pass. - **Workflow:** `build-and-push-images.yml` parses, both image jobs keep their Docker steps, and only the JOOQ job sets up a JDK. The image jobs themselves run only after merge. To re-check, both commands return no hits on this branch: ```bash git grep -nwE "displayWorkflowVersions|onClickGetAllVersions|skippedMessages|ELEMENT_TYPES_IN_WORKFLOW_DIFF_CALC|ID_FILED_FOR_ELEMENTS_CONFIG" -- frontend/src git grep -nw editingDescription -- frontend/src/app/dashboard/component/user/list-item/list-item.component.ts frontend/src/app/dashboard/component/user/list-item/list-item.component.html ``` ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (Claude Opus 5.5)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this PR?
This PR adds Markdown support for dataset/workflow descriptions, replacing plain text rendering with Markdown preview and editing.
Changes:
MarkdownDescriptionComponentwith two modes:<textarea nz-input>with an ng-zorro toolbar for inserting common Markdown syntax (bold, italic, heading, list, table, link, image, code block, etc.) and a side-by-side live previewListItemComponentto open the Markdown editor in a modal for description editingdescriptioncolumn fromVARCHARtoTEXTfor dataset and workflow tables to support longer Markdown contentEditor:

Dataset page:

Workflow page:

Any related issues, documentation, discussions?
Fixes #4209
How was this PR tested?
Manually tested
Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Opus 4.6