Proposal: Report a Public Workflow #6242
yangzhang75
started this conversation in
Ideas
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Proposal: Report a Public Workflow
What it does
Texera lets any user make a workflow public (
workflow.is_public), after which it shows up on the public Hub where everyone can browse, view, like, and clone it. Today there is no way for a viewer to flag a public workflow that contains inappropriate content — offensive text in operator/comment fields, misleading or harmful pipelines, spam, copyrighted data, etc. The only recourse is to email a maintainer out of band, and admins have no in-product action to take a bad workflow down.This proposal adds a lightweight "Report" flow: any logged-in user can report a public workflow with a reason, and admins get a moderation queue where they can review reports and, if warranted, unpublish it.
flowchart LR A[User sees a public<br/>workflow on the Hub] -->|clicks Report,<br/>picks a reason| B[(Report saved)] B --> C{Admin reviews<br/>the report} C -->|looks fine| D[Dismiss] C -->|inappropriate| E[Unpublish<br/>removed from Hub]Use case: A public workflow's operator labels contain harassing language toward a named person. A viewer clicks Report → "Harassment / offensive content". An admin sees it in the queue, confirms, and unpublishes it with one click — the workflow is no longer discoverable on the Hub, without deleting the author's private copy.
How it works
Reporting (any logged-in user)
Moderation (admins only)
Implementation sketch
There is no report/moderation concept in Texera today, so this is greenfield. At a high level it needs: a new table to store reports, a user-facing endpoint to submit a report, admin-only endpoints to list and resolve them (mirroring the existing admin resources), and a bit of frontend — a report dialog on the Hub plus a Reports tab in the admin dashboard. "Unpublish" reuses the workflow's existing public/private toggle, so no new take-down machinery is required. Exact schema and API can be worked out in the PR.
Open questions
Beta Was this translation helpful? Give feedback.
All reactions