Skip to content

SG-43627 Fix empty space gap on the details panel#143

Merged
carlos-villavicencio-adsk merged 1 commit into
ticket/SG-43626_collapse_details_bugfrom
ticket/SG-43627_fix_details_whitespace
Jun 10, 2026
Merged

SG-43627 Fix empty space gap on the details panel#143
carlos-villavicencio-adsk merged 1 commit into
ticket/SG-43626_collapse_details_bugfrom
ticket/SG-43627_fix_details_whitespace

Conversation

@carlos-villavicencio-adsk

Copy link
Copy Markdown
Contributor

Base branch: #142

Empty gap below versions list - history_view had a hardcoded minimumHeight: 350 in the UI file, forcing it to always occupy 350px regardless of content. Removed this constraint and switched the size policy to Preferred so the existing dynamic sizing code (_patch_history_view_sizing / _update_history_view_height) could actually take effect. _update_history_view_height was also updated to call setMaximumHeight directly rather than relying on updateGeometry alone, which Qt treats as advisory.

The change only affects the .ui file, but the rest of the files are generated by build resources script.

@chenm1adsk chenm1adsk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Lgtm! but please remember resolve the failing checks :)

@carlos-villavicencio-adsk carlos-villavicencio-adsk merged commit 80fcf57 into ticket/SG-43626_collapse_details_bug Jun 10, 2026
12 of 25 checks passed
@carlos-villavicencio-adsk carlos-villavicencio-adsk deleted the ticket/SG-43627_fix_details_whitespace branch June 10, 2026 18:40
carlos-villavicencio-adsk added a commit that referenced this pull request Jun 10, 2026
* Fix bug when details panel collapses/expands

* SG-43627 Fix empty space gap on the details panel (#143)
carlos-villavicencio-adsk added a commit that referenced this pull request Jun 10, 2026
* Migrate `BuildAssetDialog` and `BuildTemplateDialog` classes

* Migrate template helpers

* Code review feedback

* Update setting name

* Change MEDM to FlowAM in comments

* Replace MEDM in log messages

* SG-43626 Fix bug when details panel collapses/expands (#142)

* Fix bug when details panel collapses/expands

* SG-43627 Fix empty space gap on the details panel (#143)
carlos-villavicencio-adsk added a commit that referenced this pull request Jun 10, 2026
* Migrate config hooks

* Add type annotations

* Wrap `get_am_base_obj` into the loader action manager

* Wraps constant

* SG-43460 [Part4] Build dialogs and template utils (#140)

* Migrate `BuildAssetDialog` and `BuildTemplateDialog` classes

* Migrate template helpers

* Code review feedback

* Update setting name

* Change MEDM to FlowAM in comments

* Replace MEDM in log messages

* SG-43626 Fix bug when details panel collapses/expands (#142)

* Fix bug when details panel collapses/expands

* SG-43627 Fix empty space gap on the details panel (#143)
carlos-villavicencio-adsk added a commit that referenced this pull request Jun 10, 2026
* Migration of the MEDM resources

* Migration of MEDM core logic

* Fix thumbnail display on version history

* Tentative wrap-up

* Format

* Fix CI: add missing fw

* Update Azure pipelines additional_repositories

* Revert framework additions for CI

* Comment framework for CI

* Test CI green

* Add remaining types

* Fix types

* Code review feedback

* Move  `DRAFT_VERSION_IDENTIFIER`  to constants

* SG-43458 [Part3] Config Hooks (#139)

* Migrate config hooks

* Add type annotations

* Wrap `get_am_base_obj` into the loader action manager

* Wraps constant

* SG-43460 [Part4] Build dialogs and template utils (#140)

* Migrate `BuildAssetDialog` and `BuildTemplateDialog` classes

* Migrate template helpers

* Code review feedback

* Update setting name

* Change MEDM to FlowAM in comments

* Replace MEDM in log messages

* SG-43626 Fix bug when details panel collapses/expands (#142)

* Fix bug when details panel collapses/expands

* SG-43627 Fix empty space gap on the details panel (#143)
carlos-villavicencio-adsk added a commit that referenced this pull request Jul 8, 2026
* Add MEDM abstractions and utilities

* Apply black

* Apply black - pre-commit version

* Add remaining types

* DRY

* SG-43457 [Part2] Migration of MEDM main logic and resources (#138)

* Migration of the MEDM resources

* Migration of MEDM core logic

* Fix thumbnail display on version history

* Tentative wrap-up

* Format

* Fix CI: add missing fw

* Update Azure pipelines additional_repositories

* Revert framework additions for CI

* Comment framework for CI

* Test CI green

* Add remaining types

* Fix types

* Code review feedback

* Move  `DRAFT_VERSION_IDENTIFIER`  to constants

* SG-43458 [Part3] Config Hooks (#139)

* Migrate config hooks

* Add type annotations

* Wrap `get_am_base_obj` into the loader action manager

* Wraps constant

* SG-43460 [Part4] Build dialogs and template utils (#140)

* Migrate `BuildAssetDialog` and `BuildTemplateDialog` classes

* Migrate template helpers

* Code review feedback

* Update setting name

* Change MEDM to FlowAM in comments

* Replace MEDM in log messages

* SG-43626 Fix bug when details panel collapses/expands (#142)

* Fix bug when details panel collapses/expands

* SG-43627 Fix empty space gap on the details panel (#143)

* SG-43677 Fix hooks to support multiple kwargs (#144)

* SG-43459 Migrate Build scene/template workflows (#145)

* Remove framework dependency from dialogs classes

* Migrate build asset/template workflows

* Remove more references

* Use sandbox functions

* Update references on models

* Migrate thumbnail utilities

* Use more sandbox functions

* Finish migrating framework-floam references

* Update references from sgtk.flowam.create

* Remove framework loading

* Rename fucntion to get FlowAMActions instance

* Rename `am_base_obj` to `flowam_actions`

* Latest Updates

* Finish clean-up

* Update imports

* Tested reference link and download workflows

* Finished testing build scene, open, reference, discard.

* Tested create template workflow

* Add tk_core_ref value for testing

* Format

* Fix fixture

* remove migrated methods

* Rename `medm` directory to `flowam`

* Removed `enable_flowam` setting

* Get rid of `FlowAMActions` dependency injection and use app level module

* Update core new definitions

* Fix format

* Handle error

* Remove dead code

* Update references, rename variables

* Fix discard draft logic

* Format

* Update reference sequence

* Improved `CreateReferenceError`

* CR fixes

* Fix method signature

* Import flowam module just to be safe

* Add codecov.yml file

* Exclude ui files from codecov

* Fix paths

* Add more files

* Add hosts validationo

* feat: [SG-43419] Launch publisher via engine command with single_file_mode support (#147)

Replace direct app lookup + non-existent _set_context() call with the established engine command callback pattern. Grab the publisher app from the matched command's properties to call show_dialog() directly, passing single_file_mode=True when the action is a Flow AM republish ("publish"), so the dialog restricts users to dropping or browsing a single file.

* Try to add support to older cores

* Fix format

* Update conditionals

* Point CI to tk-core master

* Remove config dependency for entity mapping (#148)

* Remove config dependency for entity mapping

* Code review feedback

* Actions reorg

* Update workfile actions

* Format!

---------

Co-authored-by: Ming Chen <[email protected]>
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.

2 participants