Skip to content

Conversation

@emma-sg
Copy link
Member

@emma-sg emma-sg commented Jul 31, 2025

Closes #2785

To be rebased after #2783 is merged, or merged into it

Changes

  • Adds notices to workflow list and workflow detail when a workflow's latest crawl is publicly viewable
  • Updates <btrix-badge> component to pass through class prop into internal element (allows for deeper customization)
  • Fixes header ordering issue on smaller viewports on workflow detail page

Manual testing

  1. Deploy Shareable workflows (API + frontend) #2783's branch
  2. Create or update a workflow (either via the API or directly in mongo) with shareable set to true
  3. View the workflow in the workflow list and workflow detail pages. Ensure that the "public" notice appears as expected

Screenshots

Page Image/video
Workflow Detail Screenshot 2025-07-31 at 5 06 13 PM
Workflow List Screenshot 2025-07-31 at 5 06 42 PM
Workflow List (hovered) Screenshot 2025-07-31 at 5 06 48 PM

@emma-sg emma-sg requested review from SuaYoo and ikreymer July 31, 2025 21:07
@emma-sg emma-sg changed the title pass class into btrix-badge internals so it can be customized Add "shareable" notices to workflow list & detail Jul 31, 2025
@emma-sg emma-sg linked an issue Aug 6, 2025 that may be closed by this pull request
@emma-sg emma-sg requested a review from SuaYoo August 14, 2025 20:51
@emma-sg
Copy link
Member Author

emma-sg commented Aug 15, 2025

@tw4l do you have a preference between merging this into the backend pr or keeping them separate?

@tw4l
Copy link
Member

tw4l commented Aug 18, 2025

@tw4l do you have a preference between merging this into the backend pr or keeping them separate?

Fine by me either way!

@ikreymer
Copy link
Member

ikreymer commented Aug 18, 2025

We can merge it into one branch to make it easier to test

@emma-sg emma-sg merged commit 83ced38 into issue-2762-shareable-workflow Aug 18, 2025
27 checks passed
@emma-sg emma-sg deleted the issue-2762-shareable-workflows--frontend branch August 18, 2025 17:53
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.

[Task]: Frontend work for shareable workflows

5 participants