这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@kolharsam
Copy link
Contributor

resolves #5161

Description

The pending events on Cron Triggers and One-off Scheduled Events can now be cancelled using the cancel button situated in the newly added actions column.

Changelog

  • CHANGELOG.md is updated with user-facing content relevant to this PR. If no changelog is required, then add the no-changelog-required label.

Affected components

  • Console

@kolharsam kolharsam added the c/console Related to console label Jun 30, 2020
@kolharsam kolharsam self-assigned this Jun 30, 2020
Copy link
Contributor Author

@kolharsam kolharsam left a comment

Choose a reason for hiding this comment

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

@beerose could you also give it a quick view and provide some comments?

@kolharsam kolharsam changed the title console: add button to cancel one-off scheduled events and cron-trigger events (closes #5161) console: add button to cancel one-off scheduled events and cron-trigger events (close #5161) Jun 30, 2020
@hasura-bot
Copy link
Contributor

Review app for commit 834f9e5 deployed to Heroku: https://hge-ci-pull-5236.herokuapp.com
Docker image for server: hasura/graphql-engine:pull5236-834f9e56

@kolharsam kolharsam marked this pull request as ready for review June 30, 2020 16:02
@kolharsam kolharsam requested review from a team as code owners June 30, 2020 16:02
Copy link
Contributor Author

@kolharsam kolharsam left a comment

Choose a reason for hiding this comment

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

Just the one small change. But otherwise, the code looks fine.

@hasura-bot
Copy link
Contributor

Review app for commit f68e15b deployed to Heroku: https://hge-ci-pull-5236.herokuapp.com
Docker image for server: hasura/graphql-engine:pull5236-f68e15ba

@hasura-bot
Copy link
Contributor

Review app for commit 5abe9f0 deployed to Heroku: https://hge-ci-pull-5236.herokuapp.com
Docker image for server: hasura/graphql-engine:pull5236-5abe9f03

@hasura-bot
Copy link
Contributor

Review app for commit df232c9 deployed to Heroku: https://hge-ci-pull-5236.herokuapp.com
Docker image for server: hasura/graphql-engine:pull5236-df232c93

Copy link
Contributor

@beerose beerose left a comment

Choose a reason for hiding this comment

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

Leaving some laconic comments, as it was discussed in more details over a call.

Key points:

  1. Don't pass dispatch to every component — pass single actions.
  2. Don't mix Redux with UI components.
  3. Use requestAction.

Copy link
Contributor

@tirumaraiselvan tirumaraiselvan left a comment

Choose a reason for hiding this comment

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

changelog

@rikinsk
Copy link
Member

rikinsk commented Jul 1, 2020

/heroku deploy

@hasura-bot
Copy link
Contributor

Review app for commit 5d57723 deployed to Heroku: https://hge-ci-pull-5236.herokuapp.com
Docker image for server: hasura/graphql-engine:pull5236-5d577235

Copy link
Member

@rikinsk rikinsk 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 to me overall. Just a small update to the confirmation msgs would be nice:

For cron events: This will delete the "<triggerName>" cron event "<event_id>" scheduled for "<time>"
For one-off events: This will delete the one-off event "<event_id>" scheduled for "<time>"

@rikinsk rikinsk removed their assignment Jul 1, 2020
@kolharsam kolharsam requested a review from rikinsk July 1, 2020 12:34
@hasura-bot
Copy link
Contributor

Review app for commit 6b3bdce deployed to Heroku: https://hge-ci-pull-5236.herokuapp.com
Docker image for server: hasura/graphql-engine:pull5236-6b3bdce0

@hasura-bot
Copy link
Contributor

Review app for commit 6b3a58a deployed to Heroku: https://hge-ci-pull-5236.herokuapp.com
Docker image for server: hasura/graphql-engine:pull5236-6b3a58ae

Copy link
Contributor

@beerose beerose left a comment

Choose a reason for hiding this comment

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

Console changes.

@hasura-bot
Copy link
Contributor

Review app for commit 2efb867 deployed to Heroku: https://hge-ci-pull-5236.herokuapp.com
Docker image for server: hasura/graphql-engine:pull5236-2efb8678

@beerose beerose assigned rikinsk and unassigned kolharsam and beerose Jul 1, 2020
@hasura-bot
Copy link
Contributor

Review app for commit 595fb44 deployed to Heroku: https://hge-ci-pull-5236.herokuapp.com
Docker image for server: hasura/graphql-engine:pull5236-595fb445

@hasura-bot
Copy link
Contributor

Review app for commit 5015fac deployed to Heroku: https://hge-ci-pull-5236.herokuapp.com
Docker image for server: hasura/graphql-engine:pull5236-5015fac2

@rikinsk rikinsk merged commit 6cd9eb2 into hasura:master Jul 2, 2020
@hasura-bot
Copy link
Contributor

Review app https://hge-ci-pull-5236.herokuapp.com is deleted

stevefan1999-personal pushed a commit to stevefan1999-personal/graphql-engine that referenced this pull request Sep 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c/console Related to console

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[v1.3.0-beta.2] Cannot cancel pending one-off scheduled event

5 participants