sshiv012 opened a new issue, #9340:
URL: https://github.com/apache/texera/issues/9340

   ### Feature Summary
   
   Operators have a name but nowhere to explain *why* they're there. Teammates 
opening a shared workflow, and AI agents editing it, have to guess what each 
step is for.
   
   Add an optional **description** to every operator: a short markdown note 
anyone can read or edit.
   
   ### Proposed Solution or Design
   
   ```
   Property panel                 Saved workflow JSON
   ┌──────────────────────┐       "operators": [{
   │ Limit                │         "operatorID": "Limit-1",
   │ Description          │         "operatorProperties": {...},
   │  Keep first 100 rows │  ───▶   "description": "Keep first 100 rows…"
   │  for the preview.    │       }]
   └──────────────────────┘
   ```
   
   | | |
   |---|---|
   | **Where it lives** | A new optional field on the operator, saved with the 
workflow. Export, import and versions include it. |
   | **Editing** | Below the operator name in the property panel. Markdown, up 
to 4000 characters, synced live to co-editors. |
   | **Execution** | Not sent to the engine; it can't change results. |
   | **Older Texera** | Workflows still load. Older versions ignore the field 
and keep it on save, so nothing is lost. |
   | **Agents** | The agent sees each description as a fenced, length-capped 
note it is told never to follow as instructions. It can set a description when 
adding or changing an operator. |
   | **Safety** | Raw HTML is shown as text. Only http, https and mailto links 
work. |
   
   Open questions:
   - Is `description` a good name, given workflows already have their own 
description?
   - Store it in the workflow content (as proposed) or in a separate place?
   
   I have a working branch with tests and screenshots ready to open as a PR.
   
   ### Affected Area
   
   Workflow UI, Other


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to