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

prevent starting of duplicate backup/restore jobs #572

Open
eug3nix opened this issue Dec 30, 2024 · 0 comments
Open

prevent starting of duplicate backup/restore jobs #572

eug3nix opened this issue Dec 30, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@eug3nix
Copy link
Collaborator

eug3nix commented Dec 30, 2024

as pgmanage user I would like freshly added backup/restore job to be highlighted so it is easier to spot that the new job has in fact created and started.

Motivation:
When there are multiple past jobs present in the jobs list and the new item is added it is not easy to spot it (even though it always appears on the top)
This may lead users to click "backup/restore" button once again, starting another extra job.
The solution is to add a css-faded highlight effect to the newly created job list item (potentially with $primaryBlue color fading to regular color within 1 sec or so)
Additionally we can temporarily disable the backup/restore button (or ignore clicks on it)

@eug3nix eug3nix added the enhancement New feature or request label Dec 30, 2024
@eug3nix eug3nix self-assigned this Dec 30, 2024
eug3nix added a commit that referenced this issue Jan 7, 2025
job options change
prevents starting duplicate backup/restore jobs
refs: #572
@eug3nix eug3nix changed the title temporary highlight of newly added backup/restore job prevent starting of duplicate backup/restore jobs Jan 7, 2025
plucik added a commit that referenced this issue Jan 8, 2025
* lock backup/restore button until job finishes or
job options change
prevents starting duplicate backup/restore jobs
refs: #572

* unlock backup/restore when last created job is deleted

---------

Co-authored-by: plucik <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant