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

Updated concept of "Configuration Profile" and Inspector Cleanup #483

Merged
merged 16 commits into from
Apr 1, 2020

Conversation

StephenHodgson
Copy link
Contributor

@StephenHodgson StephenHodgson commented Apr 1, 2020

XRTK - Mixed Reality Toolkit Change Request

Overview

There was some confusion about the difference between a configurations and profiles, so this rename should help clear that up.

I also updated all the profile inspectors to property utilize nameof(serializedProperty) and use a common header path so updating it to use breadcrumb later can be easier.

Breaking Changes

  • MixedRealityConfigurationProfile -> MixedRealityTookitRootProfile
  • MixedRealityToolkit.ResetConfiguration(MixedRealityConfigurationProfile profile) -> MixedRealityToolkit.ResetProfile(MixedRealityTookitRootProfile profile)
  • IMixedRealityServiceConfiguration.ConfigurationProfile -> IMixedRealityServiceConfiguration.Profile

There was some confusion about the difference between a configurations and profiles, so this rename should help clear that up
@StephenHodgson StephenHodgson added the Ready for review PR finished primary development, open for review label Apr 1, 2020
@jshowacre jshowacre changed the title Renamed the MixedRealityConfigurationProfile to MixedReaklityRootProfile Renamed the MixedRealityConfigurationProfile to MixedRealityRootProfile Apr 1, 2020
@jshowacre
Copy link
Contributor

What about MixedRealityRootProfile? Or MixedRealitySystemProfile?

@StephenHodgson StephenHodgson added In Progress PR currently still being developed and removed Ready for review PR finished primary development, open for review labels Apr 1, 2020
FejZa
FejZa previously approved these changes Apr 1, 2020
Updated all the inspectors to use RenderHeader where appropriate
@StephenHodgson StephenHodgson added Ready for review PR finished primary development, open for review and removed In Progress PR currently still being developed labels Apr 1, 2020
@StephenHodgson
Copy link
Contributor Author

Okay this Pull Request is ready

@StephenHodgson StephenHodgson changed the title Renamed the MixedRealityConfigurationProfile to MixedRealityRootProfile Updated concept of "Configuration Profile" and Inspector Cleanup Apr 1, 2020
FejZa
FejZa previously approved these changes Apr 1, 2020
Copy link
Contributor

@FejZa FejZa left a comment

Choose a reason for hiding this comment

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

Nice maintenance PR!

jshowacre
jshowacre previously approved these changes Apr 1, 2020
SimonDarksideJ
SimonDarksideJ previously approved these changes Apr 1, 2020
Copy link
Contributor

@SimonDarksideJ SimonDarksideJ left a comment

Choose a reason for hiding this comment

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

I was just about waiting for this "rename" following our conversation last night

@StephenHodgson StephenHodgson dismissed stale reviews from SimonDarksideJ and jshowacre via b37e294 April 1, 2020 17:58
@StephenHodgson
Copy link
Contributor Author

Sorry guys one last review. I had to merge in the upstream changes

Copy link
Contributor

@FejZa FejZa left a comment

Choose a reason for hiding this comment

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

If I have to review again I'll request changes.

@StephenHodgson StephenHodgson merged commit f92f366 into development Apr 1, 2020
@StephenHodgson StephenHodgson deleted the fix/cleanup branch April 1, 2020 18:44
XRTK-Build-Bot pushed a commit that referenced this pull request Apr 1, 2020
* Renamed the MixedRealityConfigurationProfile to MixedReaklityRootProfile

There was some confusion about the difference between a configurations and profiles, so this rename should help clear that up

* Update XRTK-Core/Packages/com.xrtk.core/Services/MixedRealityToolkit.cs

* Removed more references to configuration when we meant profile

* updated docs some more

* updated camera profile inspector

* updated pointer profile inspector

* Updated service provider profile inspector

* fixed configuration profile serialized field reference

* updated gesture profile inspector

* updated input system profile inspector

* Updated all the inspectors with nameof usages

Updated all the inspectors to use RenderHeader where appropriate

* removed unused using statement

* updated sdk checkout

* updated wmr checkout
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Breaking Change Ready for review PR finished primary development, open for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants