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

Indicate job start and completion #604

Merged
merged 5 commits into from
Nov 18, 2024
Merged

Conversation

MBartkowiakSTFC
Copy link
Collaborator

Description of work
Basic mechanism has been added to inform users about job start and objects appearing in other tabs.

closes #593

Fixes

  1. "RUN!" button becomes inactive after job start, and the text changes to "starting" for 3 seconds.
  2. Tabs which received new input now change the text colour and show an info icon.

To test
Run a converter. It should highlight the running job tab on start, and trajectory tab on job completion.
Run an analysis. It should highlight the running job tab on start, and plot creator tab on job completion.
Plot the results. Both creating a new plot and sending data to the plot should highlight the plot holder tab.
Check that the tab text and icon get reset correctly when clicked on.

Copy link
Collaborator

@ChiCheng45 ChiCheng45 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 one thing, I noticed that if you hit "run!" the button goes to the "starting..." state and stops the user from pressing the button. If you quickly change the settings the "starting..." text goes black and you can click it to run another job. Can you update it so that if the user does change the settings then the text changes to "run!" immediately?

@MBartkowiakSTFC
Copy link
Collaborator Author

I changed the button behaviour. It should not allow the reactivation now, as long as the button still says "Starting". Also, if you change parameters to invalid ones, it will actually check if execution should be allowed after the 3 seconds wait.

Copy link
Collaborator

@ChiCheng45 ChiCheng45 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.

@ChiCheng45 ChiCheng45 merged commit 6272779 into protos Nov 18, 2024
28 checks passed
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.

[ENHANCEMENT] Visual feedback while running the file converter
2 participants