Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Autoupdate launcher #1725

Merged
merged 6 commits into from
Jun 18, 2021
Merged

Autoupdate launcher #1725

merged 6 commits into from
Jun 18, 2021

Conversation

iLLiCiTiT
Copy link
Member

@iLLiCiTiT iLLiCiTiT commented Jun 17, 2021

Changes

  • project names are refreshed each 10 seconds
    • refreshing of projects won't reset whole model but removes not found projects and adds new projects
  • actions are refreshed each 10 seconds
  • refreshing happens only if launcher is active window to avoid repetitive calls to mongo if window is not active

How to test

Projects update

  • open launcher
  • create project (through project manager of ftrack project sync)
  • set launcher as active window
  • wait 10 seconds if project will appear in launcher

Actions update

  • open launcher
  • click of project -> asset -> task
  • remove/add applications for the project in settings (or through ftrack)
  • set launcher as active window
  • wait 10 seconds if application will show up

Would be great to test if it works on linux and mac as I'm not sure how "active window" is handled on them.

@iLLiCiTiT iLLiCiTiT added backend type: enhancement Enhancements to existing functionality labels Jun 17, 2021
@iLLiCiTiT iLLiCiTiT self-assigned this Jun 17, 2021
@iLLiCiTiT iLLiCiTiT requested a review from 64qam June 17, 2021 13:40
@64qam
Copy link
Member

64qam commented Jun 17, 2021

In Windows and Mac, all work ok. In Ubuntu, actions update also works ok, but projects update doesn't. Not sure if it is a problem of a virtual machine or code?

@jakubjezek001 jakubjezek001 requested review from jakubjezek001 and removed request for 64qam June 17, 2021 19:41
Copy link
Member

@jakubjezek001 jakubjezek001 left a comment

Choose a reason for hiding this comment

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

working as described

@iLLiCiTiT iLLiCiTiT merged commit c0194e7 into develop Jun 18, 2021
@mkolar mkolar deleted the feature/autoupdate_projects_launcher branch August 10, 2021 16:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: enhancement Enhancements to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants