Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflow Browser #4360

Merged
merged 18 commits into from
Mar 31, 2025
Merged

Workflow Browser #4360

merged 18 commits into from
Mar 31, 2025

Conversation

nl0
Copy link
Member

@nl0 nl0 commented Mar 19, 2025

A dedicated space for workflows

Screenshot 2025-03-28 at 13 20 26 Screenshot 2025-03-28 at 13 20 53

Checklist

  • configurable visibility?
  • Changelog entry (skip if change is not significant to end users, e.g. docs only)

Copy link

codecov bot commented Mar 19, 2025

Codecov Report

Attention: Patch coverage is 8.00000% with 184 lines in your changes missing coverage. Please review.

Project coverage is 38.83%. Comparing base (ac4d63d) to head (e5785b5).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
catalog/app/containers/Bucket/Workflows/List.tsx 0.00% 52 Missing and 1 partial ⚠️
catalog/app/containers/Bucket/Workflows/index.tsx 0.00% 45 Missing and 5 partials ⚠️
catalog/app/containers/Bucket/Workflows/Detail.tsx 0.00% 48 Missing and 1 partial ⚠️
catalog/app/containers/Bucket/Workflows/Layout.tsx 0.00% 12 Missing ⚠️
catalog/app/containers/Bucket/Workflows/search.ts 0.00% 6 Missing ⚠️
catalog/app/containers/Search/model.ts 28.57% 5 Missing ⚠️
catalog/app/constants/routes.ts 50.00% 2 Missing ⚠️
catalog/app/containers/Bucket/BucketNav.tsx 0.00% 2 Missing ⚠️
...et/Workflows/gql/WorkflowPackageCount.generated.ts 0.00% 2 Missing ⚠️
...Bucket/Workflows/gql/WorkflowPackages.generated.ts 0.00% 2 Missing ⚠️
... and 1 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4360      +/-   ##
==========================================
- Coverage   39.02%   38.83%   -0.19%     
==========================================
  Files         786      793       +7     
  Lines       34791    34977     +186     
  Branches     5505     5544      +39     
==========================================
+ Hits        13576    13583       +7     
- Misses      20032    20204     +172     
- Partials     1183     1190       +7     
Flag Coverage Δ
api-python 91.41% <ø> (ø)
catalog 17.84% <8.00%> (-0.11%) ⬇️
lambda 91.53% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@nl0 nl0 changed the title Workflows tab Workflow Browser Mar 25, 2025
@nl0 nl0 marked this pull request as ready for review March 25, 2025 10:59
@nl0 nl0 requested review from fiskus and drernie March 25, 2025 10:59
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

Added a comprehensive workflow browser feature to the catalog UI, enabling users to explore and manage workflows within buckets.

  • Added new routes /b/:bucket/workflows and /b/:bucket/workflows/:slug in catalog/app/constants/routes.ts for workflow navigation
  • Implemented responsive workflow list view with grid layout and package count indicators in catalog/app/containers/Bucket/Workflows/List.tsx
  • Added workflow detail view showing metadata, schema links and associated packages in catalog/app/containers/Bucket/Workflows/Detail.tsx
  • Added GraphQL queries WorkflowPackageCount and WorkflowPackages for fetching workflow-related package data
  • Integrated workflow browser into bucket navigation with a dedicated "Workflows" tab in BucketNav.tsx

16 file(s) reviewed, 15 comment(s)
Edit PR Review Bot Settings | Greptile

fiskus
fiskus previously approved these changes Mar 25, 2025
Copy link
Member

@fiskus fiskus left a comment

Choose a reason for hiding this comment

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

I like, how this feature makes separate sections of the Quilt linked together, and the app feels more holistic.

It looks like workflow page should have the same UI blocks (packages) as Packages tab:

  • that way same concepts (packages) have same UI representation
  • grid stretches awkwardly when there is a long meta string

Copy link
Member

@drernie drernie left a comment

Choose a reason for hiding this comment

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

The only hard request is to make this configurable via the usual Catalog UI configuration file. My current assumption is that this will be on by default, though that may change based on feedback at BioIT World.

nl0 added 2 commits March 28, 2025 13:01
* master:
  Bump amazonlinux from 2023.6.20250303.0 to 2023.6.20250317.2 in /catalog (#4364)
  Bump amazonlinux from 2023.6.20250303.0 to 2023.6.20250317.2 in /s3-proxy (#4365)
  OpenLanding cleaning up (#4361)
@nl0 nl0 requested review from drernie and fiskus March 28, 2025 12:22
@nl0
Copy link
Member Author

nl0 commented Mar 28, 2025

added configurable visibility and adjusted the ui to use outlined surfaces instead of elevated ones

@nl0
Copy link
Member Author

nl0 commented Mar 28, 2025

It looks like workflow page should have the same UI blocks (packages) as Packages tab:

* that way same concepts (packages) have same UI representation

they are mostly the same, the only difference being absence of the sparkline and the metadata,
so these are more like abbreviated versions.
the adjusted search ui uses the same representation btw, and i'm going to update the package listing page
to have the cards look similar (sometime soonish).

* grid stretches awkwardly when there is a long meta string

well, somewhat, yeah, but it doesn't seem that bad

@fiskus
Copy link
Member

fiskus commented Mar 31, 2025

It's difficult to read text with font-weight: 300. I suggest to use 400

@nl0
Copy link
Member Author

nl0 commented Mar 31, 2025

It's difficult to read text with font-weight: 300. I suggest to use 400

idk, seems quite readable to me. 400 is regular weight, and i specifically wanted to make it lighter

@nl0 nl0 dismissed drernie’s stale review March 31, 2025 10:41

addressed

@nl0 nl0 added this pull request to the merge queue Mar 31, 2025
Merged via the queue into master with commit 45886f7 Mar 31, 2025
35 of 37 checks passed
@nl0 nl0 deleted the workflows-tab branch March 31, 2025 10:47
nl0 added a commit that referenced this pull request Mar 31, 2025
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.

3 participants