Skip to content

feat: Pipeline Tags#1848

Open
camielvs wants to merge 1 commit intomasterfrom
02-23-feat_pipeline_tags
Open

feat: Pipeline Tags#1848
camielvs wants to merge 1 commit intomasterfrom
02-23-feat_pipeline_tags

Conversation

@camielvs
Copy link
Collaborator

@camielvs camielvs commented Feb 23, 2026

Description

Adds UX for creating, editing and removing tags on Pipelines. This is done via a new PipelineTagEditor in the context panel below the pipeline notes.

Tags can be added using the "Add Tag" button. The tag input is a free input field - users can enter any string they like in there. To encourage our users to make wise and concise choices about tag names a length limit of 20 characters has been enforced.

Once created tags will be rendered below the input section and from there can be edited by clicking on them, or removed by clicking the "x".

The list of Pipeline Tags is saved as a csv string on the component spec annotations. This is used on the pipeline list to display the first three tags within the pipeline row. More tags can be view by clicking "+n" if there are more tags to see.

Related Issue and Pull requests

Progresses https://github.com/Shopify/oasis-frontend/issues/472

Type of Change

  • New feature

Checklist

  • I have tested this does not break current pipelines / runs functionality
  • I have tested the changes on staging

Screenshots (if applicable)

image.png

image.png

image.png

image.png

Test Instructions

  • Edit a pipeline
  • In context panel you should see a section below "Notes" for "Tags"

Confirm you are able to:

  • Add a tag
  • Edit a tag
  • Remove a tag

Once you have added some tags go to the homepage and open the pipeline list. Confirm that:

  • The tags on your pipeline are shown
  • Maximum three tags are shown
  • A button is available to show more, if applicable
  • If more tags are shown they wrap onto new lines and you are able to collapse them again

Additional Comments

I am not attached to the specific UX of adding & editing tags in-place, or the chosen render location of tags in the pipeline row (in the centre - between Time & Run details).

Copy link
Collaborator Author

camielvs commented Feb 23, 2026

@camielvs camielvs force-pushed the 02-23-feat_pipeline_tags branch from a42d996 to edba5bb Compare February 23, 2026 21:37
@camielvs camielvs marked this pull request as ready for review February 23, 2026 22:01
@camielvs camielvs requested a review from a team as a code owner February 23, 2026 22:01
@camielvs camielvs force-pushed the 02-23-feat_pipeline_tags branch from edba5bb to 55bb986 Compare March 3, 2026 00:06
@github-actions
Copy link

github-actions bot commented Mar 3, 2026

🎩 To tophat this PR:

You can add the following URL parameter to your browser to tophat this PR:

`?tophat_location=02-23-feat_pipeline_tags/55bb986`

@camielvs camielvs requested a review from maxy-shpfy March 3, 2026 00:06
Copy link
Collaborator

Screen Recording 2026-03-04 at 7.12.12 PM.mov (uploaded via Graphite)

Idea: maybe instead of exploding the row we can show them in a Popover?

Comment on lines +32 to +35
onClick={(e) => {
e.stopPropagation();
setShowAllTags(!showAllTags);
}}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just thinking outloud. I'm not big fan of click-entire-row behavior, and then we need to implement workarounds like stopPropagation() to avoid redirect. Miss-click is very possible for small buttons


const MAX_VISIBLE_TAGS = 3;

export const TagList = ({ tags }: TagListProps) => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This file is not in react-compiler list, but uses unstable functions

Copy link
Collaborator

@maxy-shpfy maxy-shpfy left a comment

Choose a reason for hiding this comment

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

We need to fix an error on sending "unprocessable" payload to API. Enforce limits on number of tags allowed.

image.png

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants