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

[DT-153] Display a canceled badge for pending activities that aren't able to run #1032

Merged

Conversation

laurakwhit
Copy link
Contributor

What was changed

Screenshot 2023-01-09 at 11 41 31 AM

Why?

Lets users know that pending activities aren't running any more.

Checklist

  1. Closes: DT-153

  2. How was this tested:

  • Verify the pending activities table on a workflow is showing up as expected (including on different screen sizes)
  • Verify the amount badge shows up correctly for tabs on the workflow detail page
  • Verify the canceled icons and warning color for the amount badge show up if a workflow is Timed Out, Terminated or Canceled and there are pending activities
  1. Any docs updates needed? n/a

rossedfort and others added 23 commits December 16, 2022 10:18
* standardize toast position at bottom right of screen

* deprecate notifications in favor of toasts

* fix broken imports

* fix tests

* move toast store
* signal workflow

* base64 encode payload

* add JSON editor component using codemirror

* format

* rm unused dep

* format

* add cy test, refresh wf after signal

* allow signal workflow to be toggled on/off

* add signalEnabled to workflow-run-layout

* rm await tick()

* fix input required indicator

* move codemirror theme definitions to their own file
rename JSON-editor to json-editor

* rename json-editor for real

* add assertion to make sure modal closes

* give json editor a max height and trap scroll

* reset inputs on modal close
* Add api-pagination to event-history. Need to fix onPageChange vs. onPageSizeChange which causes double fetch

* More fixes/refactoring

* Get arrows right, refactor

* more refactoring

* Remove imports

* Add keyboard shortcuts

* WIP: update pagination store

* WIP: pagination store

* More WIP:

* WIP: more work

* Finally fix pagination with cached items. Remove nextIndex

* more stuff. need to fix reset logic

* Remove initialItem from api-pagination, update reste

* Key on category/refresh/sort to reload event summary

* Hide bottom controls if no items

* Move arrow key shortcuts out of api-pagination

* Refactor, update unit tests. Need to add more, use Set

* Add some color

* More unit tests

* Update failing unit tests

* Remove unused service call, need to figure out Cypress tests

* Remove unused imports

* Fix all type errors, refactor import routes to work

* Fix heartbeat css

* Fix lint errors, export perPageSize

* Add shortcut modal

* Reorder keyboard shortcuts

* Use const

* Add dateFilterValue helper function with tests

* Make all the types better for event-summary-row/details...

* More helper functions with tests

* Add jklh keyboard shortcuts

* Add supportsReverseOrder logic and fix all the cypress tests

* More refactoring, move onFetch to a derived store
* [skip actions] first pass at automating package

* update bump input

* don't package, only bump version

* skip commit hooks

* [skip actions] fix string interpolation

* [skip actions] make a script for creating release

* fix github actions for publishing to npm

* rm unused scripts

* fix env vars

* fix publish package

* use package.json version instead of tags
* svelte-migrate: renamed files

* Complete initial migration to Sveltekit 1.0.0

* Bump to 1.0.1 of sveltekit

* Fix mock for app

* Update exports

* Add sveltejs/package

* Remove _ from holocene component names so they are added to package

* Upgrade histoire and vercel-adapter

* Refactor based on PR comments, remove commented out code, add type to single line imports

* Add app version config to histoire

* fix vite public path for histoire builds

* Fix error type

* Remove pollInterval in histoire

* Add global var for histoire

Co-authored-by: Laura Whitaker <laura.whitaker@temporal.io>
Co-authored-by: Ross Edfort <rossedfort@gmail.com>
…nitiated (#1007)

* Remove workflowExecution from label in event details

* Get run id for workflow link on StartChildWorkflowExecutionInitiated event

* Refactor to util and add unit tests

* Remove child workflow execution link on StartChildWorkflowExecutionInitiated event
This builds the current UI code into Temporal CLI to run tests against.
* no ssr for login page

* fix ssr disable

* move login and signing Load fn to the layout
move ssr disable to the layout
* Don't try to decode a null payload

* Fix equality check

Co-authored-by: Steve Kinney <hello@stevekinney.net>

* Internal commit for Vercel

Co-authored-by: Steve Kinney <hello@stevekinney.net>
* Add some docs for manually running e2e tests.
* Add some scripts to make it easier for manual running.
@laurakwhit laurakwhit requested a review from a team as a code owner January 9, 2023 18:55
@laurakwhit laurakwhit requested review from GraceGardner and removed request for a team January 9, 2023 18:55
@vercel
Copy link

vercel bot commented Jan 9, 2023

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

Name Status Preview Comments Updated
holocene ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 9, 2023 at 11:15PM (UTC)
ui ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 9, 2023 at 11:15PM (UTC)

@laurakwhit laurakwhit requested review from Alex-Tideman and rossedfort and removed request for GraceGardner January 9, 2023 18:56
* Add back No Items slot and update api-pagination to refetch on pageSize change

* Bump beta tag

* Remove unused import

* Add defaultPageSize prop, cleanup

* Add defaults for defaultPageOption, add unit tests
* Use /holocene instead of  if in holocene to fix imports of package

* Fix lint

* Remove all  aliases

* Remove rsync code and use svelte-package
@@ -1,4 +1,5 @@
<script lang="ts">
import Badge from '$holocene/badge.svelte';
Copy link
Contributor

Choose a reason for hiding this comment

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

Might have to change this import to $lib/holocene/badge.svelte according to @Alex-Tideman's PR: #1033

@cypress
Copy link

cypress bot commented Jan 9, 2023



Test summary

93 0 0 0


Run details

Project Temporal UI
Status Passed
Commit d2bfeeca76 ℹ️
Started Jan 9, 2023 11:15 PM
Ended Jan 9, 2023 11:21 PM
Duration 05:08 💡
OS Linux Ubuntu - 22.04
Browser Chrome 108

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

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.

7 participants