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

refresh current page after toggle/run job is used #1026

Merged
merged 1 commit into from
Nov 16, 2021

Conversation

fopina
Copy link
Contributor

@fopina fopina commented Nov 10, 2021

IMO, this allows a much nicer UX.

if I'm looking at show page of a job and click run, most of the time I'd like to continue in that page.
If I do want to go back to jobs list, it's just one click after the refresh. With the current redirect, the opposite use case does not take one single click but instead typing job name again (assuming decent list of jobs) and opening it.

Not sure about the toggle button, but I guess it'd make sense to do the same.

For the edit button it'd be great to do the same but I've been unable to properly get job id into a redirect for JobEdit/EditForm

Copy link
Member

@vcastellm vcastellm left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@vcastellm vcastellm merged commit d92b419 into distribworks:master Nov 16, 2021
@fopina fopina deleted the patch-3 branch January 22, 2023 22:44
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