Blender Kitsu: Add Frame Range Pop-up #128

Merged
Nick Alberelli merged 18 commits from :fix/frame-range-popup into main 2023-07-19 17:32:39 +02:00
Member

Closes: studio/blender-studio-pipeline#113

What's Changed

  • Pop up if Frame Range is incorrect
  • Pull Frame Range operator is red if there is an error
  • Pull Frame Range operator icon is changed to arrow down
  • Refactored Frame Range Calculation for Pull/Push and Load_Post_Handler
  • Add Check Frame Range Operator (to be used in studio/blender-studio-pipeline#124)

frame_range_warning

TODO

  • add some more text with more information
Closes: https://projects.blender.org/studio/blender-studio-pipeline/issues/113 ## What's Changed - Pop up if Frame Range is incorrect - Pull Frame Range operator is red if there is an error - Pull Frame Range operator icon is changed to arrow down - Refactored Frame Range Calculation for Pull/Push and Load_Post_Handler - Add Check Frame Range Operator (to be used in https://projects.blender.org/studio/blender-studio-pipeline/pulls/124) ![frame_range_warning](/attachments/4ee21a51-4475-4ce5-a348-30346970e603) ## TODO - [x] add some more text with more information
Member

Great, that should make it a lot harder to miss!

I think it's generally fine that the popup disappears when the mouse is moved off it, but it would be nice if it was larger then. Could add some more text with more information, like how the frame range changed to create a larger popup.

Great, that should make it a lot harder to miss! I think it's generally fine that the popup disappears when the mouse is moved off it, but it would be nice if it was larger then. Could add some more text with more information, like how the frame range changed to create a larger popup.
Author
Member

@SimonThommes I have updated the warning to be larger like we discussed

image

@SimonThommes I have updated the warning to be larger like we discussed ![image](/attachments/782c0c24-8fb0-4d42-a8dd-c1d4833288a7)
489 KiB
Nick Alberelli force-pushed fix/frame-range-popup from 643fce09fb to feb7660cbc 2023-07-18 22:39:05 +02:00 Compare
Member

this looks great!

this looks great!
Author
Member

One Issue I have discovered in testing is that this pop up now appears on every file. We want the pop up to appear even if there is no kitsu context present, so skipping that requirement means even a basic start-up file opens with the frame range warning.

I am looking into a way to fix this. I am thinking of filtering by directory based on the project root set in the add-on's preferences.

image

One Issue I have discovered in testing is that this pop up now appears on every file. We want the pop up to appear even if there is no kitsu context present, so skipping that requirement means even a basic start-up file opens with the frame range warning. I am looking into a way to fix this. I am thinking of filtering by directory based on the project root set in the add-on's preferences. ![image](/attachments/8d60817b-5ade-4f14-b51c-6f253c59992c)
601 KiB
Author
Member

Update:

Had a discussion with @SimonThommes about the above issue I commented. The decision is to only show this pop-up when the Kitsu context can be determined, to limit the scope of this PR.

I have resolved the comment with this commmit 64ce7254da which will only render the pop-up if the active shot is detected. This PR is ready to be merged.

Looking forward I have opened a new issue specifically for files that need a frame range warning but for some reason the Kitsu Context was not detected. studio/blender-studio-pipeline#130

Update: Had a discussion with @SimonThommes about the above issue I [commented](https://projects.blender.org/studio/blender-studio-pipeline/pulls/128#issuecomment-982752). The decision is to only show this pop-up when the Kitsu context can be determined, to limit the scope of this PR. I have resolved the comment with this commmit https://projects.blender.org/studio/blender-studio-pipeline/commit/64ce7254daa176ac8175631769be262a689b3a43 which will only render the pop-up if the active shot is detected. This PR is ready to be merged. Looking forward I have opened a new issue specifically for files that need a frame range warning but for some reason the Kitsu Context was not detected. https://projects.blender.org/studio/blender-studio-pipeline/issues/130
Nick Alberelli force-pushed fix/frame-range-popup from 64ce7254da to a106ea75c8 2023-07-19 16:33:44 +02:00 Compare
Nick Alberelli force-pushed fix/frame-range-popup from a106ea75c8 to b8fde09058 2023-07-19 17:20:39 +02:00 Compare
Nick Alberelli merged commit 8a5a8c80c1 into main 2023-07-19 17:32:39 +02:00
Nick Alberelli deleted branch fix/frame-range-popup 2023-07-19 17:32:40 +02:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: studio/blender-studio-tools#128
No description provided.