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

CMCL-0000: add isDelayed to some fields #939

Merged
merged 4 commits into from Mar 8, 2024

Conversation

glabute
Copy link
Collaborator

@glabute glabute commented Feb 23, 2024

Purpose of this PR

Typing values in certain text fields can be confusing because validation kicks in as you're typing and changes the value unintuitively. Solution is to wait for Enter or focus loss before validating.

Added this property to the UX of some fields:

  • Lens FOV
  • Composition ranges (PositionComposer, RotationComposer)
  • Axis Value/Center/Range

If later we find more fields that need this, we can fix in a similar manner.

Testing status

  • Added an automated test
  • Passed all automated tests
  • Manually tested

@codecov-commenter
Copy link

codecov-commenter commented Feb 23, 2024

Codecov Report

Attention: Patch coverage is 0% with 31 lines in your changes are missing coverage. Please review.

Project coverage is 26.65%. Comparing base (efbafd4) to head (7af6427).
Report is 2 commits behind head on main.

❗ Current head 7af6427 differs from pull request most recent head fb3140e. Consider uploading reports for the commit fb3140e to get more accurate results

Files Patch % Lines
...tor/PropertyDrawers/DelayedVectorPropertyDrawer.cs 0.00% 16 Missing ⚠️
...or/PropertyDrawers/Vector2AsRangePropertyDrawer.cs 0.00% 7 Missing ⚠️
.../Editor/PropertyDrawers/InputAxisPropertyDrawer.cs 0.00% 6 Missing ⚠️
...itor/PropertyDrawers/LensSettingsPropertyDrawer.cs 0.00% 2 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #939      +/-   ##
==========================================
- Coverage   26.67%   26.65%   -0.03%     
==========================================
  Files         246      247       +1     
  Lines       27573    27598      +25     
==========================================
  Hits         7356     7356              
- Misses      20217    20242      +25     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@unity-cla-assistant
Copy link

unity-cla-assistant commented Mar 8, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Collaborator

@AntoineCharton AntoineCharton left a comment

Choose a reason for hiding this comment

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

That's such a great idea!!!

@glabute glabute merged commit 25ec749 into main Mar 8, 2024
2 of 9 checks passed
@glabute glabute deleted the dev/add-is-delayed-to-some-fields branch March 8, 2024 19:06
glabute added a commit that referenced this pull request Mar 11, 2024
* Add missing length check to 3rdPersonFollow

* CMCL-1551: add missing empty check when overriding a blend stack (#930)

* add missing empty check

* Update CHANGELOG.md

* Better filtering for vcam Navel Gazing warning (#927)

* Revert "Update CinemachineThirdPersonFollow.cs"

This reverts commit c15efbe.

* Update CMWaveform.compute

* Update CMWaveform.compute

* Update README.md

* another tweak - binding modes this time

* Revert "another tweak - binding modes this time"

This reverts commit 91a0b6c.

* Fix typo in Editor min req version (#936)

* CMCL-0000: FreeLookOnSphericalSurface sample is improved (#935)

* FreeLookOnSphericalSurface sample is improved, adding a moving surface and second camera.

* forgot to commit

* tewaking blend hints

* binding mode tweaks

* Cleanup, tweaking

* cosmetic

* bugfix in AddCustomBlendable

* deprecate RangeSliderAttribute (#944)

* Add some missing null checks in shot editor to handle missing scripts

* CMCL-0000: add isDelayed to some fields (#939)

* add isDelayed to some fields

* Fix outdated tooltip, add "Custom" label to SensorSize presets dropdown

* Update LensSettings.cs

* statedrivencamera bugfix for minactivationtime, add CancelWait (#938)

* CMCL-1565: Deoccluder improvements, and add CinemachineShotQualityEvaluator (#899)

* Add CinemachineDecollider

* Added Cinemachine Terran Decollider

* Update RuntimeUtility.cs

* Fix OrbitalFollow inappropriate vertical damping

* Update CinemachineDecollider.cs

* small fixes

* Add CinemachineShotQualityEvaluator

* Add deoccluder Resolve towards follow target option

* Terrain Decollider improvements

* Deoccluder evaluates shot quality only when evaluation is enabled

* Add doc and editor for shot quality evaluator

* Remove TerrainDecollider

* Add terrain functionality to Decollider

* Remove decollider (to another PR)

* Update CinemachineShotQualityEvaluator.md

* Update TableOfContents.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Remove ResolveTowardsFollowTarget

* Update CHANGELOG.md

* Update CinemachineOrbitalFollow.cs

* Update CinemachineOrbitalFollow.cs

* Update CinemachineDeoccluder.cs

* Add a comment

* CMCL-0000: Fix OrbitalFollow inappropriate vertical damping (#942)

* Fix OrbitalFollow inappropriate vertical damping

* small fixes

* Revert "small fixes"

This reverts commit 7d32f6a.

* new strategy

* Setting isDelayed was causing some exceptions on domain reload

* Add another missing isDelayed

* Axis recentering happens independently on axes (#937)

---------

Co-authored-by: Gregory Labute <gregoryl@unity3d.com>
Co-authored-by: Sébastien Duverne <55094336+sebastienduverne@users.noreply.github.com>
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.

None yet

4 participants