Commit graph

29 commits

Author SHA1 Message Date
Petr Kalis
523f023033
SiteSync: implemented in Ayon Loader (#5962)
* Added new SiteSync model

Used to get information from SiteSync module to enhance Loader UI.

* Added new SiteSync method to controller

Other models will be using these to get information pertaining SiteSync

* Added missed commit

* Implemented collection of SiteSync info

* Added AvailabilityDelegate

Shows how many representations are present locally and remotely in Loader summary page.

* Added fields to store progress info

* Fix HiddenAttr to carry value

* Refactored to internal variable

Changes made after discussion

* Implemented ActionItems for upload/download/remove

Replaced old Launcher approach, now it is not necessary after refactor of Ayon launcher.

* Update openpype/tools/ayon_loader/abstract.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>

* Hound

* Refactor better retrieval of icon

* Refactor better readability

* Refactor renamed delegate

* Refactor better retrieval of icons

* Refactor better readability

* Refactor removed unneeded explicit refresh

* Hound

* Hound

* Hound

* Fix used wrong type

* Update openpype/tools/ayon_loader/ui/products_delegates.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>

* Refactor renamed variable name

* Refactor formatting

* Added progress for representations

* cache version availability

* cache representations sync status

* changed representations count logic and moved it to products model

* site sync enabled is cached

* active and remote site names are cached

* small tweaks in site sync model

* change methods called by controller

* hide site sync columns if site sync not enabled

* use string conversion before iteration

* smal formatting changes

* updated abstract class with abstract methods

* renamed site sync model variable

* fixed method name

* fix used method name

* rename '_sitesync_addon' to '_site_sync_addon'

* fix remote site name cache

* small formatting changes in delegate

* modify site sync delegate to be more dynamic

* fix delegate painting

* do not handle repre progress in products model

* Add comma back

* simplify delegate code

---------

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
Co-authored-by: Jakub Trllo <jakub.trllo@gmail.com>
2023-12-04 11:27:43 +01:00
Jakub Trllo
71014fca0b hide multivalue widget by default 2023-10-26 13:34:18 +02:00
Jakub Trllo
63e983412c removed unused import 2023-10-19 11:10:19 +02:00
Jakub Trllo
e3a8050ced show multiselection label back on lost focus 2023-10-19 11:10:11 +02:00
Jakub Trllo
cd11029665 do not trigger value change signal when hiding multiselection label 2023-10-19 11:09:00 +02:00
Jakub Trllo
6ed7ebebce 'NumberAttrWidget' shows 'Multiselection' label on multiselection 2023-10-18 16:32:29 +02:00
iLLiCiTiT
5b4bdeb625 avoid unnecessary negative checks 2023-08-30 23:14:54 +02:00
iLLiCiTiT
8cf4c9c651 move multiselection multivalue handling to separated method 2023-08-30 23:03:45 +02:00
iLLiCiTiT
2d04efba93 implemented multuselection EnumAttrDef widget 2023-08-30 22:10:14 +02:00
Jakub Trllo
5ed243e36e
Publisher: Fix multiselection value (#5505)
* fix change of value on multiselection

* fix create - publish page change
2023-08-25 17:08:34 +02:00
Jakub Trllo
a73d19b612
Publisher: Show instances in report page (#4915)
* renamed 'validations_widget.py' to 'report_page.py'

* Implemented base logic and widgets for logs

* make one report page

* added missing imports

* added missing constants

* move and rename 'VerticallScrollArea' to 'VerticalScrollArea'

* Validation erro item have id

* use 'ReportPageWidget' in window

* change 'bg-button-hover' key to 'bg-buttons-hover' in style colors

* move publish actions widgets

* Refactored how validation error title is showed

* remove item id from validation error item but add id to group items

* remove margins from actions widget

* shrink publish frame on finished publishing

* fix dash line draw

* add missing styles

* fix dash line in thumbnail widget

* added crash widget and changed layout a little

* added infor overlay message

* export and copy report happens in main window

* fix docstrings

* added per plugin filtering for validation errors

* added implementation of 'FlowLayout'

* actions buttons are in flow layout

* fix actions order

* implemented expanding text edit widget

* expand button has some signals and properties

* description and details are separated widgets

* fix typo

* added constans to '__all__'

* parse icon def is a function

* change layout of widgets

* fix log filtering

* added state icon to instances

* fix pyside6 issues

* implemented 'ClassicExpandBtnLabel' with arrow images

* modified details separator

* added some spacing to layouts

* fix syle of description inputs and progress color

* removed unused import

* add 'is_validation_error' to errored result

* validation error has different icon in logs view

* added plugin name to ValueError if happens

* spacer before detail inputs moved out of detals widget

* fix actions visible in craash report

* ignore pyblish base classes

* filter base plugins in discovery

* use 'is' comparison instead of '__eq__'

* fix action error handling

* Fix handling of 'None' values in comparison

* formatting fix

* Report instance card have same margins as in create mode

* publish instances are grouped by family

* log messages are rstripped
2023-05-23 18:16:05 +02:00
Jakub Trllo
38347ece5a
Publisher: Small style changes (#4894)
* border hover has color without alpha

* changed border radius to 0.2em

* removed border from scroll area

* variant hint button has 0.5em width

* inputs in attribute definitions have smaller padding

* label is shown only to value inputs and added tooltips

* change spacing for attribute befinitions

* align labels to right

* implemented 'ComboBox' which ignores wheel events and has styled delegate

* PixmalLabel has minimum sizeHint

* cards are smaller

* renamed 'Options' to 'Context'

* implemented active state changes in card view

* set object name of main window to "PublishWindow"

* plugin don't have to pass 'title' to an error

* fix PySide6 support for custom keysequences

* check for exact match for all bindings

* added validation of exact match for save shortcut
2023-04-25 10:37:49 +02:00
Jakub Trllo
1b18483f7b
use right type for signal emit (#4584) 2023-03-07 16:41:35 +01:00
Jakub Trllo
b7078d77e2 label of attribute definition also have tooltip 2023-02-09 20:27:36 +01:00
Jakub Trllo
9cc8f1818c use new widgets in attribute definitions 2023-02-09 20:27:15 +01:00
Jakub Trllo
d48b73ed61 fix typo 'AbtractAttrDef' to 'AbstractAttrDef' 2023-01-27 16:28:00 +01:00
Jakub Trllo
5a4852703b Merge branch 'develop' into release/3.15.x 2023-01-18 12:10:47 +01:00
Jakub Trllo
9772a6dcc5 enum widget is using attr def items correctly 2023-01-09 15:16:39 +01:00
Jakub Trllo
b5b8119f49 use class attributes from classes 2022-12-21 15:54:46 +01:00
Jakub Trllo
88939540f7 use qtpy in attribute definitions 2022-12-21 13:52:28 +01:00
Petr Kalis
b7afb84d6c Fix - join needs list 2022-12-13 17:28:20 +01:00
Jakub Trllo
29cc9bdce6 Fix line length 2022-11-21 19:39:10 +01:00
Jakub Trllo
068ec3f898 enhanced attribute definitons widget 2022-11-21 19:17:09 +01:00
Jakub Trllo
fe392aa5db implemented hidden widget 2022-11-21 19:16:41 +01:00
Jakub Trllo
20ea1c8212 ignore case sensitivity of extension in files widget 2022-11-14 18:27:11 +01:00
Jakub Trllo
563447e1a4 add stretch to dialog 2022-11-01 14:36:31 +01:00
Jakub Trllo
81a9f26459 Merge branch 'develop' into feature/attribute_defs_dialog 2022-11-01 14:11:03 +01:00
Jakub Trllo
c78b7d1d0c added dialog for attribute defs 2022-09-07 13:47:24 +02:00
Jakub Trllo
797d1ea59d copied attribute defs widgets into 'openpype.tools' 2022-09-07 13:47:02 +02:00