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

Schedule Workflows Count and View All link #1709

Merged
merged 5 commits into from
Oct 26, 2023
Merged

Conversation

Alex-Tideman
Copy link
Contributor

@Alex-Tideman Alex-Tideman commented Oct 26, 2023

Description & motivation 💭

It is really helpful to not only show the last 5 runs of a schedule, but the count of all workflows from the schedule and a link to view all runs on the Workflow list page.

This adds the workflow counts on the Schedule view page if that capability is enabled, as well as a link to view all workflows of that schedule with a predefined link.

This PR also fixes the 1 Workflows pluralization to 1 Workflow in both the Workflows list page and here.

Screenshots (if applicable) 📸

Screen Shot 2023-10-26 at 9 15 27 AM

Design Considerations 🎨

Testing 🧪

How was this tested 👻

  • Manual testing
  • E2E tests added
  • Unit tests added

Steps for others to test: 🚶🏽‍♂️🚶🏽‍♀️

Checklists

Draft Checklist

Merge Checklist

Issue(s) closed

Docs

Any docs updates needed?

@vercel
Copy link

vercel bot commented Oct 26, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
holocene ⬜️ Ignored (Inspect) Visit Preview Oct 26, 2023 3:32pm

Copy link
Contributor

@rossedfort rossedfort left a comment

Choose a reason for hiding this comment

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

Looks good just a couple small suggestions

src/lib/components/schedule/schedule-recent-runs.svelte Outdated Show resolved Hide resolved
src/lib/pages/schedule-view.svelte Outdated Show resolved Hide resolved
@Alex-Tideman Alex-Tideman merged commit de62ec1 into main Oct 26, 2023
9 checks passed
@Alex-Tideman Alex-Tideman deleted the schedules-counts branch October 26, 2023 15:40
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